OpenOCD 0.5.0 not working with JLink 4.50m FW

OpenOCD seems to not work with Segger JLink Firmware latest version (4.50i). If FW is switched to 4.10i, things seem to move along. Is this a known issue ? Here is what I see in openocd output

Open On-Chip Debugger 0.5.0 (2011-12-03-08:57)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
Warn : Adapter driver 'jlink' did not declare which transports it allows; assuming legacy JTAG-only
Info : only one transport option; autoselect 'jtag'
500 kHz
lpc4350.m0
Info : J-Link initialization started / target CPU reset initiated
Info : J-Link ARM V8 compiled Jun 19 2012 11:29:30
Info : J-Link caps 0xb9ff7bbf
Info : J-Link hw version 80000
Info : J-Link hw type J-Link
Info : J-Link max mem block 9320
Info : J-Link configuration
Info : USB-Address: 0x0
Info : Kickstart power on JTAG-pin 19: 0x0
Info : Vref = 3.313 TCK = 1 TDI = 0 TDO = 1 TMS = 0 SRST = 0 TRST = 0
Info : J-Link JTAG Interface ready
Error: jlink_usb_read_emu_result retried requested = 1, result=-110, in_length=1
Error: jlink_usb_read_emu_result failed (requested = 1, result=-110)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Info : clock speed 500 kHz
Error: jlink_usb_read_emu_result retried requested = 1, result=-110, in_length=1
Error: jlink_usb_read_emu_result failed (requested = 1, result=-110)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Error: jlink_usb_read_emu_result retried requested = 1, result=-110, in_length=1
Error: jlink_usb_read_emu_result failed (requested = 1, result=-110)
Error: jlink_tap_execute, wrong result -107 (expected 1)
in procedure 'transport'
in procedure 'init'

Any workarounds or fixes for this ?

Hi Bob,

I did a quick [search of the developers mailing list and didn’t see anything. I’d say post there if your search also comes up empty.](Best Open Source Mac Software 2024)

OpenOCD is now trying to maintain a list of known working versions.

At the moment only versions marked “Jan 31 2011” are not working as expected.

However I have not updated my jlink for a while and am happily using the following version:

May 3 2012 18:36:22 - comes with package v4.46f

The link to the jlink driver src is here, search for unsupported_versions

http://openocd.git.sourceforge.net/git/ … rs/jlink.c

Cheers

Spen