Hello.
I tried to flash LPC2148 using command:
“C:\Program Files\openocd-r1888\bin\openocd-ftd2xx.exe” -f jtagkey.cfg -c “flash write_image test.hex 0 ihex”
jtagkey.cfg is that one provided by Michael Fischer in mailing “Correct script to flash the lpc-2148” (http://lists.berlios.de/pipermail/openo … 07170.html) I just changed interface to Olimex and crystal to 12000
It ends up with such a problem:
30 kHz
Info : JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Info : JTAG Tap/device matched
30 kHz
Info : JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
Info : JTAG Tap/device matched
Warn : srst pulls trst - can not reset into halted mode. Issuing halt after reset.
target state: halted
target halted in Thumb state due to debug-request, current mode: System
cpsr: 0x8000007f pc: 0x00003cde
requesting target halt and executing a soft reset
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x800000d3 pc: 0x00000000
1500 kHz
Warn : keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not sent! (1016). Workaround: increase “set remotetimeout” in GDB
Error: timed out while waiting for target halted
Warn : lpc2000 prepare sectors returned 10897328
Error: error writing to flash at address 0x00000000 at offset 0x00000000 (-902)
Please, can anybody suggest a solution?
Thank you
Dmitry