Debuggung not working, VSCode 1.49.2 Espressif Extension 0.5.1

ennogrue
Posts: 2
Joined: Tue Jun 23, 2020 2:40 pm

Debuggung not working, VSCode 1.49.2 Espressif Extension 0.5.1

Postby ennogrue » Wed Sep 30, 2020 1:04 am

On a fresh Windows 10 2004 I installed VSCode 1.49.2 with Espressif Extension 0.5.1., plain successful onboarding.
I am using ESP Wrover Kit 4.1.
With the blink example I can build and flash the target, the console output of the blink application is fine.
But I cannot debug:
F5 doesn't work.
When starting the openocd server I get:
----------------------------------------------------
Open On-Chip Debugger v0.10.0-esp32-20191114 (2019-11-14-14:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
none separate
adapter speed: 20000 kHz
WARNING: boards/esp32-wrover.cfg is deprecated, and may be removed in a future release.
If your board is ESP32-WROVER-KIT, use board/esp32-wrover-kit-1.8v.cfg instead.
Info : Configured 2 cores
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
❌ Error: type 'esp32' is missing virt2phys
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 20000 kHz
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : Listening on port 3333 for gdb connections
---------------------------------------------------
What does the error "type 'esp32' is missing virt2phys" mean and how can I avoid it?

My settings.json:
{
"C_Cpp.clang_format_style": "Visual Studio",
"editor.formatOnSave": false,
"[cpp]": {
"editor.quickSuggestions": true
},
"[c]": {
"editor.quickSuggestions": true
},
"C_Cpp.intelliSenseEngineFallback": "Enabled",
"idf.adapterTargetName": "esp32",
"idf.openOcdConfigs": [
"interface/ftdi/esp32_devkitj_v1.cfg",
"board/esp32-wrover.cfg"
],
"idf.portWin": "COM7",
"idf.toolsPathWin": "C:\\Users\\eg\\.espressif"
}

How can I make debugging work?

Regards
ennogrue

Who is online

Users browsing this forum: No registered users and 54 guests