-
- Downloads
- "flash write_binary" is now "flash write_bank" to clarify the focus of the command and reduce confusion with "flash write_image". - retired deprecated "flash erase" & "flash write". - added flash_driver_protect/write/erase() that are wafer thin frontend functions to low level driver functions. They implement checks that were inconsistently handled by the drivers, e.g. check for target halted was done in a spotty fashion. - use return ERROR_COMMAND_SYNTAX_ERROR to print out syntax of command instead of having lots of inlined replicas of the command line syntax(some of which were wrong). - use logging instead of dubious translation of error values to human understandable explanations of why things failed. The lower levels log the precise reason and the higher levels can ammend context as the error propagates up the call stack. - simplified flash API slightly with logging instead of allocating and returning information that the caller then has to translate into print statements. git-svn-id: svn://svn.berlios.de/openocd/trunk@337 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Showing
- src/flash/at91sam7.c 976 additions, 981 deletionssrc/flash/at91sam7.c
- src/flash/cfi.c 4 additions, 9 deletionssrc/flash/cfi.c
- src/flash/flash.c 945 additions, 1071 deletionssrc/flash/flash.c
- src/flash/flash.h 97 additions, 86 deletionssrc/flash/flash.h
- src/flash/lpc2000.c 689 additions, 699 deletionssrc/flash/lpc2000.c
- src/flash/lpc3180_nand_controller.c 915 additions, 916 deletionssrc/flash/lpc3180_nand_controller.c
- src/flash/nand.c 1514 additions, 1517 deletionssrc/flash/nand.c
- src/flash/stellaris.c 935 additions, 945 deletionssrc/flash/stellaris.c
- src/flash/stm32x.c 988 additions, 998 deletionssrc/flash/stm32x.c
- src/flash/str7x.c 804 additions, 814 deletionssrc/flash/str7x.c
- src/flash/str9x.c 624 additions, 635 deletionssrc/flash/str9x.c
- src/flash/str9xpec.c 1348 additions, 1349 deletionssrc/flash/str9xpec.c
- src/helper/interpreter.c 243 additions, 243 deletionssrc/helper/interpreter.c
- src/server/gdb_server.c 2107 additions, 2114 deletionssrc/server/gdb_server.c
- src/target/target.h 3 additions, 0 deletionssrc/target/target.h
Loading
Please register or sign in to comment