[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
idf version :V5
[OpenOCD]
Open On-Chip Debugger v0.12.0-esp32-20230419 (2023-04-18-22:02)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
[OpenOCD]
debug_level: 2
[OpenOCD]
Info : only one transport option; autoselecting 'jtag'
[OpenOCD]
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
[OpenOCD]
Warn : Transport "jtag" was already selected
[OpenOCD]
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
[OpenOCD]
❌ Error: libusb_get_string_descriptor_ascii() failed with -9
[OpenOCD]
❌ d:\idfv5\tools\openocd-esp32\v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:4: Error:
at file "d:\idfv5\tools\openocd-esp32\v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 4
Amazing.
I got a brand new board and openocd runs successfully. there is something wrong with my old board, but I'm not so sure because the peripherals on this board have always worked fine.
Answers checklist.
General issue report
idf version :V5
[OpenOCD] Open On-Chip Debugger v0.12.0-esp32-20230419 (2023-04-18-22:02) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html
[OpenOCD] debug_level: 2
[OpenOCD] Info : only one transport option; autoselecting 'jtag'
[OpenOCD] Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001 Info : esp_usb_jtag: capabilities descriptor set to 0x2000
[OpenOCD] Warn : Transport "jtag" was already selected
[OpenOCD] Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections
[OpenOCD] ❌ Error: libusb_get_string_descriptor_ascii() failed with -9
[OpenOCD] ❌ d:\idfv5\tools\openocd-esp32\v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:4: Error: at file "d:\idfv5\tools\openocd-esp32\v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 4
[OpenOCD] [Stopped] : OpenOCD Server
anyone has solved the problem?