I have some problems getting openocd 0.2.0 to work under windows with my olimex LPC-P2148 board (http://www.olimex.com/dev/lpc-p2148.html). I am using a Olimex ARM-USB-TINY JTAG interface. I first have this problem:
C:\PROGRA~1\OpenOCD\02225D~1.0>openocd -f interface\olimex-jtag-tiny.cfg -f targ
et\lpc2148.cfg
Open On-Chip Debugger 0.2.0 (2009-07-18-09:50) Release
$URL: http://svn.berlios.de/svnroot/repos/openocd/tags/openocd-0.2.0/src/openocd
.c $
For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
jtag_speed: 3
RCLK - adaptive
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
Info : JTAG tap: lpc2148.cpu tap/device found: 0x9f3f1f1f (mfg: 0x78f, part: 0xf
3f1, ver: 0x9)
Error: JTAG tap: lpc2148.cpu got: 0x9f3f1f1f (mfg: 0x78f, part: 0xf
3f1, ver: 0x9)
Error: JTAG tap: lpc2148.cpu expected 1 of 1: 0x4f1f0f0f (mfg: 0x787, part: 0xf
1f0, ver: 0x4)
Error: trying to validate configured JTAG chain anyway...
Error: unknown EmbeddedICE version (comms ctrl: 0x80000000)
When i change lpc2148.cfg (“set _CPUTAPID 0x9f3f1f1f”) i get:
C:\PROGRA~1\OpenOCD\02225D~1.0>openocd -f interface\olimex-jtag-tiny.cfg -f targ
et\lpc2148.cfg
<cut>
Info : JTAG tap: lpc2148.cpu tap/device found: 0x9f3f1f1f (mfg: 0x78f, part: 0xf
3f1, ver: 0x9)
Info : JTAG Tap/device matched
Error: unknown EmbeddedICE version (comms ctrl: 0x80000000)
Right, to the device is now correctly detected, but: The EmbeddedICE version is unknown. When i do a telnet localhost 4444, the following happens:
Open On-Chip Debugger
> init
> reset
JTAG tap: lpc2148.cpu tap/device found: 0x9f3f1f1f (mfg: 0x78f, part: 0xf3f1, ver: 0x9)
JTAG Tap/device matched
> halt
invalid mode value encountered 15
cpsr contains invalid mode value - communication failure
Runtime error, file "command.c", line 469:
invalid mode value encountered 15
cpsr contains invalid mode value - communication failure
invalid mode value encountered 15
cpsr contains invalid mode value - communication failure
invalid mode value encountered 15
cpsr contains invalid mode value - communication failure
invalid mode value encountered 15
cpsr contains invalid mode value - communication failure
What can this problem be? Thank you very much