Page 1 of 1

libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Posted: Wed May 02, 2018 4:00 pm
by Alen59
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

Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Posted: Wed May 02, 2018 11:11 pm
by kolban
On what operating system are you running openocd?

Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Posted: Thu May 03, 2018 2:29 am
by ESP_Angus
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

Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Posted: Thu May 03, 2018 11:08 am
by Alen59
kolban wrote:On what operating system are you running openocd?
i am running windows 10

Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Posted: Thu Sep 02, 2021 3:01 pm
by XiotSamuel
Is this a driver problem? one youtube video say need to reintall all the driver.

Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Posted: Fri Sep 03, 2021 1:54 am
by ESP_Sprite
If the connection otherwise works, it should be safe to ignore the ERROR lines.