esp32在vscode使用jtag下载调试openocd问题解决
错误详情:
[OpenOCD] Open On-Chip Debugger v0.12.0-esp32-20250707 (2025-07-06-17:44) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html debug_level: 2 Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001 Info : esp_usb_jtag: capabilities descriptor set to 0x2000 Info : Listening on port 6666 for tc l 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! e:\esp-idf_tools_path\tools\openocd-esp32\v0.12.0-esp32-20250707\openocd-esp32\share\openocd\scripts/target/esp_common.cfg:9: Error: Traceback (most recent call last): File "e:\esp-idf_tools_path\tools\openocd-esp32\v0.12.0-esp32-20250707\openocd-esp32\share\openocd\scripts/target/esp_common.cfg", line 9, in script For assistance with OpenOCD errors, please refer to our Troubleshooting FAQ: https://github.com/espressif/openocd-esp32/wiki/Troubleshooting-FAQ OpenOCD Exit with non-zero error code 1 [Stopped] : OpenOCD Server
错误原因
esp32 Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
解决方法
06-esp32-idf开发调试方法(内置JTAG,OpenOCD调试)_esp32调试-CSDN博客
