I cannot debug using esp-prog and vscode

epareja
Posts: 2
Joined: Thu Sep 08, 2022 4:26 am

I cannot debug using esp-prog and vscode

Postby epareja » Thu Sep 08, 2022 4:35 am

Hello,

I'm quite new to this ESP32 world and I'm struggling to make the debugger to work with my ESP32 dev board.

Last night I was able to debug the board using the esp-prog debugger but now I'm getting an error that I couldn't find the solution.

The main problem is I got this error when trying to debug

embedded:startup.tcl:26: Error: Can't find interface/ftdi/esp32_devkitj_v1.cfg

The whole error is this

Code: Select all

Open On-Chip Debugger  v0.11.0-esp32-20220706 (2022-07-06-15:48)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
embedded:startup.tcl:26: Error: Can't find interface/ftdi/esp32_devkitj_v1.cfg
in procedure 'script' 
at file "embedded:startup.tcl", line 26
.pioinit:11: Error in sourced command file:
Remote communication error.  Target disconnected.: Success.
I tried to modify the path to the esp32_devkitj_v1.cfg to the complete path on the settings.json, but the same result happens.

Code: Select all

"idf.openOcdConfigs": [
    "interface/ftdi/esp32_devkitj_v1.cfg",
    "C:/Users/epare/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts/interface/ftdiesp32_devkitj_v1.cfg",
    "board/esp32-wrover.cfg"
  ],
I also tried to uninstall vscode and espressif plugin (actually all the plugins), but after reinstalling everything is the same.

I don't know what file should I check to make this debugger work again.

Any help is appreciated.

Who is online

Users browsing this forum: No registered users and 99 guests