According to the official documentation, an ESP32C3 development board was customized, but the USB JTAG did not work prop

javaisrubbish
Posts: 6
Joined: Tue Mar 28, 2023 6:19 am

According to the official documentation, an ESP32C3 development board was customized, but the USB JTAG did not work prop

Postby javaisrubbish » Sun Dec 21, 2025 6:05 am

[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 0x
1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000

Info : Listening on port 6666 for tcl c
onnections
Info : Listening on port 4444 for telnet connections

Info : esp_usb_jtag: serial (B4:3A:45:5A:0D:2C)

Info : esp_usb_jtag: Device foun
d. Base speed 40000KHz, div range 1 to 255

Info : clock speed 40000 kHz

Info : JTAG tap: esp32c3.tap0 tap/devi
ce found: 0x00005c25 (mfg: 0x612 (Espressif Systems), part: 0x0005, ver: 0x0)

Info : [esp32c3] externa
l reset happened in halted state (dmstatus:0x000f03a2)

Info : [esp32c3] datacount=2 progb
ufsize=16

Info : [esp32c3] Examined RISC-V core; found 1 harts
Info : [esp32c3] XLEN=32, misa=0x40101104

Info : [esp32c3] Examination succeed
Info : [esp32c3] starting gdb server on 3333

Info : Listening on port 3333 for gdb connections

[/OpenOCD]
[ESP-Flash]
Can't proceed with flashing, since project elf file (grbl_test.elf) is missing from the build dir. (c:\Users\38794\grbl_test\build)
[/ESP-Flash]
[Build]
Project build complete. To flash, run:
ESP-IDF: Flash your project in the ESP-IDF Visual Studio Code Extension
or in a ESP-IDF Terminal:
idf.py flash
or
idf.py -p PORT flash
or
python -m esptool --chip esp32c3 -b 460800 --before default_reset --after hard_reset --port COM5 write_flash --flash_mode dio --flash_size 2MB --flash_freq 80m 0x0 bootloader/bootloader.bin 0x10000 grbl_test.bin 0x8000 partition_table/partition-table.bin
or from the "c:\Users\38794\grbl_test\build" directory
python -m esptool --chip esp32c3 -b 460800 --before default_reset --after hard_reset write_flash "@flash_args"
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

[/Build]
[OpenOCD]
Info : accepting 'tcl' connection on tcp/6666
Info : dropped 'tcl' connection

Info : accepting 'tcl' connection on tcp/6666
ready

Flashing "c:/Users/38794/grbl_test/bui
ld/bootloader/bootloader.bin" at 0x0
** program_esp input args <0x0 verify> **

Info : JTAG tap: esp32c3.tap0 t
ap/device found: 0x00005c25 (mfg: 0x612 (Espressif Systems), part: 0x0005, ver: 0x0)

Info : [esp32c3] Reset cause (3) - (Software core
reset)

** Programming Started **

Info : [esp32c3] Found 8 triggers

Warn : Failed to get flash maps (-9)!
Warn : Failed to read
❌ flash size!
Warn : Failed to get flash mappings (-4)!
Error: Failed to probe flash, size 0 KB
Error: auto_probe failed
Error: Failed to find bank 'esp32c3.flash'!

** Flashing Failed **
-1

[/OpenOCD]
[ESP-Flash]
Failed to flash the device (JTag), please try again [got response: '-1', expecting: '0']
[/ESP-Flash]
[OpenOCD]
[Stopped] : OpenOCD Server
For assistance with OpenOCD errors, please refer to our Troubleshooting FAQ: https://github.com/espressif/openocd-es ... ooting-FAQ
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

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 tcl connections

Info : Listening on port 4444 for telnet connections

Info : esp_usb_jtag: serial (B4:3A:45:5A:0D:2C)

Info : esp_usb_jtag: Device
found. Base speed 40000KHz, div range 1 to 255

Info : clock speed 40000 kH
z

Info : JTAG tap: esp32c3.tap0 tap/device found: 0x00005c25 (mfg: 0x612 (Espressif Systems), part: 0x0005, ver: 0x0)

Info : [esp32c3] datacount=2 progb
ufsize=16

Info : [esp32c3] Examined RISC-V core;
found 1 harts
Info : [esp32c3] XLEN=32, misa=0x40101104
Info : [esp32c3] Examination succeed
Info : [esp32c3] starting gdb server on 3333

Info : Listening on port 3333 for gdb connections

Info : accepting 'tcl' connection on tcp/6666
Info : dropped 'tcl' connection

Info : accepting 'tcl' connection on tcp/6666

ready

Flashing "c:/Users/38794/grb
l_test/build/bootloader/bootloader.bin" at 0x0
** program_esp input args <0x0 verify> **

Info : JTAG tap: esp32c3.tap0
tap/device found: 0x00005c25 (mfg: 0x612 (Espressif Systems), part: 0x0005, ver: 0x0)

Info : [esp32c3] Reset cause (3) - (Software core reset)

** Programming Started **

Info : [esp32c3] Found 8 triggers

Warn : Failed to get flash maps (-9)!

❌ Warn : Failed to read flash size!
Warn : Failed to get flash mappings (-4)!
Error: Failed to probe flash, size 0 KB
Error: auto_probe failed
Error: Failed to find bank 'esp32c3.flash'!
** Flashing Failed **

-1

[/OpenOCD]
[ESP-Flash]
Failed to flash the device (JTag), please try again [got response: '-1', expecting: '0']


Image

Image

lichurbagan
Posts: 59
Joined: Thu Nov 13, 2025 3:20 pm

Re: According to the official documentation, an ESP32C3 development board was customized, but the USB JTAG did not work

Postby lichurbagan » Sun Dec 21, 2025 3:26 pm

Did you try pressing the RST button?

Who is online

Users browsing this forum: Applebot and 4 guests