openocd/src/target
oharboe 815c3b3533 - "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
2008-02-25 07:32:52 +00:00
..
event - added -c option that will execute an openocd command 2008-02-24 20:10:48 +00:00
target - added -c option that will execute an openocd command 2008-02-24 20:10:48 +00:00
xscale - split fileio handling into fileio part and image handling 2007-05-29 11:23:42 +00:00
Makefile.am - added -c option that will execute an openocd command 2008-02-24 20:10:48 +00:00
algorithm.c - added patch for new flash functionality like: 2007-12-18 21:20:28 +00:00
algorithm.h - prepare OpenOCD for branching, created ./trunk/ 2006-06-02 10:36:31 +00:00
arm7_9_common.c - fixed target->type->poll() return value 2008-02-24 18:52:45 +00:00
arm7_9_common.h - fixed target->type->poll() return value 2008-02-24 18:52:45 +00:00
arm7tdmi.c - fixed target->type->poll() return value 2008-02-24 18:52:45 +00:00
arm7tdmi.h - fix incorrect parsing of whitespace in command.c (thanks to Magnus Lundin) 2007-01-22 14:47:00 +00:00
arm9tdmi.c - added patch "remove error handler as planned" 2008-01-20 13:52:06 +00:00
arm9tdmi.h - add support for Marvell Feroceon (thanks to Nicolas Pitre for this patch) 2008-02-21 11:43:04 +00:00
arm720t.c - fixed target->type->poll() return value 2008-02-24 18:52:45 +00:00
arm720t.h - added mingw elf patches from Vincent Palatin 2007-06-16 14:45:55 +00:00
arm920t.c - fixed target->type->poll() return value 2008-02-24 18:52:45 +00:00
arm920t.h - endianess fixes everywhere but in the flash code. flashing might still be broken on big-endian targets and/or hosts 2006-08-31 12:41:49 +00:00
arm926ejs.c - added "xscale fast_memory_access" which speeds up memory 2008-02-24 21:54:09 +00:00
arm926ejs.h - fixed target->type->poll() return value 2008-02-24 18:52:45 +00:00
arm966e.c - add verify_image command 2007-10-22 08:44:34 +00:00
arm966e.h - cleaned up str7, str9 and stm32 flash drivers 2007-10-08 13:12:39 +00:00
arm_disassembler.c - ST STM32x cortex support added 2007-06-24 15:04:07 +00:00
arm_disassembler.h - added manpage for OpenOCD (thanks to Uwe Hermann) 2007-06-14 09:47:00 +00:00
arm_jtag.c - added patch "remove error handler as planned" 2008-01-20 13:52:06 +00:00
arm_jtag.h - added patch "remove error handler as planned" 2008-01-20 13:52:06 +00:00
arm_simulator.c - debug handler file not closed - (thanks to oyvind harboe for the patch) 2008-01-11 20:38:43 +00:00
arm_simulator.h - fixed endianness helper macros (thanks to obilix and wiml for finding and fixing this bug) 2007-06-28 10:32:58 +00:00
armv4_5.c - fixed target->type->poll() return value 2008-02-24 18:52:45 +00:00
armv4_5.h - fixed target->type->poll() return value 2008-02-24 18:52:45 +00:00
armv4_5_cache.c - Added support for native MinGW builds (thanks to Spencer Oliver and Michael Fischer) - you still need to install GiveIO (not part of OpenOCD) 2006-07-17 14:13:27 +00:00
armv4_5_cache.h - endianess fixes everywhere but in the flash code. flashing might still be broken on big-endian targets and/or hosts 2006-08-31 12:41:49 +00:00
armv4_5_mmu.c - Fixed bug in pathmove for XScale 2008-02-19 19:26:17 +00:00
armv4_5_mmu.h - endianess fixes everywhere but in the flash code. flashing might still be broken on big-endian targets and/or hosts 2006-08-31 12:41:49 +00:00
armv7m.c Michael Bruck spotted an omission in svn 322 2008-02-25 06:44:46 +00:00
armv7m.h Michael Bruck spotted an omission in svn 322 2008-02-25 06:44:46 +00:00
breakpoints.c - flash autoerase <on|off> cmd added, default is off - flash banks are calculated and erased prior to write (flash write_image only) 2007-10-01 08:31:30 +00:00
breakpoints.h - prepare OpenOCD for branching, created ./trunk/ 2006-06-02 10:36:31 +00:00
cortex_m3.c - fixed target->type->poll() return value 2008-02-24 18:52:45 +00:00
cortex_m3.h - fixed target->type->poll() return value 2008-02-24 18:52:45 +00:00
cortex_swjdp.c - add support for cortex_m3 target_request debugmsgs 2008-01-17 12:45:06 +00:00
cortex_swjdp.h - ST STM32x cortex support added 2007-06-24 15:04:07 +00:00
embeddedice.c - added gdb flash fixes patch 2008-01-07 17:11:11 +00:00
embeddedice.h - added support for setting JTAG frequency on ASIX PRESTO (thanks to Pavel Chromy) 2007-08-25 09:59:42 +00:00
etb.c - added gdb flash fixes patch 2008-01-07 17:11:11 +00:00
etb.h - split fileio handling into fileio part and image handling 2007-05-29 11:23:42 +00:00
etm.c - added gdb flash fixes patch 2008-01-07 17:11:11 +00:00
etm.h - update jtag_speed setting when changing it during runtime with a FT2232 based interface 2007-08-16 13:12:48 +00:00
etm_dummy.c - added support for Asix Presto JTAG interface (thanks to Pavel Chromy and Asix for making this addition possible) 2007-07-15 11:19:33 +00:00
etm_dummy.h - added support for Asix Presto JTAG interface (thanks to Pavel Chromy and Asix for making this addition possible) 2007-07-15 11:19:33 +00:00
feroceon.c - fix for feroceon CP15 register access (thanks to Niolas Pitre for this patch) 2008-02-23 16:30:13 +00:00
image.c fixed incorrect elf segment size - Thanks Øyvind Harboe 2008-01-25 18:09:21 +00:00
image.h - add verify_image command 2007-10-22 08:44:34 +00:00
oocd_trace.c - renamed M5960 USB JTAG to "flyswatter" 2007-08-10 19:44:06 +00:00
oocd_trace.h - calculate cycles since last executed instruction when cycle-accurate tracing is enabled 2007-07-31 10:07:32 +00:00
register.c - str9x flash support (Thanks to Spencer Oliver) 2006-09-28 10:41:43 +00:00
register.h - str9x flash support (Thanks to Spencer Oliver) 2006-09-28 10:41:43 +00:00
target.c - fixed target->type->poll() return value 2008-02-24 18:52:45 +00:00
target.h - "flash write_binary" is now "flash write_bank" to clarify the focus of the 2008-02-25 07:32:52 +00:00
target_request.c - add support for cortex_m3 target_request debugmsgs 2008-01-17 12:45:06 +00:00
target_request.h - renamed M5960 USB JTAG to "flyswatter" 2007-08-10 19:44:06 +00:00
trace.c - added patch "remove error handler as planned" 2008-01-20 13:52:06 +00:00
trace.h - add verify_image command 2007-10-22 08:44:34 +00:00
xscale.c - added "xscale fast_memory_access" which speeds up memory 2008-02-24 21:54:09 +00:00
xscale.h - added "xscale fast_memory_access" which speeds up memory 2008-02-24 21:54:09 +00:00