Skip to content

Debugging Support on ESP32-P4 Functional EV Board (v1.5.2) (VSC-1745) #1628

@sachinraghugowda

Description

@sachinraghugowda

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

doctor_command_output.zip

Extension

esp_idf_vsc_ext_log.zip

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:

Image

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 :

Image

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

settings.json

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Labels

bug-reportBug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions