-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND (IDFGH-9317) (OCD-709) #270
Comments
@Zeni241 Your problem looks like a driver issue. Please check this https://docs.espressif.com/projects/esp-idf/en/v5.0/esp32c3/api-guides/jtag-debugging/configure-builtin-jtag.html#configure-usb-drivers |
@Zeni241 Closing this one. You can reopen it if you have any other issues. Also please check previous driver issues. You will find something helpful for you. |
I had to follow this guide to get it to work: https://community.platformio.org/t/esp32-pio-unified-debugger/4541/20 |
@torkleyy Yes that solved it dor me! Thanks :) NOTE: zadiag had to be executed as admin! |
Following that guide just led to it not working at all, had to roll back to the windows ones. With those, I can flash with idf.py flash, but OpenOCD fails with error not found. |
is there no fix to this? the zadiag solution is only for chips without an on-chip debugger.....I'm also encountering this problem |
Answers checklist.
General issue report
I have custom installation of esp-idf in folder d:\espidf and toolchain in d:\espidfTchain in Windows 10.
Everything works fine except openocd.
I get the following error:
Open On-Chip Debugger v0.11.0-esp32-20221026 (2022-10-26-14:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
Warn : Transport "jtag" was already selected
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
Error: esp_usb_jtag: could not find or open device!
Error: Unsupported xlen: -1
Error: Unknown target arch!
Getting some hint from here where it is mentioned:
What should be the paths in my case in commands
cd %USERPROFILE%\esp\openocd-esp32
set "OPENOCD_SCRIPTS=%CD%\tcl"
and
src\openocd -f board/esp32c3-builtin.cfg
The text was updated successfully, but these errors were encountered: