libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Alen59
Posts: 25
Joined: Mon Mar 19, 2018 12:00 pm

libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Postby Alen59 » Wed May 02, 2018 4:00 pm

when i try to run debugger i get this error "libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED", any ideas?

$ bin/openocd -s share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp32-wrover.cfg
Open On-Chip Debugger 0.10.0-dev (2018-04-18-12:04)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
none separate
adapter speed: 20000 kHz
esp32 interrupt mask on
force hard breakpoints
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 20000 kHz
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
cpu0: Current bits set: BreakIn BreakOut RunStallIn
cpu1: Current bits set: BreakIn BreakOut RunStallIn

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Postby kolban » Wed May 02, 2018 11:11 pm

On what operating system are you running openocd?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Postby ESP_Angus » Thu May 03, 2018 2:29 am

Hi Alen,

It looks like maybe libusb is trying to poll some other USB device in your system. But then it moves on to the correct device, because the JTAG link comes up:
Alen59 wrote: Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
These lines indicate that not only is the USB connection working, the JTAG adapter is able to read data from the ESP32's debug port.


Angus

Alen59
Posts: 25
Joined: Mon Mar 19, 2018 12:00 pm

Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Postby Alen59 » Thu May 03, 2018 11:08 am

kolban wrote:On what operating system are you running openocd?
i am running windows 10

XiotSamuel
Posts: 52
Joined: Sun Aug 29, 2021 1:50 pm

Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Postby XiotSamuel » Thu Sep 02, 2021 3:01 pm

Is this a driver problem? one youtube video say need to reintall all the driver.

ESP_Sprite
Posts: 9040
Joined: Thu Nov 26, 2015 4:08 am

Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Postby ESP_Sprite » Fri Sep 03, 2021 1:54 am

If the connection otherwise works, it should be safe to ignore the ERROR lines.

Who is online

Users browsing this forum: ESP_Sprite, Google [Bot] and 122 guests