how to use xds 100v2 Jtag with Openocd for Beagle board

Hi,
I want to use Openocd with Beagle board using XDS 100 v2 Usb Jtag. It looks the required interface scipts (.cfg) files for this Jtag are not present with openocd src.

My friend Maxin has reffered your email id for discussion.

I am following “http://elinux.org/BeagleBoardOpenOCD”, I am new to Openocd and need help.

I have downloaded the libftd2xx1.0.4 library from “http://www.ftdichip.com

Also, ./configure --enable-ft2232_libftdi --prefix=/home/root/bin/openOCD.
results in error:

“checking Build & Link with libftdi… configure: error: Cannot build & run test program using libftdi”

Please guide me.

Looks like Openocd don’t have support for XDS 100V2 yet. Only option is to use CCS from TI. Though the UI is little confusing, the license is free for XDS class of devices.

Thank you,
Johnson

Hi,
this compile error resolves with libftdi libftdi-0.19, used the updates from :

http://www.mail-archive.com/openocd-development@lists.berlios.de/msg15383.html

http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd;a=blob;f=tcl/interface/xds100v2.cfg;h=3d515b7407d81433eaf6ac8d1df42684d5a69f8f;hb=6df10184f654cb235b270c49fd12486ec8c59882

But now a run-time error is displayed:
cmd:
./openocd -s /usr/local/share/openocd/ -f /usr/local/share/openocd/scripts/interface/xds100v2.cfg

output:
Open On-Chip Debugger 0.4.0 (2011-06-26-22:21)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Error: unable to open ftdi device: usb_find_busses() failed
Command handler execution failed

need help to proceed, please guide.

Amit, did you got XDS100V2 working?

Thank you,

Johnson

Hi,
I found openocd and xds100v2 working with omap3530, the issue was related to libusb version (0.1.12 works fine).

Still trying to use it fully.

Thanks very much.