I built OpenOCD 0.5.0-dev-00882 the other day with Jlink support enabled.
It built okay, but when I tried to use it I got some errors (See below for
error log). They seem to hint at USB endpoint problems (but I could be totally
wrong).
I found several links on the web (links given below) that seem to indicate that
these errors are caused by newer versions of Jlink firmware, that are not
supported by OpenOCD.
The suggested solution is to downgrade one’s Jlink firmware. A better solution,
IMHO, would be to add support for these newer firmware versions in OpenOCD.
My questions are: 1) Is the development team (especially the Jlink developer)
aware of this (i.e. IS this indeed a firmware version issue?), 2) are there any
plans to add support for newer Jlink firmware and 3) in case there are no plans
to add support for this, and I can find some time to see if I can add this
myself, has someone already looked at this and has an idea of what would need
to change or tips for what to look for? (if lucky, it’s only a change of USB
endpoints).
Kind regards,
~ Paul Claessen
Links:
http://www.arm9board.net/wiki/index.php?title=J-link_under_Linux_using_OpenOCD
http://www.segger2.com/index.php?page=Thread&threadID=707
Error (and info) messages:
Warn : Adapter driver 'jlink' did not declare which transports it allows;
assuming legacy JTAG-only
Info : only one transport option; autoselect 'jtag'
1000 kHz
dbreg
Info : J-Link initialization started / target CPU reset initiated
Info : J-Link ARM V8 compiled Jan 31 2011 18:34:52
Info : J-Link caps 0xb9ff7bbf
Info : J-Link hw version 80000
Info : J-Link hw type J-Link
Info : J-Link max mem block 8368
Info : J-Link configuration
Info : USB-Address: 0x1
Info : Kickstart power on JTAG-pin 19: 0xffffffff
Info : Vref = 2.562 TCK = 1 TDI = 0 TDO = 0 TMS = 0 SRST = 0 TRST = 0
Info : J-Link JTAG Interface ready
Error: usb_bulk_read failed (requested=1, result=0)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Info : clock speed 1000 kHz
Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!!
Error: usb_bulk_read failed (requested=1, result=-110)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Error: usb_bulk_read failed (requested=1, result=0)
Error: jlink_tap_execute, wrong result -107 (expected 1)
in procedure 'transport'
in procedure 'init'
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development