- Wed Jan 23, 2013 10:25 am
#154541
Has anyone tried to flash a TI LM4F device (specifically I am using an EK-LM4F232 board) using OpenOCD and the TI ICDI interface? When I try it I get the following:
Code: Select all
...and I end up needing the ^C to get out. Below is my OpenOCD configuration/command file:Open On-Chip Debugger 0.7.0-dev-00145-gd631b2e (2013-01-23-09:38)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
adapter speed: 1000 kHz
Info : clock speed 1000 kHz
Info : ICDI Firmware version: 8790
Info : lmf423x.cpu: hardware has 6 breakpoints, 4 watchpoints
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00000642 msp: 0x20001418
auto erase enabled
Error: timed out while waiting for target halted
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x61000000 pc: 0x20000016 msp: 0x20001418
Error: error waiting for target flash write algorithm
Code: Select all
source [find interface/ti-icdi.cfg]
set WORKAREASIZE 0x8000
set CHIPNAME lmf423x
source [find target/stellaris_icdi.cfg]
gdb_port 3332
init
reset halt
flash write_image erase firmware.bin 0
reset
exit