Skip to content

Using a recent J Link with openocd

burindes edited this page Sep 12, 2011 · 1 revision

If you encounter this error log in OpenOCD while trying to use a J-Link as JTAG probe:

Info : J-Link initialization started / target CPU reset initiated
Info : J-Link ARM Lite V8 compiled Nov 19 2010 15:25:05
Info : J-Link caps 0xb9ff7bbf
Info : J-Link hw version 80000
Info : J-Link hw type J-Link
Info : J-Link max mem block 8496
Info : J-Link configuration
Info : USB-Address: 0x0
Info : Kickstart power on JTAG-pin 19: 0xffffffff
Info : Vref = 3.287 TCK = 1 TDI = 0 TDO = 1 TMS = 0 SRST = 0 TRST = 0
Info : J-Link JTAG Interface ready
Error: jlink_usb_message failed with result=255)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Info : clock speed 100 kHz
Error: jlink_usb_message failed with result=255)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Error: jlink_usb_message failed with result=255)
Error: jlink_tap_execute, wrong result -107 (expected 1)

Then you likely have a too recent version of the J-Link firmware! Try to downgrade your J-Link firmware using the Segger provided command line tool (for Windows only): http://www.segger.com/cms/jlink-software.html?step=1&file=JLink_410i

After extraction, run the tool and execute the following command: exec invalidateFw, you must then unplug and replug the J-Link, and your firmware will be set to the 4.10i version.

Your module should now work nicely with OpenOCD!

Clone this wiki locally