I'm using the board ESP32-P4-Function-EV-Board Rev 2.
I would like to use the integrated debugger function. After a lot of days, it is not possible for me. I get the error messages "Remote connection closed". Is there a working example to configure the debugger with Win10, Visual Studio, Esp-Idf?
I'm using the description:
https://docs.espressif.com/projects/vsc ... oject.html
my launch.json file is:
{
"configurations": [
{
"type": "gdbtarget",
"request": "attach",
"name": "Eclipse CDT GDB Adapter",
"program": "${workspaceFolder}/build/${command:espIdf.getProjectName}.elf",
"initCommands": [
"set remote hardware-watchpoint-limit IDF_TARGET_CPU_WATCHPOINT_NUM",
"mon reset halt",
"maintenance flush register-cache"
],
"gdb": "${command:espIdf.getToolchainGdb}",
"target": {
"connectCommands": [
"set remotetimeout 20",
"-target-select extended-remote localhost:3333"
]
}
}
]
}
ESP32-P4 Debugging. ESP32-P4-Function-EV-Board
Who is online
Users browsing this forum: Bytespider, Google [Bot], meta-externalagent and 16 guests