Small clarification:

Everything is fine when I fun the chip ALONE - OpenOCD is closed, JTAG 
can be connected and powered, I cycle the power, everything works fine

When I run OpenOCD and via telnet issue the commands:

 > reset
JTAG tap: lpc2103.cpu tap/device found: 0x4f1f0f0f (mfg: 0x787, part: 
0xf1f0, ve
r: 0x4)
JTAG Tap/device matched
 > halt
target state: halted
target halted in ARM state due to debug-request, current mode: User
cpsr: 0x80000010 pc: 0x00000144
 > reg
[...]
(11) r11 (/32): 0x400001FC (dirty: 0, valid: 1)
[...]
(13) r13_usr (/32): 0x400001F0 (dirty: 0, valid: 1)

----> Here verything works as expected, the registers are fine

 > soft_reset_halt
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
 > resume
 > halt
target state: halted
target halted in ARM state due to debug-request, current mode: User
cpsr: 0x80000010 pc: 0x00000170
 > reg
[...]
(11) r11 (/32): 0x400001F9 (dirty: 0, valid: 1)
[...]
(13) r13_usr (/32): 0x400001EC (dirty: 0, valid: 1)

----> Here everything is wrong and you see the registers are wrong

4\/3!!

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to