openocd/doc
Paul Fertser 207237b920 tcl: introduce init_target_events and use it for gdb flashing events
This introduces a new global Tcl procedure that is run just after
init_targets and before init_boards.

Its default behaviour is to assign gdb-flash-erase-start and
gdb-flash-write-end to reasonable defaults.

The rationale for doing "reset init" before gdb erases and flashes
memory is that all flash drivers are written in assumption that they
can safely be used only after chip reset (plus chip-specific
configuration in the init handler if any). The need to use "reset
halt" after flashing is because a user expects running firmware after
loading to be the same as running it from power-on-reset.

Change-Id: I9ddc4047611904ca4ca779b73376d2739611948a
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2062
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-03-29 08:40:03 +00:00
..
manual Some minor URL fixes and typo fixes, no functional changes. 2014-01-11 08:13:53 +00:00
INSTALL.txt Remove annoying end-of-line whitespace from doc/* files. 2009-09-21 18:52:45 +00:00
Makefile.am doc: add "manual/" directory in its entirety to dist 2014-03-29 07:55:30 +00:00
fdl.texi - update openocd.texi to fdl 1.2 2008-02-29 18:10:46 +00:00
openocd.1 docs: update incorrect urls 2013-03-28 23:24:40 +00:00
openocd.texi tcl: introduce init_target_events and use it for gdb flashing events 2014-03-29 08:40:03 +00:00