Page 1 of 1

OpenOCD JTAG stopped working after Win10 uprade

Posted: Sun Oct 13, 2019 4:43 pm
by richardl
the ESP32 version of OpenOCD (0.9.0 ) no longer finds my ESP32 DevKit or Olimex Tiny-H, was fine before recent Win10 upgrade.

With max debug all goes well until it tries to talk to the driver

bin\openocd.exe -d3 -c "gdb_port 51558" -c "telnet_port 51559" -f olimex-arm-usb-tiny-h.cfg -c "adapter_khz 3000" -f esp32.cfg -

.... Lots of debug

Debug: 279 2225 command.c:364 register_command_handler(): registering 'ocd_set_core'...
Debug: 280 2235 ftdi.c:657 ftdi_initialize(): ftdi interface using shortest path jtag state transitions
Error: 281 2310 mpsse.c:174 open_matching_device(): libusb_get_device_list() failed with LIBUSB_ERROR_NO_DEVICE

JTAG drivers installed OK.

Any ideas please?

Re: OpenOCD JTAG stopped working after Win10 uprade

Posted: Tue Oct 15, 2019 4:39 pm
by richardl
Managed to fix this by ussing OpenOCD suppied with the new V4 tool chain v0.10.0-esp32-20190313 (2019-03-13-09:57) now it works again, but only if you use the WinUSB driver (not libWinUSB WinLIB) .

The error still comes up but the new version gets past this and makes the connection