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
libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
On what operating system are you running openocd?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
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:
Angus
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:
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.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)
Angus
Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
i am running windows 10kolban wrote:On what operating system are you running openocd?
-
- Posts: 53
- Joined: Sun Aug 29, 2021 1:50 pm
Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Is this a driver problem? one youtube video say need to reintall all the driver.
-
- Posts: 9749
- Joined: Thu Nov 26, 2015 4:08 am
Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
If the connection otherwise works, it should be safe to ignore the ERROR lines.
Who is online
Users browsing this forum: No registered users and 69 guests