You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
ESP32-C3 JTAG Connection Fails with Watchdog Reset and USB Device Errors
ESP32-C3 JTAG Connection Fails with Watchdog Reset and USB Device Errors (OCD-1024)
Oct 17, 2024
@Jimmy2027 I see that the application resets periodically and the JTAG connection fails. Does this also happen when the debugger is not attached? Have you tried starting a debugging session with GDB?
What happens when you reset-halt the board during the openocd connection?
Development Kit
openocd-esp32
Module or chip used
Beetle ESP32-C3
Debug Adapter
usb-jtag
OpenOCD version
v0.12.0-esp32-20241016
Operating System
linux
Using an IDE ?
no
OpenOCD command line
openocd -f board/esp32c3-builtin.cfg
JTAG Clock Speed
default
ESP-IDF version
v5.3.1
Problem Description
I would like to get a minimal bare-metal example working with openocd on my Beetle ESP32-C3 board.
As a first step, I'm following these instructions:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-guides/jtag-debugging/index.html
However after executing the following steps, I get errors.
openocd -f board/esp32c3-builtin.cfg
Logs extract:
Debug Logs
openocd_log.txt
Expected behavior
I'm expecting the command to execute without errors.
Screenshots
No response
The text was updated successfully, but these errors were encountered: