wuxx / nanoESP32-C3

ESP32-C3 dev board by muselab
29 stars 11 forks source link

CMSIS-DAP command CMD_DAP_SWJ_CLOCK failed #3

Closed bobh closed 2 years ago

bobh commented 2 years ago

nanoESP32-C3 Programming with drag-n-drop works. JTAG e-fuses burned. GPIO10 to 0 VDC Ubuntu 21.10

sudo openocd -f tcl/interface/cmsis-dap.cfg -f tcl/target/esp32c3.cfg Open On-Chip Debugger v0.11.0-esp32-20211209_test-15-g724ad82e (2021-12-17-12:47) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections Info : CMSIS-DAP: SWD Supported Info : CMSIS-DAP: JTAG Supported Info : CMSIS-DAP: FW Version = 0255 Info : CMSIS-DAP: Serial# = 08000001004000464300000a4e504332a5a5a5a597969908 Info : CMSIS-DAP: Interface Initialised (JTAG) Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1 Error: CMSIS-DAP command CMD_DAP_SWJ_CLOCK failed.

wuxx commented 2 years ago

Hello,JTAG used IO4, IO5, IO6, IO7,please check your code (your code should not use these pins as normal GPIO)

wuxx commented 2 years ago

also can check here for reference https://github.com/espressif/openocd-esp32/pull/169