espressif / vscode-esp-idf-extension

Visual Studio Code extension for ESP-IDF projects
Apache License 2.0
992 stars 290 forks source link

Build, Flash and Monitor task doesn't launch Monitor (VSC-1419) #1235

Open gudvinr opened 3 days ago

gudvinr commented 3 days ago

OS

Linux

Operating System version

Arch Linux

Visual Studio Code version

1.90.0

ESP-IDF version

5.2.2

Python version

3.12

Doctor command output

Doctor command output ``` ---------------------------------------------- ESP-IDF Extension for Visual Studio Code report --------------------------------------------- OS linux x64 6.9.7-arch1-1 System environment variable IDF_PYTHON_ENV_PATH undefined System environment variable PATH /.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/tools/go/bin:/tools/flutter/bin:/tools/android/cmdline-tools/latest/bin:/tools/android/platform-tools:/tools/android/build-tools/34.0.0 System environment variable PYTHON undefined Visual Studio Code version 1.90.0 Visual Studio Code language en Visual Studio Code shell /usr/bin/bash ESP-IDF Extension version 1.8.0 Workspace folder /prog/personal/esp-rt ---------------------------------------------------- Extension configuration settings ------------------------------------------------------ ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH} ESP-IDF Path (idf.espIdfPath) /tools/esp/v5.2.2/esp-idf ESP-MDF Path (idf.espMdfPath) ${env:MDF_PATH} ESP-Matter Path (idf.espMatterPath) ${env:ESP_MATTER_PATH} ESP-HomeKit-SDK Path (idf.espHomeKitSdkPath) ${env:HOMEKIT_PATH} Custom extra paths (idf.customExtraPaths) /tools/esp/tools/tools/xtensa-esp-elf-gdb/14.2_20240403/xtensa-esp-elf-gdb/bin:/tools/esp/tools/tools/riscv32-esp-elf-gdb/14.2_20240403/riscv32-esp-elf-gdb/bin:/tools/esp/tools/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/tools/esp/tools/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin:/tools/esp/tools/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/tools/esp/tools/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/bin:/tools/esp/tools/tools/esp-rom-elfs/20230320 Custom extra vars (idf.customExtraVars) OPENOCD_SCRIPTS: /tools/esp/tools/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts ESP_ROM_ELF_DIR: /tools/esp/tools/tools/esp-rom-elfs/20230320/ Virtual env Python Path (idf.pythonBinPath) /tools/esp/tools/python_env/idf5.2_py3.12_env/bin/python Serial port (idf.port) /dev/ttyACM0 OpenOCD Configs (idf.openOcdConfigs) board/esp32s3-builtin.cfg ESP-IDF Tools Path (idf.toolsPath) /tools/esp/tools Git Path (idf.gitPath) /usr/bin/git Notification Mode (idf.notificationMode) All -------------------------------------------------------- Configurations access ------------------------------------------------------------- Access to ESP-ADF Path (idf.espAdfPath) false Access to ESP-IDF Path (idf.espIdfPath) true Access to ESP-MDF Path (idf.espMdfPath) false Access to ESP-Matter Path (idf.espMatterPath) false Access to ESP-HomeKit Path (idf.espHomeKitSdkPath) false Access to ESP-IDF Custom extra paths Access to /tools/esp/tools/tools/xtensa-esp-elf-gdb/14.2_20240403/xtensa-esp-elf-gdb/bin: true Access to /tools/esp/tools/tools/riscv32-esp-elf-gdb/14.2_20240403/riscv32-esp-elf-gdb/bin: true Access to /tools/esp/tools/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin: true Access to /tools/esp/tools/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin: true Access to /tools/esp/tools/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin: true Access to /tools/esp/tools/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/bin: true Access to /tools/esp/tools/tools/esp-rom-elfs/20230320: true Access to Virtual env Python Path (idf.pythonBinPath) true Access to CMake in environment PATH true Access to Ninja in environment PATH true Access to ESP-IDF Tools Path (idf.toolsPath) true -------------------------------------------------------- Configurations has spaces ------------------------------------------------------------- Spaces in system environment Path false Spaces in ESP-ADF Path (idf.espAdfPath) false Spaces in ESP-IDF Path (idf.espIdfPath) false Spaces in ESP-MDF Path (idf.espMdfPath) false Spaces in ESP-Matter Path (idf.espMatterPath) false Spaces in ESP-HomeKit-SDK Path (idf.espHomeKitSdkPath) false Spaces in ESP-IDF Custom extra paths Spaces in /tools/esp/tools/tools/xtensa-esp-elf-gdb/14.2_20240403/xtensa-esp-elf-gdb/bin: false Spaces in /tools/esp/tools/tools/riscv32-esp-elf-gdb/14.2_20240403/riscv32-esp-elf-gdb/bin: false Spaces in /tools/esp/tools/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin: false Spaces in /tools/esp/tools/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin: false Spaces in /tools/esp/tools/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin: false Spaces in /tools/esp/tools/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/bin: false Spaces in /tools/esp/tools/tools/esp-rom-elfs/20230320: false Spaces in Virtual env Python Path (idf.pythonBinPath) false Spaces in ESP-IDF Tools Path (idf.toolsPath) false ----------------------------------------------------------- Executables Versions ----------------------------------------------------------- Git version 2.45.2 ESP-IDF version 5.2.2 Python version 3.12.4 Python's pip version 24.0 -------------------------------------------------- Project configuration settings ---------------------------------------------------------- -------------------------------------------------- Python packages in idf.pythonBinPath ---------------------------------------------------- bitarray version: 2.9.2 bitstring version: 4.2.3 CacheControl version: 0.14.0 certifi version: 2024.6.2 cffi version: 1.16.0 charset-normalizer version: 3.3.2 click version: 8.0.4 colorama version: 0.4.6 construct version: 2.10.70 contextlib2 version: 21.6.0 cryptography version: 41.0.7 ecdsa version: 0.19.0 esp-coredump version: 1.11.0 esp-debug-backend version: 1.0.3 esp-idf-kconfig version: 1.4.2 esp-idf-monitor version: 1.4.0 esp-idf-panic-decoder version: 1.1.0 esp-idf-size version: 1.4.0 esptool version: 4.7.0 filelock version: 3.14.0 freertos-gdb version: 1.0.3 idf-component-manager version: 1.5.2 idna version: 3.7 intelhex version: 2.3.0 kconfiglib version: 14.1.0 markdown-it-py version: 3.0.0 mdurl version: 0.1.2 msgpack version: 1.0.8 packaging version: 24.0 pip version: 24.0 pyclang version: 0.4.2 pycparser version: 2.22 pyelftools version: 0.31 pygdbmi version: 0.9.0.2 Pygments version: 2.18.0 pyparsing version: 3.1.2 pyserial version: 3.5 PyYAML version: 6.0.1 reedsolo version: 1.7.0 requests version: 2.32.3 requests-file version: 1.5.1 requests-toolbelt version: 1.0.0 rich version: 13.7.1 schema version: 0.7.7 setuptools version: 70.0.0 six version: 1.16.0 tqdm version: 4.66.4 urllib3 version: 1.26.18 ---------------------------------------------------- Check ESP-IDF python requirements.txt ------------------------------------------------- Check ESP-IDF Python packages Python requirements are satisfied. ---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------ Check Debug AdapterPython packages Python requirements are satisfied. ---------------------------------------------------- Visual Studio Code launch.json -------------------------------------------------------- { "version": "0.2.0", "configurations": [ { "type": "gdbtarget", "request": "attach", "name": "Eclipse CDT GDB Adapter" }, { "type": "espidf", "name": "Launch", "request": "launch" } ] } ---------------------------------------------------- Visual Studio Code c_cpp_properties.json ---------------------------------------------- { "configurations": [ { "name": "ESP-IDF", "compilerPath": "${config:idf.toolsPath}/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc", "compileCommands": "${config:idf.buildPath}/compile_commands.json", "includePath": [ "${config:idf.espIdfPath}/components/**", "${config:idf.espIdfPathWin}/components/**", "${workspaceFolder}/**" ], "browse": { "path": [ "${config:idf.espIdfPath}/components", "${config:idf.espIdfPathWin}/components", "${workspaceFolder}" ], "limitSymbolsToIncludedHeaders": true } } ], "version": 4 } ```

Extension

No response

Description

When I run "Build, Flash and Monitor", image builds and gets flashed but Monitor doesn't launch.

Debug Message

Not applicable

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

brianignacio5 commented 3 days ago

Please share the extension log as requested in the issue template. Do you see any error in the ESP-IDF Output channel ?

Windows (%USERPROFILE%.vscode\extensions\espressif.esp-idf-extension-VERSION\esp_idf_vsc_ext.log) Linux-MacOS ($HOME/.vscode/extensions/espressif.esp-idf-extension-VERSION/esp_idf_vsc_ext.log)

Which OS are you using Windows or Arch Linux ?

gudvinr commented 3 days ago

Which OS are you using Windows or Arch Linux ?

Arch Linux. Nut sure why Windows was selected.

Please share the extension log as requested in the issue template.

github didn't allow me to upload issue longer than 64k characters.
esp_idf_vsc_ext.log

Do you see any error in the ESP-IDF Output channel ?

No, just ⚡️ Flashed Successfully (JTag), then OpenOCD issues Software core reset and then silence.

tank104 commented 2 days ago

I noticed in windows the command in monitor has changed (note the '):

1.7.1: C:\Users\XXX.espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:\Users\XXX\esp\v5.2.1\esp-idf\tools\idf_monitor.py -p COM3 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 d:\git_electronics\XXX\build\XXX.elf

1.8.0: 'C:\Users\XXX.espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe' 'C:\Users\XXX\esp\v5.2.1\esp-idf\tools\idf_monitor.py' -p COM3 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 'd:\git_electronics\XXX\build\XXX.elf'

tank104 commented 2 days ago

And this error:

At line:1 char:77

tank104 commented 2 days ago

(Sorry could be seperate issue - noticed mine was on Windows not Linux)

brianignacio5 commented 2 days ago

You could test this vsix installer which is related to a bug fix in the monitor in #1234

@tank104 @gudvinr

gudvinr commented 1 day ago
Doctor output ``` ---------------------------------------------- ESP-IDF Extension for Visual Studio Code report --------------------------------------------- OS linux x64 6.9.7-arch1-1 System environment variable IDF_PYTHON_ENV_PATH undefined System environment variable PATH /.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/tools/go/bin:/tools/flutter/bin:/tools/android/cmdline-tools/latest/bin:/tools/android/platform-tools:/tools/android/build-tools/34.0.0 System environment variable PYTHON undefined Visual Studio Code version 1.90.0 Visual Studio Code language en Visual Studio Code shell /usr/bin/bash ESP-IDF Extension version 1.8.0 Workspace folder /prog/personal/esp-rt ---------------------------------------------------- Extension configuration settings ------------------------------------------------------ ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH} ESP-IDF Path (idf.espIdfPath) /tools/esp/v5.2.2/esp-idf ESP-MDF Path (idf.espMdfPath) ${env:MDF_PATH} ESP-Matter Path (idf.espMatterPath) ${env:ESP_MATTER_PATH} ESP-HomeKit-SDK Path (idf.espHomeKitSdkPath) ${env:HOMEKIT_PATH} Custom extra paths (idf.customExtraPaths) /tools/esp/tools/tools/xtensa-esp-elf-gdb/14.2_20240403/xtensa-esp-elf-gdb/bin:/tools/esp/tools/tools/riscv32-esp-elf-gdb/14.2_20240403/riscv32-esp-elf-gdb/bin:/tools/esp/tools/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/tools/esp/tools/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin:/tools/esp/tools/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/tools/esp/tools/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/bin:/tools/esp/tools/tools/esp-rom-elfs/20230320 Custom extra vars (idf.customExtraVars) OPENOCD_SCRIPTS: /tools/esp/tools/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts ESP_ROM_ELF_DIR: /tools/esp/tools/tools/esp-rom-elfs/20230320/ Virtual env Python Path (idf.pythonBinPath) /tools/esp/tools/python_env/idf5.2_py3.12_env/bin/python Serial port (idf.port) /dev/ttyACM0 OpenOCD Configs (idf.openOcdConfigs) board/esp32s3-builtin.cfg ESP-IDF Tools Path (idf.toolsPath) /tools/esp/tools Git Path (idf.gitPath) /usr/bin/git Notification Mode (idf.notificationMode) All -------------------------------------------------------- Configurations access ------------------------------------------------------------- Access to ESP-ADF Path (idf.espAdfPath) false Access to ESP-IDF Path (idf.espIdfPath) true Access to ESP-MDF Path (idf.espMdfPath) false Access to ESP-Matter Path (idf.espMatterPath) false Access to ESP-HomeKit Path (idf.espHomeKitSdkPath) false Access to ESP-IDF Custom extra paths Access to /tools/esp/tools/tools/xtensa-esp-elf-gdb/14.2_20240403/xtensa-esp-elf-gdb/bin: true Access to /tools/esp/tools/tools/riscv32-esp-elf-gdb/14.2_20240403/riscv32-esp-elf-gdb/bin: true Access to /tools/esp/tools/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin: true Access to /tools/esp/tools/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin: true Access to /tools/esp/tools/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin: true Access to /tools/esp/tools/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/bin: true Access to /tools/esp/tools/tools/esp-rom-elfs/20230320: true Access to Virtual env Python Path (idf.pythonBinPath) true Access to CMake in environment PATH true Access to Ninja in environment PATH true Access to ESP-IDF Tools Path (idf.toolsPath) true -------------------------------------------------------- Configurations has spaces ------------------------------------------------------------- Spaces in system environment Path false Spaces in ESP-ADF Path (idf.espAdfPath) false Spaces in ESP-IDF Path (idf.espIdfPath) false Spaces in ESP-MDF Path (idf.espMdfPath) false Spaces in ESP-Matter Path (idf.espMatterPath) false Spaces in ESP-HomeKit-SDK Path (idf.espHomeKitSdkPath) false Spaces in ESP-IDF Custom extra paths Spaces in /tools/esp/tools/tools/xtensa-esp-elf-gdb/14.2_20240403/xtensa-esp-elf-gdb/bin: false Spaces in /tools/esp/tools/tools/riscv32-esp-elf-gdb/14.2_20240403/riscv32-esp-elf-gdb/bin: false Spaces in /tools/esp/tools/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin: false Spaces in /tools/esp/tools/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin: false Spaces in /tools/esp/tools/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin: false Spaces in /tools/esp/tools/tools/openocd-esp32/v0.12.0-esp32-20240318/openocd-esp32/bin: false Spaces in /tools/esp/tools/tools/esp-rom-elfs/20230320: false Spaces in Virtual env Python Path (idf.pythonBinPath) false Spaces in ESP-IDF Tools Path (idf.toolsPath) false ----------------------------------------------------------- Executables Versions ----------------------------------------------------------- Git version 2.45.2 ESP-IDF version 5.2.2 Python version 3.12.4 Python's pip version 24.0 -------------------------------------------------- Project configuration settings ---------------------------------------------------------- -------------------------------------------------- Python packages in idf.pythonBinPath ---------------------------------------------------- bitarray version: 2.9.2 bitstring version: 4.2.3 CacheControl version: 0.14.0 certifi version: 2024.6.2 cffi version: 1.16.0 charset-normalizer version: 3.3.2 click version: 8.0.4 colorama version: 0.4.6 construct version: 2.10.70 contextlib2 version: 21.6.0 cryptography version: 41.0.7 ecdsa version: 0.19.0 esp-coredump version: 1.11.0 esp-debug-backend version: 1.0.3 esp-idf-kconfig version: 1.4.2 esp-idf-monitor version: 1.4.0 esp-idf-panic-decoder version: 1.1.0 esp-idf-size version: 1.4.0 esptool version: 4.7.0 filelock version: 3.14.0 freertos-gdb version: 1.0.3 idf-component-manager version: 1.5.2 idna version: 3.7 intelhex version: 2.3.0 kconfiglib version: 14.1.0 markdown-it-py version: 3.0.0 mdurl version: 0.1.2 msgpack version: 1.0.8 packaging version: 24.0 pip version: 24.0 pyclang version: 0.4.2 pycparser version: 2.22 pyelftools version: 0.31 pygdbmi version: 0.9.0.2 Pygments version: 2.18.0 pyparsing version: 3.1.2 pyserial version: 3.5 PyYAML version: 6.0.1 reedsolo version: 1.7.0 requests version: 2.32.3 requests-file version: 1.5.1 requests-toolbelt version: 1.0.0 rich version: 13.7.1 schema version: 0.7.7 setuptools version: 70.0.0 six version: 1.16.0 tqdm version: 4.66.4 urllib3 version: 1.26.18 ---------------------------------------------------- Check ESP-IDF python requirements.txt ------------------------------------------------- Check ESP-IDF Python packages Python requirements are satisfied. ---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------ Check Debug AdapterPython packages Python requirements are satisfied. ---------------------------------------------------- Visual Studio Code launch.json -------------------------------------------------------- { "version": "0.2.0", "configurations": [ { "type": "gdbtarget", "request": "attach", "name": "Eclipse CDT GDB Adapter" }, { "type": "espidf", "name": "Launch", "request": "launch" } ] } ---------------------------------------------------- Visual Studio Code c_cpp_properties.json ---------------------------------------------- { "configurations": [ { "name": "ESP-IDF", "compilerPath": "${config:idf.toolsPath}/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc", "compileCommands": "${config:idf.buildPath}/compile_commands.json", "includePath": [ "${config:idf.espIdfPath}/components/**", "${config:idf.espIdfPathWin}/components/**", "${workspaceFolder}/**" ], "browse": { "path": [ "${config:idf.espIdfPath}/components", "${config:idf.espIdfPathWin}/components", "${workspaceFolder}" ], "limitSymbolsToIncludedHeaders": true } } ], "version": 4 } -------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------- Logfile ----------------------------------------------------------------- {"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:25)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:25)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1464939\n\tat ChildProcess.exithandler (node:child_process:414:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:514:28)\n\tat Pipe. (node:net:337:12)","level":"error","timestamp":"2024-07-03T12:41:34.929Z"} {"message":"Cannot access filePath: ${env:ADF_PATH}","stack":"Error: ENOENT: no such file or directory, access '${env:ADF_PATH}'\n\tat Object.access (node:internal/fs/sync:42:11)\n\tat Object.accessSync (node:fs:246:10)\n\tat t.accessSync (node:electron/js2c/node_init:2:8888)\n\tat Se (/home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1461757)\n\tat /home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1685350\n\tat Fs (/home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1686418)\n\tat async /home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1902645","level":"error","timestamp":"2024-07-03T12:43:37.872Z"} {"message":"Cannot access filePath: ${env:MDF_PATH}","stack":"Error: ENOENT: no such file or directory, access '${env:MDF_PATH}'\n\tat Object.access (node:internal/fs/sync:42:11)\n\tat Object.accessSync (node:fs:246:10)\n\tat t.accessSync (node:electron/js2c/node_init:2:8888)\n\tat Se (/home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1461757)\n\tat /home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1685528\n\tat Fs (/home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1686418)\n\tat async /home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1902645","level":"error","timestamp":"2024-07-03T12:43:37.874Z"} {"message":"Cannot access filePath: ${env:ESP_MATTER_PATH}","stack":"Error: ENOENT: no such file or directory, access '${env:ESP_MATTER_PATH}'\n\tat Object.access (node:internal/fs/sync:42:11)\n\tat Object.accessSync (node:fs:246:10)\n\tat t.accessSync (node:electron/js2c/node_init:2:8888)\n\tat Se (/home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1461757)\n\tat /home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1685620\n\tat Fs (/home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1686418)\n\tat async /home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1902645","level":"error","timestamp":"2024-07-03T12:43:37.874Z"} {"message":"Cannot access filePath: ${env:HOMEKIT_PATH}","stack":"Error: ENOENT: no such file or directory, access '${env:HOMEKIT_PATH}'\n\tat Object.access (node:internal/fs/sync:42:11)\n\tat Object.accessSync (node:fs:246:10)\n\tat t.accessSync (node:electron/js2c/node_init:2:8888)\n\tat Se (/home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1461757)\n\tat /home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1685716\n\tat Fs (/home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1686418)\n\tat async /home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1902645","level":"error","timestamp":"2024-07-03T12:43:37.874Z"} {"message":"Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:25)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20240318 (2024-03-18-18:25)\nLicensed under GNU GPL v2\nFor bug reports, read\n\thttp://openocd.org/doc/doxygen/bugs.html\n\n\tat /home/gudvin/.vscode-oss/extensions/espressif.esp-idf-extension-1.8.0/dist/extension.js:2:1464939\n\tat ChildProcess.exithandler (node:child_process:414:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess.emit (node:domain:488:12)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat Socket. (node:internal/child_process:457:11)\n\tat Socket.emit (node:events:514:28)\n\tat Socket.emit (node:domain:488:12)\n\tat Pipe. (node:net:337:12)","level":"error","timestamp":"2024-07-03T12:43:38.881Z"} -------------------------------------------------------------------------------------------------------------------------------------------- ```

Didn't work for me. I see ⚡️ Flashed Successfully (JTag) in OUTPUT tab but Monitor isn't started.

As a side note, you should add +meta tag to automatic builds, like 1.8.0+build.b2940615 or whatever because after installation, vscode says it's installed but there is no difference in doctor output nor in extension UI.

gudvinr commented 1 day ago

Update:
I tried switching flash method to UART and in this case it works. But it doesn't work with JTAG flash method.