On Fri, Aug 12, 2011 at 10:10 AM, Xiaofan Chen <xiaof...@gmail.com> wrote: > On Fri, Aug 12, 2011 at 10:04 PM, Xiaofan Chen <xiaof...@gmail.com> wrote: >> Then I came across this one thread in Sparkfun. The change seems >> to make sense as well so I gave it a try. >> http://forum.sparkfun.com/viewtopic.php?f=18&t=24946 >> >> It does not seem to help either. >> >> But then I find out actually my V8 J-Link works once in about 3 times for >> EK-LM3S1968 demo board. It works even though that there are still >> quite a bit of error message but it seems to work. >> >> With the on-board TI/Luminary interface, OpenOCD always works. >> > > Then I also check out V3/V6/V7 and they all work fine. >
I have a V8 J-Link, and I can confirm Xiaofan's result that the code from Sparkfun that uses the EMU_CMD_SELECT_IF command does not solve the problem. The commands do execute successfully on initialization, but they report that interface 0 (JTAG) was already selected in the first place. I mentioned previously that I'm using the V8 J-Link on the TI/Logic PD EVM AM1808 board, but using the target/omapl138.cfg file. (They're the same ARM and JTAG route controller inside). When I try to run in this configuration, my J-Link becomes unresponsive. The LED on top of it turns off. Successive attempts to run openocd are met with earlier errors (inability to read HW version info or capabilities), and even the jlink.exe command line program from Segger cannot connect to it, complaining "WARNING: Out of sync , resynchronising". After about 100 seconds, the device seems to reenumerate on USB (Windows makes the 'device connected' noise) and the LED comes back on. I'm going to try to use the Linux software from Segger with the kernel's usbmon to capture some commands and see what Segger's doing that we're not. (I've never done any of that before, so I don't expect good results). Best regards, ~Eric _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development