ESP32C3 JTAG-USB on a Raspberry Pi
Posted: Mon Aug 30, 2021 3:31 pm
A Raspberry Pi 4 with (Linux Buster) is all I have.
I'd like to get jtag usb debugging on a rev. 3 ESP32C3DevKit
openocd built OK.
Open On-Chip Debugger v0.10.0-esp32-20210401 (2021-04-01-15:45)
Or the one I built yesterday
Open On-Chip Debugger v0.10.0-esp32-20210721-12-g1cdfdce2 (2021-08-29-20:28)
...
I get this error:
openocd -f board/esp32c3-builtin.cfg
Info : only one transport option; autoselect 'jtag'
Warn : Transport "jtag" was already selected
force hard breakpoints
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!
I'm using a ESP32-C3-DevKitC-02 and on /dev/ttyUSB0 and I can program it with IDF examples.
using ESP-IDF v4.3-356-g48ae2309fd-dirty
esptool.py v3.1-dev
Found 2 serial ports
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP32-C3
Chip is unknown ESP32-C3 (revision 3)
I remember a soldering hardware mod to select the USB jtag but I think that was for an early version of the DevKit
No changes to the DEVKIT board.
Thanks for any help.
I'd like to get jtag usb debugging on a rev. 3 ESP32C3DevKit
openocd built OK.
Open On-Chip Debugger v0.10.0-esp32-20210401 (2021-04-01-15:45)
Or the one I built yesterday
Open On-Chip Debugger v0.10.0-esp32-20210721-12-g1cdfdce2 (2021-08-29-20:28)
...
I get this error:
openocd -f board/esp32c3-builtin.cfg
Info : only one transport option; autoselect 'jtag'
Warn : Transport "jtag" was already selected
force hard breakpoints
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!
I'm using a ESP32-C3-DevKitC-02 and on /dev/ttyUSB0 and I can program it with IDF examples.
using ESP-IDF v4.3-356-g48ae2309fd-dirty
esptool.py v3.1-dev
Found 2 serial ports
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP32-C3
Chip is unknown ESP32-C3 (revision 3)
I remember a soldering hardware mod to select the USB jtag but I think that was for an early version of the DevKit
No changes to the DEVKIT board.
Thanks for any help.