espressif / openocd-esp32

OpenOCD branch with ESP32 JTAG support
Other
362 stars 132 forks source link

esp32S3 openocd "[OpenOCD] ❌ Error: libusb_get_string_descriptor_ascii() failed with -9" (IDFGH-11497) (OCD-846) #301

Closed zigele closed 12 months ago

zigele commented 1 year ago

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?

zigele commented 1 year ago

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.