Closed MabezDev closed 3 years ago
What application have you flashed into the ESP32-C3? The "blink" example used to toggle GPIO5, until this was changed recently. GPIO5 is one of the JTAG pins on ESP32-C3, and overriding its function from the app may cause such an issue.
Please try flashing the hello_world example and see if that changes the behavior.
Ah, that's almost definitely it. Just so happened I chose the blinky example to verify my jtag setup. Will verify tomorrow and close :)
That was exactly it, thanks!
Trying to interrogate the riscv core in the esp32c3 through a segger j-link, unfortunately I am running into the output in the issue title.
Full output:
Output with
-d3
:Setup
Using the latest release,
2021-04-01
, my openocd file contains the following:I believe the wiring is correct as the JTAG tap is correctly connected to and printed to stdout before the core examine fails.
Let me know if any other information is required.