-
Notifications
You must be signed in to change notification settings - Fork 332
Description
OS
Windows
Operating System version
windows 11
Visual Studio Code version
1.102.0
ESP-IDF version
5.5.0
Python version
3.11.0
Doctor command output
Extension
Description
I am using the new version (1.5.2) ESP32 P4 FUnctional EV kit, and and attempting to enable debugging via the inbuilt USB Serial JTAG interface(port) using Visual Studio Code and the ESP-IDF environment.
I have followed the steps outlined in your documentation for JTAG debugging:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32p4/api-guides/jtag-debugging/index.html#jtag-debugging-configure-and-connect-jtag-interface
I was able to run OpenOCD successfully and reached the expected output as mentioned. Please refer the attached image from my terminal output:

Next step, I proceeded with configuring debugging in Visual Studio Code, following the guide below:
https://docs.espressif.com/projects/vscode-esp-idf-extension/en/latest/debugproject.html
The required drivers were installed automatically. However, when I attempt to start the debugger (after selecting the appropriate board/esp32p4-builtin.cfg), I encounter persistent errors in the output window as below :

Could you help me identify any potential misconfigurations or limitations that may be causing this issue?
Debug Message
Debug adapter -> Extension: DEBUG_ADAPTER_STARTED
Debug adapter -> Extension: DEBUG_ADAPTER_READY2CONNECT
Other Steps to Reproduce
I tried chaning the launchs to esp-IDF launch and Eclipse CDT GDB Launch. each resukted in these error
In have also attached my settings.json file here for your reference
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.