openocd/src
rodrigo_l_rosa 6461f7669a dsp5680xx - fix - flashing algorithm check
now the flash algorithm running on the 568013 checks the buffer_empty bit (instead of the command_finished bit) before trying to write a new word to the flash mem.
this should speed up the flashing procedure. since it is open loop, this change may reduce the risk of failure. flashing will fail if JTAG speed is such that the flash module cannot keep up.

also, the USTAT register is only read once, as suggested in the flow chart provided by freescale (per. ref. manual @ 6-11)

the last step of the flow chart, exiting after commands are complete, is not implemented.
the algorithm will stay waiting for more data. it is up to the PC side to *not* send more data.

Change-Id: I47fe4b50de7da85f80868f5986a89a7e2152616c
Signed-off-by: Rodrigo L. Rosa <rodrigorosa.lg@gmail.com>
Reviewed-on: http://openocd.zylin.com/219
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
2011-11-24 23:24:28 +00:00
..
flash flash: cleanup stm32f2x loader 2011-11-18 16:57:23 +00:00
helper Fix "Evaluate 'script' in the global scope" 2011-10-24 17:40:52 +00:00
jtag usbprog: fix shadowed declaration warning 2011-11-18 22:13:08 +00:00
pld Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - trivial fixes 2011-06-04 09:35:13 +02:00
rtos ecos: add missing error propagation 2011-11-07 16:14:47 +00:00
server gdb: Potential rounding error in reg_packet_size gdb_get_registers_packet 2011-11-17 23:10:59 +00:00
svf svf: fix warnings 2011-11-10 15:43:30 +00:00
target dsp5680xx - fix - flashing algorithm check 2011-11-24 23:24:28 +00:00
transport transport: move files over to transport folder 2011-06-13 15:51:04 +02:00
xsvf xsvf: add missing error propagation 2011-11-07 20:35:42 +00:00
ecosboard.c jim tests: use installed 2010-10-29 15:10:51 +02:00
hello.c HELLO: review unused symbols 2010-04-10 17:23:06 +08:00
hello.h HELLO: review unused symbols 2010-04-10 17:23:06 +08:00
main.c logging: turn of stdout/stderr buffering 2010-09-20 20:45:48 +02:00
Makefile.am libusb-1.0 support 2011-11-18 17:00:58 +00:00
openocd.c target: fix init_targets script handling 2011-11-23 23:51:36 +00:00
openocd.h remove #if logic for openocd_sleep_*lude 2009-12-02 13:26:26 -08:00