[VSCODE+ESP32H2] OpenOCD do not see correct script?
Posted: Tue Oct 03, 2023 10:20 pm
Hello.
I try to use VS Code with Espressif IDF plugin for ESP32-H2-DevKitM1.
When use launch(debug) settings(file settings.json) like this:
openocd give me error, like this:
I have same error, when launch openocd from command line, like this (pass ftdi-script):
openocd.exe -f board\esp32h2-ftdi.cfg
As i think, plugin do not pass board/esp32h2-builtin.cfg builtin script correctly to open ocd.
What's wrong?
Thank you.
I try to use VS Code with Espressif IDF plugin for ESP32-H2-DevKitM1.
When use launch(debug) settings(file settings.json) like this:
- {
- "C_Cpp.intelliSenseEngine": "Tag Parser",
- "idf.adapterTargetName": "esp32h2",
- "cmake.configureOnOpen": false,
- "idf.openOcdConfigs": [
- "board/esp32h2-builtin.cfg"
- ]
- }
- [OpenOCD]
- ❌ Error: unable to open ftdi de ice with description '*', serial '*' at bus location '*'
- C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:4: Error:
- at file "C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 4
openocd.exe -f board\esp32h2-ftdi.cfg
As i think, plugin do not pass board/esp32h2-builtin.cfg builtin script correctly to open ocd.
What's wrong?
Thank you.