riscv-openocd/contrib
Anders 1662c854e2 flash/nor/lpcspifi.c: fix bug that prevented clean reset after flash write
After SPI flash was written by the assembly language stub,
the last SPI command was not terminated by raising CS.
This left the SPI device in a hung state that prevented the
flash from being read by the M4 SPIFI controller, even after
the M4 was fully reset. To access the flash via SPIFI, it was
necessary to completely power cycle the board.

This fix adds the missing instructions to raise CS and
terminate the SPI command after the last byte. This allows
the M4 to be resumed or reset cleanly after flashing. The
SPIFI memory is now immediately accessable at address
0x1400 0000 after flashing is complete.

Change-Id: I4d5e03bded0fa00c430c2991f182dc18611d5f48
Signed-off-by: Anders <anders@openpuma.org>
Reviewed-on: http://openocd.zylin.com/2359
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-11-24 22:14:38 +00:00
..
libdcc update files to correct FSF address 2013-06-05 19:52:42 +00:00
loaders flash/nor/lpcspifi.c: fix bug that prevented clean reset after flash write 2014-11-24 22:14:38 +00:00
remote_bitbang Move xsvf_tools and remote_bitbang to contrib/ 2014-03-29 07:55:43 +00:00
rpc_examples contrib/rpc_examples: add example for python3 2014-04-14 18:14:22 +00:00
xsvf_tools Move xsvf_tools and remote_bitbang to contrib/ 2014-03-29 07:55:43 +00:00
99-openocd.rules openocd.rules: match CMSIS DAP devices by product string 2014-04-14 18:13:30 +00:00
coresight-trace.txt present CM3 Trace agenda 2011-01-09 21:14:57 +01:00
cross-build.sh cmsis-dap: add initial cmsis-dap support 2014-01-09 15:20:51 +00:00
gen-stellaris-part-header.pl flash: declare fixed arrays const 2014-02-06 22:17:51 +00:00
itmdump.c present CM3 Trace agenda 2011-01-09 21:14:57 +01:00