OpenOCD cannot find programmer

Open source ARM Debugger

Moderator: phalanx

OpenOCD cannot find programmer

Postby DMW » Tue Aug 08, 2017 5:06 am

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
DMW
 
Posts: 2
Joined: Tue Aug 08, 2017 4:54 am

Re: OpenOCD cannot find programmer

Postby DMW » Wed Aug 09, 2017 1:48 am

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
DMW
 
Posts: 2
Joined: Tue Aug 08, 2017 4:54 am


Return to OpenOCD

Who is online

Users browsing this forum: No registered users and 1 guest