Code: Untitled.txt Select all
Trying to flash my first hello_world example to an ESP32-C6 DEVKITC-1 V1.2 using ESP-IDF extension on VSCode a dialog box pos up with "OpenOCD is not running, do you want to launch it?". Pressing Yes results in
C:\workspace\.espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\bin\openocd.exe
Open On-Chip Debugger v0.12.0-esp32-20241016 (2024-10-16-14:17)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
C:\workspace\.espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\bin\openocd.exe
[OpenOCD]
Open On-Chip Debugger v0.12.0-esp32-20241016 (2024-10-16-14:17)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 2
Info : only one transport option; autosele
cting 'jtag'
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
Info : Hardware thread awareness
created
Info : Hardware
thread awareness created
WARNING: ESP flash support is disabled!
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
❌ Error: esp_usb_jtag: could not find or open device!
❌ C:\workspace\.espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\share\openocd\scripts/target/esp_common.cfg:9: Error:
at file "C:\workspace\.espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\share\openocd\scripts/target/esp_common.cfg", line 9
Error: [esp32c6.hp.cpu0] Unsupported DTM version: -1
Error: [esp32c6.hp.cpu0] Could not identify target type.
Error: [esp32c6.lp.cpu] Unsupported DTM version: -1
Error: [esp32c6.lp.cpu] Could not identify target type.
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
[/OpenOCD]
Can't perform JTag flash, because OpenOCD server is not running!
I of course read all the FAQ but I don't understand them, so that I appreciate any concrete hint how to fix this.