Hi there.
I still have not been able to connect properly to my Olimex LPC-H2148
prototype board.

After my first  mail thread I could connect the olimex-arm-usb-tiny-h
adapter by adding -c "jtag_khz 1000" to the command line. I have lately
also discovered that this also works with the openocd 0.4.0 and libusb
0.1 configuration that I used originally provided that no prior atempt
to run the interface without the -c "jtag_khz 1000" had been done. But
openocd still fails to connect to the jtag TAP. Emitting the following
errors.

Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Command handler execution failed
Warn : jtag initialization failed; try 'jtag init' again.

I also has access to a Wiggler clone from Propox that I now have been
trying to connect to the LPC2148. This attempt results in a similar
error message:

[o...@localhost ~]$ sudo openocd -f interface/parport.cfg -f
target/lpc2148.cfg
[sudo] password for olof: 
Open On-Chip Debugger 0.4.0 (2010-02-22-22:59)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
parport port = 0x0
RCLK - adaptive
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull
srst_open_drain
Info : RCLK (adaptive clock speed) not supported - fallback to 500 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Command handler execution failed
Warn : jtag initialization failed; try 'jtag init' again.

I have reasons to believe there is nothing wrong with the LPC2148 board,
the Wiggler clone or the combination of the two. If I boot WindowsXP on
the same PC-hardware and use the free McCraigor OCDCommander it seems to
read the correct chip identifier and put the processor in HALT. I can
then read CPU registers, step forward and run. It seems stable and works
every time I restart OCDCommander. To me this provides evidence that
there is something wrong with the way openocd handles LPC2148.

Does anyone have any ideas how to move this forward?

Olof

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

Reply via email to