Here's the setup and steps I've already taken:
- I'm using MacOS Ventura 13.4.1. on my MacBook Pro M1, I'm editing the code in Visual studio code with the help of ESP-IDF extension
- I've triple checked connection between the ESP32 C3 and the ESP-Prog and it is correct /list]
- The correct board (ESP32 C3) is selected in my IDE.
- I've powered ESP32-C3 and ESP Prog independently to eliminate any power related issues.
- I've erased the flash memory of my ESP32 C3 using esptool.py, but the problem persists.
- I'm using the latest version of the ESP-IDF
- I've disconnected all peripherals from the GPIO pins
- I'm trying to debug sample code hello-world from Espressif sample library, I'm able to flash the MCU but I'm not able to debug it
I would greatly appreciate any help or suggestions on how to resolve this issue.
Here is the message from ESP-IDF:
/Users/ristiale/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/bin/openocd
[Debug Adapter]
DEBUG_ADAPTER_STARTED
2023-07-19 22:30:04,280 - Debug Adapter (main) - CRITICAL - Debug adapter -> Extension: DEBUG_ADAPTER_STARTED
[Debug Adapter]
DEBUG_ADAPTER_READY2CONNECT
2023-07-19 22:30:04,282 - Debug Adapter (main) - CRITICAL - Debug adapter -> Extension: DEBUG_ADAPTER_READY2CONNECT
[OpenOCD]
Info : accepting 'gdb' connection on tcp/3333
Error: Target not examined yet
Error executing event gdb-attach on target esp32c3:
Warn : No symbols for FreeRTOS!
Error: Target not halted
Error: auto_probe failed
Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'.
Error: attempted 'gdb' connection rejected
[Debug Adapter]
DEBUG_ADAPTER_STOPPED
2023-07-19 22:30:14,505 - Debug Adapter (main) - CRITICAL - Debug adapter -> Extension: DEBUG_ADAPTER_STOPPED
[Stopped] : ESP-IDF Debug Adapter