I'm having problems to start openOCD and it seems to be in the JSON settings.
I'm using VSCODE on Windows 10 to debug an ESP32 using the esp-prog but I'm having this error I've checked and the file it says "interface/ftdi/esp32_devkitj_v1.cfg" is in the openOCD folder.
These are the settings I have in the settings.json
Code: Select all
{
"workbench.colorTheme": "Default Dark+",
"idf.gitPath": "C:\\Users\\epare\\.espressif\\tools\\idf-git\\2.30.1\\cmd\\git.exe",
"idf.espIdfPathWin": "C:\\Users\\epare\\esp\\esp-idf",
"idf.pythonBinPathWin": "C:\\Users\\epare\\.espressif\\python_env\\idf4.4_py3.8_env\\Scripts\\python.exe",
"idf.toolsPathWin": "C:\\Users\\epare\\.espressif",
"idf.customExtraPaths": "C:\\Users\\epare\\.espressif\\tools\\xtensa-esp32-elf\\esp-2021r2-patch3-8.4.0\\xtensa-esp32-elf\\bin;C:\\Users\\epare\\.espressif\\tools\\xtensa-esp32s2-elf\\esp-2021r2-patch3-8.4.0\\xtensa-esp32s2-elf\\bin;C:\\Users\\epare\\.espressif\\tools\\xtensa-esp32s3-elf\\esp-2021r2-patch3-8.4.0\\xtensa-esp32s3-elf\\bin;C:\\Users\\epare\\.espressif\\tools\\riscv32-esp-elf\\esp-2021r2-patch3-8.4.0\\riscv32-esp-elf\\bin;C:\\Users\\epare\\.espressif\\tools\\esp32ulp-elf\\2.28.51-esp-20191205\\esp32ulp-elf-binutils\\bin;C:\\Users\\epare\\.espressif\\tools\\esp32s2ulp-elf\\2.28.51-esp-20191205\\esp32s2ulp-elf-binutils\\bin;C:\\Users\\epare\\.espressif\\tools\\cmake\\3.20.3\\bin;C:\\Users\\epare\\.espressif\\tools\\openocd-esp32\\v0.11.0-esp32-20211220\\openocd-esp32\\bin;C:\\Users\\epare\\.espressif\\tools\\ninja\\1.10.2;C:\\Users\\epare\\.espressif\\tools\\idf-exe\\1.0.3;C:\\Users\\epare\\.espressif\\tools\\ccache\\4.3\\ccache-4.3-windows-64;C:\\Users\\epare\\.espressif\\tools\\dfu-util\\0.9\\dfu-util-0.9-win64",
"idf.customExtraVars": "{\"OPENOCD_SCRIPTS\":\"C:\\Users\\epare\\.espressif\tools\\openocd-esp32\\v0.11.0-esp32-20211220\\openocd-esp32/share/openocd/scripts\",\"IDF_CCACHE_ENABLE\":\"1\"}",
"cmake.configureOnOpen": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"files.associations": {
"*.tpl": "html",
"*.dwt": "html"
},
"php.validate.executablePath": "C:/php-8.1.9/php.exe",
"liveServer.settings.donotVerifyTags": true,
"liveServer.settings.donotShowInfoMsg": true,
"idf.gitPathWin": "C:\\Users\\epare\\.espressif\\tools\\idf-git\\2.30.1\\cmd\\git.exe",
"[cpp]": {
"editor.defaultFormatter": "ms-vscode.cpptools"
},
"idf.cmakeCompilerArgs": [
"-G",
"Ninja",
"-DPYTHON_DEPS_CHECKED=1",
"-DESP_PLATFORM=1",
".."
],
"C_Cpp.clang_format_fallbackStyle": "Google",
"cmake.cmakePath": "C:\\Users\\epare\\.espressif\\tools\\cmake\\3.20.3\\bin\\cmake.exe",
"idf.openOcdConfigs": [
"interface/ftdi/esp32_devkitj_v1.cfg",
"target/esp32.cfg",
"board/esp32-wrover.cfg"
],
"idf.pythonBinPath": "C:\\Users\\epare\\.espressif\\python_env\\idf4.4_py3.8_env\\Scripts\\python.exe",
"platformio-ide.customPyPiIndexUrl": "",
"explorer.confirmDelete": false,
"idf.portWin": "COM7"
}
Please any help with this is needed because I couldn't find anything for days that is helpful here.
Thank you in advance
Ernesto Pareja