Someone loaned me an IAR evaluation board STR712 (made by Olimex) and a 
yellow IAR J-link (marked J-LINK-ARM-KS on bottom). I had seen quite a 
bit of mention on this list about jlink and thought I would give it a 
try. I was at r1567 on my initial try (after rebuilding with 
--enable-jlink configured).

I am starting openocd like this:
sudo ./openocd -f target/interface/jlink -f target/target/str710.cfg

str710.cfg seems as close to the actual str712 as there is in the cfg files.

When it starts I see:
Error: J-Link Command 0x01 failed (-2)
Error: J-Link command EMU_CMD_VERSION failed (-110)
<repeated 3 times>

Info : J-Link initial read failed, don't worry
Info : J-Link JTAG Interface ready
Error: J-Link command 0xdd failed (-2)
Error: J-Link command 0xdf failed (-2)
Warn : keep_alive() was not invoked in the 1000ms timelimit. GDB alive 
packet not sent! (9190). Workaround: increase "set remotetimeout" in GDB
Error: J-Link setting speed failed (-2)
Error: There are no enabled taps?
Error: J-Link command 0xdd failed (-2)
Error: J-Link command 0xdf failed (-2)
Error: usb_bulk_write failed (requested=6, result=-2)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Error: usb_bulk_write failed (requested=6, result=-2)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Error: J-Link command 0xdd failed (-2)
Error: J-Link command 0xdf failed (-2)
Error: usb_bulk_write failed (requested=6, result=-2)
Error: jlink_tap_execute, wrong result -107 (expected 1)
Error: There are no enabled taps?
Warn : no telnet port specified, using default port 4444
Warn : no gdb ports allocated as no target has been specified
Warn : no tcl port specified, using default port 6666
Info : accepting 'telnet' connection from 0
Error: J-Link command 0x01 failed (-2)

Then I can 'telnet localhost 4444' OK but everything seem to result in 
J-Link command failed, e.g.,

 > jlink_info
J-Link command 0x01 failed (-2)
J-Link command EMU_CMD_VERSION failed (-110)

I see the same result when I update to the (now) current r1770.

Can anyone suggest what I am doing wrong?

Thanks,
-gene
P/S: Have been using rlink interface successfully.





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

Reply via email to