Page 1 of 1

OpenOCD cannot find programmer

Posted: Tue Aug 08, 2017 5:06 am
by DMW
Hello

Please help, I have connected a XDS100V2 programmer to a windows laptop and run a pre-complied OpenOCD binary V0.10.0 from Freddie Chopin.

I can see my USB JTAG pod with the correct VID/PID in device manager, but when I tell OpenOCD to connect it says it cannot find the device:
Code: Select all
C:\Users\Nick\Desktop\DMW IMX6 JTAG\openocd-0.10.0\bin-x64>openocd --v
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html

C:\Users\Nick\Desktop\DMW IMX6 JTAG\openocd-0.10.0\bin-x64>openocd -f interface\ftdi\xds100v2.cfg
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html

Info : to use this adapter you MUST add ``init; ftdi_set_signal PWR_RST 1; jtag arp_init'' to the end of your config file!

Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
Error: no device found
Error: unable to open ftdi device with vid 0403, pid a6d0, description '*', serial '*' at bus location '*'
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'
The TI XDS100V2 comes up with two devices (channel A and channel B)
Code: Select all
USB\VID_0403&PID_A6D0&REV_0700&MI_00
USB\VID_0403&PID_A6D0&MI_00

USB\VID_0403&PID_A6D0&REV_0700&MI_01
USB\VID_0403&PID_A6D0&MI_01
I have Code Composer Studio 6.1.0 installed.

What am I doing wrong?

Thanks
Dom

Re: OpenOCD cannot find programmer

Posted: Wed Aug 09, 2017 1:48 am
by DMW
I think I have solved my problem,
after much googling I found this link:
https://gnu-mcu-eclipse.github.io/openocd/install/

After changing my XDS100V2 drivers using Zadig OpenOCD detects the programmer and I am now one step closer.

Regards
Dom