Hi Everyone,
Just started with openocd and the Olimex arm-jtag-ew programmer. I am using
winxp and have updated the Olimex programmer.
I have successfully rebuilt openocd version 0.4.0. but I have trouble with it.
The following is the output generated when I try to run it.
My guess is that openocd does not find the programmer. I would like some
pointers interpretting the errors and possibly an idea on
how to fix it.
C:\Program Files\OpenOCD\0.4.0\bin>openocd -f ..\interface\arm-jtag-ew.cfg -f
..\board\olimex_LPC2378STK.cfg
Open On-Chip Debugger 0.4.0-rc1 (2010-01-31-23:22)
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
jtag_nsrst_delay: 201
jtag_ntrst_delay: 202
trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain
500 kHz
Error: usb_bulk_write failed (requested=1, result=-22)
Error: ARM-JTAG-EW command CMD_GET_VERSION failed (-1)
Error: usb_bulk_write failed (requested=1, result=-22)
Error: ARM-JTAG-EW command CMD_GET_VERSION failed (-1)
Error: usb_bulk_write failed (requested=1, result=-22)
Error: ARM-JTAG-EW command CMD_GET_VERSION failed (-1)
Info : ARM-JTAG-EW initial read failed, don't worry
Info : ARM-JTAG-EW JTAG Interface ready
Error: ARM-JTAG-EW TRST/SRST pin set failed failed (-22)
Error: Translation from jtag_speed to khz not implemented
Info : interface specific clock speed value 500
Error: ARM-JTAG-EW TRST/SRST pin set failed failed (-22)
Error: usb_bulk_write failed (requested=5, result=-22)
Error: armjtagew_tap_execute, wrong result -1, expected 1
Error: usb_bulk_write failed (requested=5, result=-22)
Error: armjtagew_tap_execute, wrong result -1, expected 1
Error: ARM-JTAG-EW TRST/SRST pin set failed failed (-22)
Error: usb_bulk_write failed (requested=5, result=-22)
Error: armjtagew_tap_execute, wrong result -1, expected 1
Error: TRST/SRST error -104
Error: usb_bulk_write failed (requested=5, result=-22)
Error: armjtagew_tap_execute, wrong result -1, expected 1
Error: ARM-JTAG-EW TRST/SRST pin set failed failed (-22)
Error: usb_bulk_write failed (requested=5, result=-22)
Error: armjtagew_tap_execute, wrong result -1, expected 1
Error: TRST/SRST error -104
Error: usb_bulk_write failed (requested=5, result=-22)
Error: armjtagew_tap_execute, wrong result -1, expected 1
Command handler execution failed
Warn : jtag initialization failed; try 'jtag init' again.
Thanks,
Nick
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development