espressif / vscode-esp-idf-extension

Visual Studio Code extension for ESP-IDF projects
Apache License 2.0
1.03k stars 298 forks source link

Getting error "Something went wrong while getting serial port list" (VSC-1293) #1133

Closed Louisg0709 closed 6 months ago

Louisg0709 commented 7 months ago

OS

Windows

Operating System version

Windows 11

Visual Studio Code version

1.86.1

ESP-IDF version

5.1.2

Python version

3.12.1

Doctor command output

---------------------------------------------- ESP-IDF Extension for Visual Studio Code report --------------------------------------------- OS win32 x64 10.0.22621 System environment variable IDF_PYTHON_ENV_PATH undefined System environment variable PATH C:\Program Files\Oculus\Support\oculus-runtime;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\LLVM\bin;C:\Program Files\CMake\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:.cargo\bin;C:\AppData\Local\Programs\Python\Launcher\;C:\AppData\Local\Microsoft\WindowsApps;C:\AppData\Local\GitHubDesktop\bin;C:.dotnet\tools;C:\Program Files\Neovim\bin;C:\AppData\Local\Programs\Microsoft VS Code\bin System environment variable PYTHON undefined Visual Studio Code version 1.86.1 Visual Studio Code language en Visual Studio Code shell C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe ESP-IDF Extension version 1.7.0 Workspace folder d:\proj\HelloESP\hello_world ---------------------------------------------------- Extension configuration settings ------------------------------------------------------ ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH} ESP-IDF Path (idf.espIdfPath) C:\esp\v5.1.2\esp-idf ESP-MDF Path (idf.espMdfPath) ${env:MDF_PATH} ESP-Matter Path (idf.espMatterPath) ${env:ESP_MATTER_PATH} Custom extra paths (idf.customExtraPaths) C:.espressif\tools\xtensa-esp-elf-gdb\12.1_20221002\xtensa-esp-elf-gdb\bin;C:.espressif\tools\riscv32-esp-elf-gdb\12.1_20221002\riscv32-esp-elf-gdb\bin;C:.espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin;C:.espressif\tools\xtensa-esp32s2-elf\esp-12.2.0_20230208\xtensa-esp32s2-elf\bin;C:.espressif\tools\xtensa-esp32s3-elf\esp-12.2.0_20230208\xtensa-esp32s3-elf\bin;C:.espressif\tools\riscv32-esp-elf\esp-12.2.0_20230208\riscv32-esp-elf\bin;C:.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:.espressif\tools\cmake\3.24.0\bin;C:.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin;C:.espressif\tools\ninja\1.10.2;C:.espressif\tools\idf-exe\1.0.3;C:.espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64;C:.espressif\tools\dfu-util\0.11\dfu-util-0.11-win64;C:.espressif\tools\esp-rom-elfs\20230320 Custom extra vars (idf.customExtraVars) OPENOCD_SCRIPTS: C:.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts IDF_CCACHE_ENABLE: 1 ESP_ROM_ELF_DIR: C:.espressif\tools\esp-rom-elfs\20230320/ Virtual env Python Path (idf.pythonBinPath) C:.espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe Serial port (idf.port) COM1 OpenOCD Configs (idf.openOcdConfigs) board/esp32s3-builtin.cfg ESP-IDF Tools Path (idf.toolsPath) C:.espressif Git Path (idf.gitPath) C:.espressif\tools\idf-git\2.39.2\cmd\git.exe 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-IDF Custom extra paths Access to C:.espressif\tools\xtensa-esp-elf-gdb\12.1_20221002\xtensa-esp-elf-gdb\bin: true Access to C:.espressif\tools\riscv32-esp-elf-gdb\12.1_20221002\riscv32-esp-elf-gdb\bin: true Access to C:.espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin: true Access to C:.espressif\tools\xtensa-esp32s2-elf\esp-12.2.0_20230208\xtensa-esp32s2-elf\bin: true Access to C:.espressif\tools\xtensa-esp32s3-elf\esp-12.2.0_20230208\xtensa-esp32s3-elf\bin: true Access to C:.espressif\tools\riscv32-esp-elf\esp-12.2.0_20230208\riscv32-esp-elf\bin: true Access to C:.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin: true Access to C:.espressif\tools\cmake\3.24.0\bin: true Access to C:.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin: true Access to C:.espressif\tools\ninja\1.10.2: true Access to C:.espressif\tools\idf-exe\1.0.3: true Access to C:.espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64: true Access to C:.espressif\tools\dfu-util\0.11\dfu-util-0.11-win64: true Access to C:.espressif\tools\esp-rom-elfs\20230320: true Access to Virtual env Python Path (idf.pythonBinPath) true Access to CMake in environment PATH undefined Access to Ninja in environment PATH undefined Access to ESP-IDF Tools Path (idf.toolsPath) true -------------------------------------------------------- Configurations has spaces ------------------------------------------------------------- Spaces in system environment Path true 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-IDF Custom extra paths Spaces in C:.espressif\tools\xtensa-esp-elf-gdb\12.1_20221002\xtensa-esp-elf-gdb\bin: false Spaces in C:.espressif\tools\riscv32-esp-elf-gdb\12.1_20221002\riscv32-esp-elf-gdb\bin: false Spaces in C:.espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin: false Spaces in C:.espressif\tools\xtensa-esp32s2-elf\esp-12.2.0_20230208\xtensa-esp32s2-elf\bin: false Spaces in C:.espressif\tools\xtensa-esp32s3-elf\esp-12.2.0_20230208\xtensa-esp32s3-elf\bin: false Spaces in C:.espressif\tools\riscv32-esp-elf\esp-12.2.0_20230208\riscv32-esp-elf\bin: false Spaces in C:.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin: false Spaces in C:.espressif\tools\cmake\3.24.0\bin: false Spaces in C:.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin: false Spaces in C:.espressif\tools\ninja\1.10.2: false Spaces in C:.espressif\tools\idf-exe\1.0.3: false Spaces in C:.espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64: false Spaces in C:.espressif\tools\dfu-util\0.11\dfu-util-0.11-win64: false Spaces in C:.espressif\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.39.2.windows.1 ESP-IDF version 5.1.2 Python version 3.11.2 Python's pip version 24.0 -------------------------------------------------- Project configuration settings ---------------------------------------------------------- -------------------------------------------------- Python packages in idf.pythonBinPath ---------------------------------------------------- bitarray version: 2.9.2 bitstring version: 4.1.4 CacheControl version: 0.14.0 certifi version: 2024.2.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: 39.0.2 ecdsa version: 0.18.0 esp-coredump version: 1.10.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.0.1 esp-idf-size version: 1.1.1 esptool version: 4.7.0 filelock version: 3.13.1 freertos-gdb version: 1.0.2 idf-component-manager version: 1.4.2 idna version: 3.6 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.7 packaging version: 23.2 pip version: 24.0 pycparser version: 2.21 pyelftools version: 0.29 pygdbmi version: 0.9.0.2 Pygments version: 2.17.2 pyparsing version: 3.0.9 pyserial version: 3.5 pywin32 version: 306 PyYAML version: 6.0.1 reedsolo version: 1.7.0 requests version: 2.31.0 requests-file version: 1.5.1 requests-toolbelt version: 1.0.0 rich version: 13.7.0 schema version: 0.7.5 setuptools version: 69.0.3 six version: 1.16.0 tqdm version: 4.66.1 urllib3 version: 1.26.18 windows-curses version: 2.3.2 ---------------------------------------------------- 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": "espidf", "name": "Launch", "request": "launch" } ] } ---------------------------------------------------- Visual Studio Code c_cpp_properties.json ---------------------------------------------- { "configurations": [ { "name": "ESP-IDF", "compilerPath": "${config:idf.toolsPathWin}\tools\xtensa-esp32s3-elf\esp-12.2.0_20230208\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe", "compileCommands": "${workspaceFolder}/build/compile_commands.json", "includePath": [ "${config:idf.espIdfPath}/components/", "${config:idf.espIdfPathWin}/components/", "${config:idf.espAdfPath}/components/", "${config:idf.espAdfPathWin}/components/", "${workspaceFolder}/" ], "browse": { "path": [ "${config:idf.espIdfPath}/components", "${config:idf.espIdfPathWin}/components", "${config:idf.espAdfPath}/components/", "${config:idf.espAdfPathWin}/components/**", "${workspaceFolder}" ], "limitSymbolsToIncludedHeaders": false } } ], "version": 4 }


Extension

{"message":"Updating files: 2% (333/11826)\rUpdating files: 2% (335/11826)\rUpdating files: 3% (355/11826)\rUpdating files: 4% (474/11826)\rUpdating files: 4% (578/11826)\rUpdating files: 5% (592/11826)\rUpdating files: 6% (710/11826)\rUpdating files: 7% (828/11826)\rUpdating files: 8% (947/11826)\rUpdating files: 8% (977/11826)\rUpdating files: 8% (1055/11826)\rUpdating files: 9% (1065/11826)\rUpdating files: 10% (1183/11826)\rUpdating files: 11% (1301/11826)\rUpdating files: 12% (1420/11826)\rUpdating files: 13% (1538/11826)\rUpdating files: 13% (1539/11826)\rUpdating files: 14% (1656/11826)\rUpdating files: 15% (1774/11826)\rUpdating files: 16% (1893/11826)\rUpdating files: 17% (2011/11826)\rUpdating files: 18% (2129/11826)\rUpdating files: 19% (2247/11826)\rUpdating files: 19% (2279/11826)\rUpdating files: 20% (2366/11826)\rUpdating files: 21% (2484/11826)\rUpdating files: 22% (2602/11826)\rUpdating files: 23% (2720/11826)\rUpdating files: 23% (2800/11826)\rUpdating files: 24% (2839/11826)\rUpdating files: 25% (2957/11826)\rUpdating files: 26% (3075/11826)\rUpdating files: 27% (3194/11826)\rUpdating files: 28% (3312/11826)\rUpdating files: 28% (3322/11826)\rUpdating files: 29% (3430/11826)\rUpdating files: 30% (3548/11826)\rUpdating files: 31% (3667/11826)\rUpdating files: 32% (3785/11826)\rUpdating files: 33% (3903/11826)\rUpdating files: 34% (4021/11826)\rUpdating files: 35% (4140/11826)\rUpdating files: 36% (4258/11826)\rUpdating files: 36% (4266/11826)\rUpdating files: 36% (4315/11826)\rUpdating files: 36% (4357/11826)\rUpdating files: 37% (4376/11826)\rUpdating files: 37% (4414/11826)\rUpdating files: 38% (4494/11826)\rUpdating files: 38% (4540/11826)\rUpdating files: 39% (4613/11826)\rUpdating files: 40% (4731/11826)\rUpdating files: 40% (4740/11826)\rUpdating files: 41% (4849/11826)\rUpdating files: 42% (4967/11826)\rUpdating files: 43% (5086/11826)\rUpdating files: 43% (5159/11826)\rUpdating files: 44% (5204/11826)\rUpdating files: 45% (5322/11826)\rUpdating files: 46% (5440/11826)\rUpdating files: 47% (5559/11826)\rUpdating files: 48% (5677/11826)\rUpdating files: 49% (5795/11826)\rUpdating files: 50% (5913/11826)\rUpdating files: 51% (6032/11826)\rUpdating files: 51% (6078/11826)\rUpdating files: 52% (6150/11826)\rUpdating files: 53% (6268/11826)\rUpdating files: 53% (6279/11826)\rUpdating files: 54% (6387/11826)\rUpdating files: 55% (6505/11826)\rUpdating files: 56% (6623/11826)\rUpdating files: 57% (6741/11826)\rUpdating files: 58% (6860/11826)\rUpdating files: 59% (6978/11826)\rUpdating files: 60% (7096/11826)\rUpdating files: 61% (7214/11826)\rUpdating files: 62% (7333/11826)\rUpdating files: 62% (7372/11826)\rUpdating files: 63% (7451/11826)\rUpdating files: 64% (7569/11826)\rUpdating files: 65% (7687/11826)\rUpdating files: 66% (7806/11826)\rUpdating files: 67% (7924/11826)\rUpdating files: 68% (8042/11826)\rUpdating files: 69% (8160/11826)\rUpdating files: 70% (8279/11826)\rUpdating files: 71% (8397/11826)\rUpdating files: 72% (8515/11826)\rUpdating files: 73% (8633/11826)\rUpdating files: 74% (8752/11826)\rUpdating files: 74% (8794/11826)\rUpdating files: 75% (8870/11826)\rUpdating files: 76% (8988/11826)\rUpdating files: 77% (9107/11826)\rUpdating files: 78% (9225/11826)\rUpdating files: 79% (9343/11826)\rUpdating files: 80% (9461/11826)\rUpdating files: 81% (9580/11826)\rUpdating files: 82% (9698/11826)\rUpdating files: 83% (9816/11826)\rUpdating files: 84% (9934/11826)\rUpdating files: 85% (10053/11826)\rUpdating files: 86% (10171/11826)\rUpdating files: 86% (10270/11826)\rUpdating files: 87% (10289/11826)\rUpdating files: 88% (10407/11826)\rUpdating files: 89% (10526/11826)\rUpdating files: 90% (10644/11826)\rUpdating files: 91% (10762/11826)\rUpdating files: 92% (10880/11826)\rUpdating files: 93% (10999/11826)\rUpdating files: 94% (11117/11826)\rUpdating files: 95% (11235/11826)\rUpdating files: 96% (11353/11826)\rUpdating files: 97% (11472/11826)\rUpdating files: 98% (11590/11826)\rUpdating files: 98% (11591/11826)\rUpdating files: 99% (11708/11826)\rUpdating files: 100% (11826/11826)\rUpdating files: 100% (11826/11826), done.\n","stack":"Error: Updating files: 2% (333/11826)\rUpdating files: 2% (335/11826)\rUpdating files: 3% (355/11826)\rUpdating files: 4% (474/11826)\rUpdating files: 4% (578/11826)\rUpdating files: 5% (592/11826)\rUpdating files: 6% (710/11826)\rUpdating files: 7% (828/11826)\rUpdating files: 8% (947/11826)\rUpdating files: 8% (977/11826)\rUpdating files: 8% (1055/11826)\rUpdating files: 9% (1065/11826)\rUpdating files: 10% (1183/11826)\rUpdating files: 11% (1301/11826)\rUpdating files: 12% (1420/11826)\rUpdating files: 13% (1538/11826)\rUpdating files: 13% (1539/11826)\rUpdating files: 14% (1656/11826)\rUpdating files: 15% (1774/11826)\rUpdating files: 16% (1893/11826)\rUpdating files: 17% (2011/11826)\rUpdating files: 18% (2129/11826)\rUpdating files: 19% (2247/11826)\rUpdating files: 19% (2279/11826)\rUpdating files: 20% (2366/11826)\rUpdating files: 21% (2484/11826)\rUpdating files: 22% (2602/11826)\rUpdating files: 23% (2720/11826)\rUpdating files: 23% (2800/11826)\rUpdating files: 24% (2839/11826)\rUpdating files: 25% (2957/11826)\rUpdating files: 26% (3075/11826)\rUpdating files: 27% (3194/11826)\rUpdating files: 28% (3312/11826)\rUpdating files: 28% (3322/11826)\rUpdating files: 29% (3430/11826)\rUpdating files: 30% (3548/11826)\rUpdating files: 31% (3667/11826)\rUpdating files: 32% (3785/11826)\rUpdating files: 33% (3903/11826)\rUpdating files: 34% (4021/11826)\rUpdating files: 35% (4140/11826)\rUpdating files: 36% (4258/11826)\rUpdating files: 36% (4266/11826)\rUpdating files: 36% (4315/11826)\rUpdating files: 36% (4357/11826)\rUpdating files: 37% (4376/11826)\rUpdating files: 37% (4414/11826)\rUpdating files: 38% (4494/11826)\rUpdating files: 38% (4540/11826)\rUpdating files: 39% (4613/11826)\rUpdating files: 40% (4731/11826)\rUpdating files: 40% (4740/11826)\rUpdating files: 41% (4849/11826)\rUpdating files: 42% (4967/11826)\rUpdating files: 43% (5086/11826)\rUpdating files: 43% (5159/11826)\rUpdating files: 44% (5204/11826)\rUpdating files: 45% (5322/11826)\rUpdating files: 46% (5440/11826)\rUpdating files: 47% (5559/11826)\rUpdating files: 48% (5677/11826)\rUpdating files: 49% (5795/11826)\rUpdating files: 50% (5913/11826)\rUpdating files: 51% (6032/11826)\rUpdating files: 51% (6078/11826)\rUpdating files: 52% (6150/11826)\rUpdating files: 53% (6268/11826)\rUpdating files: 53% (6279/11826)\rUpdating files: 54% (6387/11826)\rUpdating files: 55% (6505/11826)\rUpdating files: 56% (6623/11826)\rUpdating files: 57% (6741/11826)\rUpdating files: 58% (6860/11826)\rUpdating files: 59% (6978/11826)\rUpdating files: 60% (7096/11826)\rUpdating files: 61% (7214/11826)\rUpdating files: 62% (7333/11826)\rUpdating files: 62% (7372/11826)\rUpdating files: 63% (7451/11826)\rUpdating files: 64% (7569/11826)\rUpdating files: 65% (7687/11826)\rUpdating files: 66% (7806/11826)\rUpdating files: 67% (7924/11826)\rUpdating files: 68% (8042/11826)\rUpdating files: 69% (8160/11826)\rUpdating files: 70% (8279/11826)\rUpdating files: 71% (8397/11826)\rUpdating files: 72% (8515/11826)\rUpdating files: 73% (8633/11826)\rUpdating files: 74% (8752/11826)\rUpdating files: 74% (8794/11826)\rUpdating files: 75% (8870/11826)\rUpdating files: 76% (8988/11826)\rUpdating files: 77% (9107/11826)\rUpdating files: 78% (9225/11826)\rUpdating files: 79% (9343/11826)\rUpdating files: 80% (9461/11826)\rUpdating files: 81% (9580/11826)\rUpdating files: 82% (9698/11826)\rUpdating files: 83% (9816/11826)\rUpdating files: 84% (9934/11826)\rUpdating files: 85% (10053/11826)\rUpdating files: 86% (10171/11826)\rUpdating files: 86% (10270/11826)\rUpdating files: 87% (10289/11826)\rUpdating files: 88% (10407/11826)\rUpdating files: 89% (10526/11826)\rUpdating files: 90% (10644/11826)\rUpdating files: 91% (10762/11826)\rUpdating files: 92% (10880/11826)\rUpdating files: 93% (10999/11826)\rUpdating files: 94% (11117/11826)\rUpdating files: 95% (11235/11826)\rUpdating files: 96% (11353/11826)\rUpdating files: 97% (11472/11826)\rUpdating files: 98% (11590/11826)\rUpdating files: 98% (11591/11826)\rUpdating files: 99% (11708/11826)\rUpdating files: 100% (11826/11826)\rUpdating files: 100% (11826/11826), done.\n\n\tat \dist\extension.js:2:1396887\n\tat ChildProcess.exithandler (node:child_process:423:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1091:16)\n\tat Process.onexit (node:internal/child_process:302:5)","level":"error","timestamp":"2024-02-09T22:30:18.407Z"} {"message":"Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n\tat \dist\extension.js:2:1396887\n\tat ChildProcess.exithandler (node:child_process:423:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1091:16)\n\tat Process.onexit (node:internal/child_process:302:5)","level":"error","timestamp":"2024-02-09T22:36:05.815Z"} {"message":"Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n\tat \dist\extension.js:2:1396887\n\tat ChildProcess.exithandler (node:child_process:423:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1091:16)\n\tat Process.onexit (node:internal/child_process:302:5)","level":"error","timestamp":"2024-02-09T22:41:11.328Z"} {"message":"d:\proj\HelloESP\hello_world\build\hello_world.elf doesn't exist. Build this project first.","stack":"Error: d:\proj\HelloESP\hello_world\build\hello_world.elf doesn't exist. Build this project first.\n\tat Hc.resolveDebugConfiguration (\dist\extension.js:2:1766362)","level":"error","timestamp":"2024-02-09T22:46:32.399Z"} {"user":true,"message":"OpenOCD server failed to start because of Error: esp_usb_jtag: could not find or open device!\n❌ Error: esp_usb_jtag: could not find or open device!\r\n","stack":"Error: OpenOCD server failed to start because of Error: esp_usb_jtag: could not find or open device!\n\tat Socket. (\dist\extension.js:2:1424674)\n\tat Socket.emit (node:events:514:28)\n\tat addChunk (node:internal/streams/readable:324:12)\n\tat readableAddChunk (node:internal/streams/readable:297:9)\n\tat Socket.push (node:internal/streams/readable:234:10)\n\tat Pipe.onStreamRead (node:internal/stream_base_commons:190:23)","level":"error","timestamp":"2024-02-09T22:49:29.906Z"} {"user":true,"message":"OpenOCD server failed to start because of Error: \n❌ C:\Users\louis\.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:9: Error: \r\nat file \"C:\Users\louis\.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp_common.cfg\", line 9\r\n","stack":"Error: OpenOCD server failed to start because of Error: \n\tat Socket. (\dist\extension.js:2:1424674)\n\tat Socket.emit (node:events:514:28)\n\tat addChunk (node:internal/streams/readable:324:12)\n\tat readableAddChunk (node:internal/streams/readable:297:9)\n\tat Socket.push (node:internal/streams/readable:234:10)\n\tat Pipe.onStreamRead (node:internal/stream_base_commons:190:23)","level":"error","timestamp":"2024-02-09T22:49:29.908Z"} {"user":true,"message":"OpenOCD Exit with non-zero error code 1","stack":"Error: Spawn exit with non-zero1\n\tat ChildProcess. (\dist\extension.js:2:1425165)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1091:16)\n\tat Process.onexit (node:internal/child_process:302:5)","level":"error","timestamp":"2024-02-09T22:49:29.911Z"} {"user":true,"level":"warn","message":"Can't perform JTag flash, because OpenOCD server is not running!","timestamp":"2024-02-09T22:49:30.761Z"} {"user":true,"message":"Something went wrong while getting the serial port list","stack":"Error: No serial ports found\n\tat \dist\extension.js:2:1427458\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)","level":"error","timestamp":"2024-02-09T22:50:08.378Z"} {"user":true,"message":"Something went wrong while getting the serial port list","stack":"Error: No serial ports found\n\tat \dist\extension.js:2:1427458\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)","level":"error","timestamp":"2024-02-09T22:50:14.515Z"} {"message":"Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n\tat \dist\extension.js:2:1396887\n\tat ChildProcess.exithandler (node:child_process:423:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1091:16)\n\tat Socket. (node:internal/child_process:449:11)\n\tat Socket.emit (node:events:514:28)\n\tat Pipe. (node:net:323:12)","level":"error","timestamp":"2024-02-09T22:51:25.880Z"} {"user":true,"level":"warn","message":"Can't perform JTag flash, because OpenOCD server is not running!","timestamp":"2024-02-09T22:51:49.820Z"} {"user":true,"message":"Something went wrong while getting the serial port list","stack":"Error: No serial ports found\n\tat \dist\extension.js:2:1427458\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)","level":"error","timestamp":"2024-02-09T22:52:02.228Z"} {"user":true,"message":"OpenOCD server failed to start because of Error: esp_usb_jtag: could not find or open device!\n❌ Error: esp_usb_jtag: could not find or open device!\r\n","stack":"Error: OpenOCD server failed to start because of Error: esp_usb_jtag: could not find or open device!\n\tat Socket. (\dist\extension.js:2:1424674)\n\tat Socket.emit (node:events:514:28)\n\tat addChunk (node:internal/streams/readable:324:12)\n\tat readableAddChunk (node:internal/streams/readable:297:9)\n\tat Socket.push (node:internal/streams/readable:234:10)\n\tat Pipe.onStreamRead (node:internal/stream_base_commons:190:23)","level":"error","timestamp":"2024-02-09T22:54:35.023Z"} {"user":true,"message":"OpenOCD server failed to start because of Error: \n❌ C:\Users\louis\.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp_common.cfg:9: Error: \r\nat file \"C:\Users\louis\.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts/target/esp_common.cfg\", line 9\r\n","stack":"Error: OpenOCD server failed to start because of Error: \n\tat Socket. (\dist\extension.js:2:1424674)\n\tat Socket.emit (node:events:514:28)\n\tat addChunk (node:internal/streams/readable:324:12)\n\tat readableAddChunk (node:internal/streams/readable:297:9)\n\tat Socket.push (node:internal/streams/readable:234:10)\n\tat Pipe.onStreamRead (node:internal/stream_base_commons:190:23)","level":"error","timestamp":"2024-02-09T22:54:35.025Z"} {"user":true,"message":"OpenOCD Exit with non-zero error code 1","stack":"Error: Spawn exit with non-zero1\n\tat ChildProcess. (\dist\extension.js:2:1425165)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1091:16)\n\tat Process.onexit (node:internal/child_process:302:5)","level":"error","timestamp":"2024-02-09T22:54:35.031Z"} {"user":true,"level":"warn","message":"Can't perform JTag flash, because OpenOCD server is not running!","timestamp":"2024-02-09T22:54:35.962Z"} {"user":true,"message":"Something went wrong while getting the serial port list","stack":"Error: No serial ports found\n\tat \dist\extension.js:2:1427458\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)","level":"error","timestamp":"2024-02-09T22:54:52.665Z"} {"user":true,"message":"Something went wrong while getting the serial port list","stack":"Error: No serial ports found\n\tat \dist\extension.js:2:1427458\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)","level":"error","timestamp":"2024-02-09T22:55:59.078Z"} {"user":true,"message":"Something went wrong while getting the serial port list","stack":"Error: No serial ports found\n\tat \dist\extension.js:2:1427458\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)","level":"error","timestamp":"2024-02-09T22:58:39.024Z"} {"message":"Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n\tat \dist\extension.js:2:1396887\n\tat ChildProcess.exithandler (node:child_process:423:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1091:16)\n\tat Process.onexit (node:internal/child_process:302:5)","level":"error","timestamp":"2024-02-09T23:00:35.260Z"} {"message":"Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n\tat \dist\extension.js:2:1396887\n\tat ChildProcess.exithandler (node:child_process:423:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1091:16)\n\tat Process.onexit (node:internal/child_process:302:5)","level":"error","timestamp":"2024-02-09T23:00:35.928Z"} {"user":true,"message":"Something went wrong while getting the serial port list","stack":"Error: No serial ports found\n\tat \dist\extension.js:2:1427458\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)","level":"error","timestamp":"2024-02-09T23:04:30.143Z"} {"message":"Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n\tat \dist\extension.js:2:1396887\n\tat ChildProcess.exithandler (node:child_process:423:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1091:16)\n\tat Process.onexit (node:internal/child_process:302:5)","level":"error","timestamp":"2024-02-09T23:06:01.589Z"} {"message":"Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n\tat \dist\extension.js:2:1396887\n\tat ChildProcess.exithandler (node:child_process:423:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1091:16)\n\tat Process.onexit (node:internal/child_process:302:5)","level":"error","timestamp":"2024-02-09T23:06:02.241Z"} {"message":"Cannot access filePath: ${env:ADF_PATH}","stack":"Error: ENOENT: no such file or directory, access '${env:ADF_PATH}'\n\tat Object.accessSync (node:fs:264:3)\n\tat Object.accessSync (node:electron/js2c/asar_bundle:2:8579)\n\tat ke (\dist\extension.js:2:1394006)\n\tat \dist\extension.js:2:1739152\n\tat \dist\extension.js:2:1740115\n\tat async \dist\extension.js:2:1737521","level":"error","timestamp":"2024-02-09T23:07:07.546Z"} {"message":"Cannot access filePath: ${env:MDF_PATH}","stack":"Error: ENOENT: no such file or directory, access '${env:MDF_PATH}'\n\tat Object.accessSync (node:fs:264:3)\n\tat Object.accessSync (node:electron/js2c/asar_bundle:2:8579)\n\tat ke (\dist\extension.js:2:1394006)\n\tat \dist\extension.js:2:1739330\n\tat \dist\extension.js:2:1740115\n\tat async \dist\extension.js:2:1737521","level":"error","timestamp":"2024-02-09T23:07:07.547Z"} {"message":"Cannot access filePath: ${env:ESP_MATTER_PATH}","stack":"Error: ENOENT: no such file or directory, access '${env:ESP_MATTER_PATH}'\n\tat Object.accessSync (node:fs:264:3)\n\tat Object.accessSync (node:electron/js2c/asar_bundle:2:8579)\n\tat ke (\dist\extension.js:2:1394006)\n\tat \dist\extension.js:2:1739422\n\tat \dist\extension.js:2:1740115\n\tat async \dist\extension.js:2:1737521","level":"error","timestamp":"2024-02-09T23:07:07.547Z"} {"message":"Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n","stack":"Error: Open On-Chip Debugger v0.12.0-esp32-20230921 (2023-09-21-13:40)\r\nLicensed under GNU GPL v2\r\nFor bug reports, read\r\n\thttp://openocd.org/doc/doxygen/bugs.html\r\n\n\tat \dist\extension.js:2:1396887\n\tat ChildProcess.exithandler (node:child_process:423:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1091:16)\n\tat Process.onexit (node:internal/child_process:302:5)","level":"error","timestamp":"2024-02-09T23:07:09.321Z"} {"tag":"DOCTOR COMMAND","user":true,"level":"warn","message":"{\"configurationSettings\":{\"espAdfPath\":\"${env:ADF_PATH}\",\"espIdfPath\":\"C:\\esp\\v5.1.2\\esp-idf\",\"espMdfPath\":\"${env:MDF_PATH}\",\"espMatterPath\":\"${env:ESP_MATTER_PATH}\",\"customTerminalExecutable\":\"\",\"customTerminalExecutableArgs\":[],\"customExtraPaths\":\"C:\\.espressif\\tools\\xtensa-esp-elf-gdb\\12.1_20221002\\xtensa-esp-elf-gdb\\bin;C:\\.espressif\\tools\\riscv32-esp-elf-gdb\\12.1_20221002\\riscv32-esp-elf-gdb\\bin;C:\\.espressif\\tools\\xtensa-esp32-elf\\esp-12.2.0_20230208\\xtensa-esp32-elf\\bin;C:\\.espressif\\tools\\xtensa-esp32s2-elf\\esp-12.2.0_20230208\\xtensa-esp32s2-elf\\bin;C:\\.espressif\\tools\\xtensa-esp32s3-elf\\esp-12.2.0_20230208\\xtensa-esp32s3-elf\\bin;C:\\.espressif\\tools\\riscv32-esp-elf\\esp-12.2.0_20230208\\riscv32-esp-elf\\bin;C:\\.espressif\\tools\\esp32ulp-elf\\2.35_20220830\\esp32ulp-elf\\bin;C:\\.espressif\\tools\\cmake\\3.24.0\\bin;C:\\.espressif\\tools\\openocd-esp32\\v0.12.0-esp32-20230921\\openocd-esp32\\bin;C:\\.espressif\\tools\\ninja\\1.10.2;C:\\.espressif\\tools\\idf-exe\\1.0.3;C:\\.espressif\\tools\\ccache\\4.8\\ccache-4.8-windows-x86_64;C:\\.espressif\\tools\\dfu-util\\0.11\\dfu-util-0.11-win64;C:\\.espressif\\tools\\esp-rom-elfs\\20230320\",\"customExtraVars\":{\"OPENOCD_SCRIPTS\":\"C:\\.espressif\\tools\\openocd-esp32\\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts\",\"IDF_CCACHE_ENABLE\":\"1\",\"ESP_ROM_ELF_DIR\":\"C:\\.espressif\\tools\\esp-rom-elfs\\20230320/\"},\"notificationMode\":\"All\",\"pythonBinPath\":\"C:\\.espressif\\python_env\\idf5.1_py3.11_env\\Scripts\\python.exe\",\"pythonPackages\":[{\"name\":\"bitarray\",\"version\":\"2.9.2\"},{\"name\":\"bitstring\",\"version\":\"4.1.4\"},{\"name\":\"CacheControl\",\"version\":\"0.14.0\"},{\"name\":\"certifi\",\"version\":\"2024.2.2\"},{\"name\":\"cffi\",\"version\":\"1.16.0\"},{\"name\":\"charset-normalizer\",\"version\":\"3.3.2\"},{\"name\":\"click\",\"version\":\"8.0.4\"},{\"name\":\"colorama\",\"version\":\"0.4.6\"},{\"name\":\"construct\",\"version\":\"2.10.70\"},{\"name\":\"contextlib2\",\"version\":\"21.6.0\"},{\"name\":\"cryptography\",\"version\":\"39.0.2\"},{\"name\":\"ecdsa\",\"version\":\"0.18.0\"},{\"name\":\"esp-coredump\",\"version\":\"1.10.0\"},{\"name\":\"esp-debug-backend\",\"version\":\"1.0.3\"},{\"name\":\"esp-idf-kconfig\",\"version\":\"1.4.2\"},{\"name\":\"esp-idf-monitor\",\"version\":\"1.4.0\"},{\"name\":\"esp-idf-panic-decoder\",\"version\":\"1.0.1\"},{\"name\":\"esp-idf-size\",\"version\":\"1.1.1\"},{\"name\":\"esptool\",\"version\":\"4.7.0\"},{\"name\":\"filelock\",\"version\":\"3.13.1\"},{\"name\":\"freertos-gdb\",\"version\":\"1.0.2\"},{\"name\":\"idf-component-manager\",\"version\":\"1.4.2\"},{\"name\":\"idna\",\"version\":\"3.6\"},{\"name\":\"intelhex\",\"version\":\"2.3.0\"},{\"name\":\"kconfiglib\",\"version\":\"14.1.0\"},{\"name\":\"markdown-it-py\",\"version\":\"3.0.0\"},{\"name\":\"mdurl\",\"version\":\"0.1.2\"},{\"name\":\"msgpack\",\"version\":\"1.0.7\"},{\"name\":\"packaging\",\"version\":\"23.2\"},{\"name\":\"pip\",\"version\":\"24.0\"},{\"name\":\"pycparser\",\"version\":\"2.21\"},{\"name\":\"pyelftools\",\"version\":\"0.29\"},{\"name\":\"pygdbmi\",\"version\":\"0.9.0.2\"},{\"name\":\"Pygments\",\"version\":\"2.17.2\"},{\"name\":\"pyparsing\",\"version\":\"3.0.9\"},{\"name\":\"pyserial\",\"version\":\"3.5\"},{\"name\":\"pywin32\",\"version\":\"306\"},{\"name\":\"PyYAML\",\"version\":\"6.0.1\"},{\"name\":\"reedsolo\",\"version\":\"1.7.0\"},{\"name\":\"requests\",\"version\":\"2.31.0\"},{\"name\":\"requests-file\",\"version\":\"1.5.1\"},{\"name\":\"requests-toolbelt\",\"version\":\"1.0.0\"},{\"name\":\"rich\",\"version\":\"13.7.0\"},{\"name\":\"schema\",\"version\":\"0.7.5\"},{\"name\":\"setuptools\",\"version\":\"69.0.3\"},{\"name\":\"six\",\"version\":\"1.16.0\"},{\"name\":\"tqdm\",\"version\":\"4.66.1\"},{\"name\":\"urllib3\",\"version\":\"1.26.18\"},{\"name\":\"windows-curses\",\"version\":\"2.3.2\"}],\"serialPort\":\"COM1\",\"openOcdConfigs\":[\"board/esp32s3-builtin.cfg\"],\"toolsPath\":\"C:\\.espressif\",\"systemEnvPath\":\"C:\\Program Files\\Oculus\\Support\\oculus-runtime;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\LLVM\\bin;C:\\Program Files\\CMake\\bin;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\.cargo\\bin;C:\\AppData\\Local\\Programs\\Python\\Launcher\\;C:\\AppData\\Local\\Microsoft\\WindowsApps;C:\\AppData\\Local\\GitHubDesktop\\bin;C:\\.dotnet\\tools;C:\\Program Files\\Neovim\\bin;C:\\AppData\\Local\\Programs\\Microsoft VS Code\\bin\",\"gitPath\":\"C:\\.espressif\\tools\\idf-git\\2.39.2\\cmd\\git.exe\"},\"cCppPropertiesJson\":\"{\n \\"configurations\\": [\n {\n \\"name\\": \\"ESP-IDF\\",\n \\"compilerPath\\": \\"${config:idf.toolsPathWin}\\\\tools\\\\xtensa-esp32s3-elf\\\\esp-12.2.0_20230208\\\\xtensa-esp32s3-elf\\\\bin\\\\xtensa-esp32s3-elf-gcc.exe\\",\n \\"compileCommands\\": \\"${workspaceFolder}/build/compile_commands.json\\",\n \\"includePath\\": [\n \\"${config:idf.espIdfPath}/components/\\",\n \\"${config:idf.espIdfPathWin}/components/\\",\n \\"${config:idf.espAdfPath}/components/\\",\n \\"${config:idf.espAdfPathWin}/components/\\",\n \\"${workspaceFolder}/\\"\n ],\n \\"browse\\": {\n \\"path\\": [\n \\"${config:idf.espIdfPath}/components\\",\n \\"${config:idf.espIdfPathWin}/components\\",\n \\"${config:idf.espAdfPath}/components/\\",\n \\"${config:idf.espAdfPathWin}/components/**\\",\n \\"${workspaceFolder}\\"\n ],\n \\"limitSymbolsToIncludedHeaders\\": false\n }\n }\n ],\n \\"version\\": 4\n}\n\",\"configurationAccess\":{\"espIdfPath\":true,\"espAdfPath\":false,\"espMdfPath\":false,\"espMatterPath\":false,\"espIdfToolsPaths\":{\"C:\\.espressif\\tools\\xtensa-esp-elf-gdb\\12.1_20221002\\xtensa-esp-elf-gdb\\bin\":true,\"C:\\.espressif\\tools\\riscv32-esp-elf-gdb\\12.1_20221002\\riscv32-esp-elf-gdb\\bin\":true,\"C:\\.espressif\\tools\\xtensa-esp32-elf\\esp-12.2.0_20230208\\xtensa-esp32-elf\\bin\":true,\"C:\\.espressif\\tools\\xtensa-esp32s2-elf\\esp-12.2.0_20230208\\xtensa-esp32s2-elf\\bin\":true,\"C:\\.espressif\\tools\\xtensa-esp32s3-elf\\esp-12.2.0_20230208\\xtensa-esp32s3-elf\\bin\":true,\"C:\\.espressif\\tools\\riscv32-esp-elf\\esp-12.2.0_20230208\\riscv32-esp-elf\\bin\":true,\"C:\\.espressif\\tools\\esp32ulp-elf\\2.35_20220830\\esp32ulp-elf\\bin\":true,\"C:\\.espressif\\tools\\cmake\\3.24.0\\bin\":true,\"C:\\.espressif\\tools\\openocd-esp32\\v0.12.0-esp32-20230921\\openocd-esp32\\bin\":true,\"C:\\.espressif\\tools\\ninja\\1.10.2\":true,\"C:\\.espressif\\tools\\idf-exe\\1.0.3\":true,\"C:\\.espressif\\tools\\ccache\\4.8\\ccache-4.8-windows-x86_64\":true,\"C:\\.espressif\\tools\\dfu-util\\0.11\\dfu-util-0.11-win64\":true,\"C:\\.espressif\\tools\\esp-rom-elfs\\20230320\":true},\"pythonBinPath\":true,\"toolsPath\":true},\"configurationSpacesValidation\":{\"customExtraPaths\":{\"C:\\.espressif\\tools\\xtensa-esp-elf-gdb\\12.1_20221002\\xtensa-esp-elf-gdb\\bin\":false,\"C:\\.espressif\\tools\\riscv32-esp-elf-gdb\\12.1_20221002\\riscv32-esp-elf-gdb\\bin\":false,\"C:\\.espressif\\tools\\xtensa-esp32-elf\\esp-12.2.0_20230208\\xtensa-esp32-elf\\bin\":false,\"C:\\.espressif\\tools\\xtensa-esp32s2-elf\\esp-12.2.0_20230208\\xtensa-esp32s2-elf\\bin\":false,\"C:\\.espressif\\tools\\xtensa-esp32s3-elf\\esp-12.2.0_20230208\\xtensa-esp32s3-elf\\bin\":false,\"C:\\.espressif\\tools\\riscv32-esp-elf\\esp-12.2.0_20230208\\riscv32-esp-elf\\bin\":false,\"C:\\.espressif\\tools\\esp32ulp-elf\\2.35_20220830\\esp32ulp-elf\\bin\":false,\"C:\\.espressif\\tools\\cmake\\3.24.0\\bin\":false,\"C:\\.espressif\\tools\\openocd-esp32\\v0.12.0-esp32-20230921\\openocd-esp32\\bin\":false,\"C:\\.espressif\\tools\\ninja\\1.10.2\":false,\"C:\\.espressif\\tools\\idf-exe\\1.0.3\":false,\"C:\\.espressif\\tools\\ccache\\4.8\\ccache-4.8-windows-x86_64\":false,\"C:\\.espressif\\tools\\dfu-util\\0.11\\dfu-util-0.11-win64\":false,\"C:\\.espressif\\tools\\esp-rom-elfs\\20230320\":false},\"espAdfPath\":false,\"espIdfPath\":false,\"espMatterPath\":false,\"espMdfPath\":false,\"gitPath\":false,\"pythonBinPath\":false,\"toolsPath\":false,\"systemEnvPath\":true},\"debugAdapterRequirements\":{\"output\":\"Python requirements are satisfied.\",\"result\":\"Python requirements are satisfied.\"},\"espIdfToolsVersions\":[{\"actual\":\"12.1_20221002\",\"description\":\"GDB for Xtensa\",\"doesToolExist\":true,\"env\":{},\"expected\":\"12.1_20221002\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"xtensa-esp-elf-gdb\",\"name\":\"xtensa-esp-elf-gdb\",\"path\":\"C:\\.espressif\\xtensa-esp-elf-gdb\\12.1_20221002\\xtensa-esp-elf-gdb\\bin\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"12.1_20221002\",\"description\":\"GDB for RISC-V\",\"doesToolExist\":true,\"env\":{},\"expected\":\"12.1_20221002\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"riscv32-esp-elf-gdb\",\"name\":\"riscv32-esp-elf-gdb\",\"path\":\"C:\\.espressif\\riscv32-esp-elf-gdb\\12.1_20221002\\riscv32-esp-elf-gdb\\bin\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"esp-12.2.0_20230208\",\"description\":\"Toolchain for Xtensa (ESP32) based on GCC\",\"doesToolExist\":true,\"env\":{},\"expected\":\"esp-12.2.0_20230208\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"xtensa-esp32-elf\",\"name\":\"xtensa-esp32-elf\",\"path\":\"C:\\.espressif\\xtensa-esp32-elf\\esp-12.2.0_20230208\\xtensa-esp32-elf\\bin\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"esp-12.2.0_20230208\",\"description\":\"Toolchain for Xtensa (ESP32-S2) based on GCC\",\"doesToolExist\":true,\"env\":{},\"expected\":\"esp-12.2.0_20230208\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"xtensa-esp32s2-elf\",\"name\":\"xtensa-esp32s2-elf\",\"path\":\"C:\\.espressif\\xtensa-esp32s2-elf\\esp-12.2.0_20230208\\xtensa-esp32s2-elf\\bin\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"esp-12.2.0_20230208\",\"description\":\"Toolchain for Xtensa (ESP32-S3) based on GCC\",\"doesToolExist\":true,\"env\":{},\"expected\":\"esp-12.2.0_20230208\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"xtensa-esp32s3-elf\",\"name\":\"xtensa-esp32s3-elf\",\"path\":\"C:\\.espressif\\xtensa-esp32s3-elf\\esp-12.2.0_20230208\\xtensa-esp32s3-elf\\bin\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"esp-12.2.0_20230208\",\"description\":\"Toolchain for 32-bit RISC-V based on GCC\",\"doesToolExist\":true,\"env\":{},\"expected\":\"esp-12.2.0_20230208\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"riscv32-esp-elf\",\"name\":\"riscv32-esp-elf\",\"path\":\"C:\\.espressif\\riscv32-esp-elf\\esp-12.2.0_20230208\\riscv32-esp-elf\\bin\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"2.35_20220830\",\"description\":\"Toolchain for ESP32 ULP coprocessor\",\"doesToolExist\":true,\"env\":{},\"expected\":\"2.35_20220830\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"esp32ulp-elf\",\"name\":\"esp32ulp-elf\",\"path\":\"C:\\.espressif\\esp32ulp-elf\\2.35_20220830\\esp32ulp-elf\\bin\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"3.24.0\",\"description\":\"CMake build system\",\"doesToolExist\":true,\"env\":{},\"expected\":\"3.24.0,3.16.3\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"cmake\",\"name\":\"cmake\",\"path\":\"C:\\.espressif\\cmake\\3.24.0\\bin\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"v0.12.0-esp32-20230921\",\"description\":\"OpenOCD for ESP32\",\"doesToolExist\":true,\"env\":{\"OPENOCD_SCRIPTS\":\"C:\\.espressif\\openocd-esp32\\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts\"},\"expected\":\"v0.12.0-esp32-20230921\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"openocd-esp32\",\"name\":\"openocd-esp32\",\"path\":\"C:\\.espressif\\openocd-esp32\\v0.12.0-esp32-20230921\\openocd-esp32\\bin\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"1.10.2\",\"description\":\"Ninja build system\",\"doesToolExist\":true,\"env\":{},\"expected\":\"1.10.2\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"ninja\",\"name\":\"ninja\",\"path\":\"C:\\.espressif\\ninja\\1.10.2\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"1.0.3\",\"description\":\"IDF wrapper tool for Windows\",\"doesToolExist\":true,\"env\":{},\"expected\":\"1.0.3\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"idf-exe\",\"name\":\"idf-exe\",\"path\":\"C:\\.espressif\\idf-exe\\1.0.3\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"4.8\",\"description\":\"Ccache (compiler cache)\",\"doesToolExist\":true,\"env\":{\"IDF_CCACHE_ENABLE\":\"1\"},\"expected\":\"4.8\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"ccache\",\"name\":\"ccache\",\"path\":\"C:\\.espressif\\ccache\\4.8\\ccache-4.8-windows-x86_64\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"0.11\",\"description\":\"dfu-util (Device Firmware Upgrade Utilities)\",\"doesToolExist\":true,\"env\":{},\"expected\":\"0.11\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"dfu-util\",\"name\":\"dfu-util\",\"path\":\"C:\\.espressif\\dfu-util\\0.11\\dfu-util-0.11-win64\",\"progress\":\"0.00%\",\"progressDetail\":\"\"},{\"actual\":\"No command version\",\"description\":\"ESP ROM ELFs\",\"doesToolExist\":true,\"env\":{\"ESP_ROM_ELF_DIR\":\"C:\\.espressif\\esp-rom-elfs\\20230320/\"},\"expected\":\"\",\"hashResult\":true,\"hasFailed\":false,\"id\":\"esp-rom-elfs\",\"name\":\"esp-rom-elfs\",\"path\":\"C:\\.espressif\\esp-rom-elfs\\20230320\",\"progress\":\"0.00%\",\"progressDetail\":\"\"}],\"espIdfVersion\":{\"output\":\"5.1.2\",\"result\":\"5.1.2\"},\"gitVersion\":{\"output\":\"git version 2.39.2.windows.1\n\",\"result\":\"2.39.2.windows.1\"},\"idfCheckRequirements\":{\"output\":\"Python requirements are satisfied.\",\"result\":\"Python requirements are satisfied.\"},\"launchJson\":\"{\n \\"version\\": \\"0.2.0\\",\n \\"configurations\\": [\n {\n \\"type\\": \\"espidf\\",\n \\"name\\": \\"Launch\\",\n \\"request\\": \\"launch\\"\n }\n ]\n}\",\"pipVersion\":{\"output\":\"pip 24.0 from C:\\.espressif\\python_env\\idf5.1_py3.11_env\\Lib\\site-packages\\pip (python 3.11)\r\r\n\",\"result\":\"24.0\"},\"pythonPackages\":{\"output\":\"[{\\"name\\": \\"bitarray\\", \\"version\\": \\"2.9.2\\"}, {\\"name\\": \\"bitstring\\", \\"version\\": \\"4.1.4\\"}, {\\"name\\": \\"CacheControl\\", \\"version\\": \\"0.14.0\\"}, {\\"name\\": \\"certifi\\", \\"version\\": \\"2024.2.2\\"}, {\\"name\\": \\"cffi\\", \\"version\\": \\"1.16.0\\"}, {\\"name\\": \\"charset-normalizer\\", \\"version\\": \\"3.3.2\\"}, {\\"name\\": \\"click\\", \\"version\\": \\"8.0.4\\"}, {\\"name\\": \\"colorama\\", \\"version\\": \\"0.4.6\\"}, {\\"name\\": \\"construct\\", \\"version\\": \\"2.10.70\\"}, {\\"name\\": \\"contextlib2\\", \\"version\\": \\"21.6.0\\"}, {\\"name\\": \\"cryptography\\", \\"version\\": \\"39.0.2\\"}, {\\"name\\": \\"ecdsa\\", \\"version\\": \\"0.18.0\\"}, {\\"name\\": \\"esp-coredump\\", \\"version\\": \\"1.10.0\\"}, {\\"name\\": \\"esp-debug-backend\\", \\"version\\": \\"1.0.3\\"}, {\\"name\\": \\"esp-idf-kconfig\\", \\"version\\": \\"1.4.2\\"}, {\\"name\\": \\"esp-idf-monitor\\", \\"version\\": \\"1.4.0\\"}, {\\"name\\": \\"esp-idf-panic-decoder\\", \\"version\\": \\"1.0.1\\"}, {\\"name\\": \\"esp-idf-size\\", \\"version\\": \\"1.1.1\\"}, {\\"name\\": \\"esptool\\", \\"version\\": \\"4.7.0\\"}, {\\"name\\": \\"filelock\\", \\"version\\": \\"3.13.1\\"}, {\\"name\\": \\"freertos-gdb\\", \\"version\\": \\"1.0.2\\"}, {\\"name\\": \\"idf-component-manager\\", \\"version\\": \\"1.4.2\\"}, {\\"name\\": \\"idna\\", \\"version\\": \\"3.6\\"}, {\\"name\\": \\"intelhex\\", \\"version\\": \\"2.3.0\\"}, {\\"name\\": \\"kconfiglib\\", \\"version\\": \\"14.1.0\\"}, {\\"name\\": \\"markdown-it-py\\", \\"version\\": \\"3.0.0\\"}, {\\"name\\": \\"mdurl\\", \\"version\\": \\"0.1.2\\"}, {\\"name\\": \\"msgpack\\", \\"version\\": \\"1.0.7\\"}, {\\"name\\": \\"packaging\\", \\"version\\": \\"23.2\\"}, {\\"name\\": \\"pip\\", \\"version\\": \\"24.0\\"}, {\\"name\\": \\"pycparser\\", \\"version\\": \\"2.21\\"}, {\\"name\\": \\"pyelftools\\", \\"version\\": \\"0.29\\"}, {\\"name\\": \\"pygdbmi\\", \\"version\\": \\"0.9.0.2\\"}, {\\"name\\": \\"Pygments\\", \\"version\\": \\"2.17.2\\"}, {\\"name\\": \\"pyparsing\\", \\"version\\": \\"3.0.9\\"}, {\\"name\\": \\"pyserial\\", \\"version\\": \\"3.5\\"}, {\\"name\\": \\"pywin32\\", \\"version\\": \\"306\\"}, {\\"name\\": \\"PyYAML\\", \\"version\\": \\"6.0.1\\"}, {\\"name\\": \\"reedsolo\\", \\"version\\": \\"1.7.0\\"}, {\\"name\\": \\"requests\\", \\"version\\": \\"2.31.0\\"}, {\\"name\\": \\"requests-file\\", \\"version\\": \\"1.5.1\\"}, {\\"name\\": \\"requests-toolbelt\\", \\"version\\": \\"1.0.0\\"}, {\\"name\\": \\"rich\\", \\"version\\": \\"13.7.0\\"}, {\\"name\\": \\"schema\\", \\"version\\": \\"0.7.5\\"}, {\\"name\\": \\"setuptools\\", \\"version\\": \\"69.0.3\\"}, {\\"name\\": \\"six\\", \\"version\\": \\"1.16.0\\"}, {\\"name\\": \\"tqdm\\", \\"version\\": \\"4.66.1\\"}, {\\"name\\": \\"urllib3\\", \\"version\\": \\"1.26.18\\"}, {\\"name\\": \\"windows-curses\\", \\"version\\": \\"2.3.2\\"}]\r\n\",\"result\":\"[{\\"name\\": \\"bitarray\\", \\"version\\": \\"2.9.2\\"}, {\\"name\\": \\"bitstring\\", \\"version\\": \\"4.1.4\\"}, {\\"name\\": \\"CacheControl\\", \\"version\\": \\"0.14.0\\"}, {\\"name\\": \\"certifi\\", \\"version\\": \\"2024.2.2\\"}, {\\"name\\": \\"cffi\\", \\"version\\": \\"1.16.0\\"}, {\\"name\\": \\"charset-normalizer\\", \\"version\\": \\"3.3.2\\"}, {\\"name\\": \\"click\\", \\"version\\": \\"8.0.4\\"}, {\\"name\\": \\"colorama\\", \\"version\\": \\"0.4.6\\"}, {\\"name\\": \\"construct\\", \\"version\\": \\"2.10.70\\"}, {\\"name\\": \\"contextlib2\\", \\"version\\": \\"21.6.0\\"}, {\\"name\\": \\"cryptography\\", \\"version\\": \\"39.0.2\\"}, {\\"name\\": \\"ecdsa\\", \\"version\\": \\"0.18.0\\"}, {\\"name\\": \\"esp-coredump\\", \\"version\\": \\"1.10.0\\"}, {\\"name\\": \\"esp-debug-backend\\", \\"version\\": \\"1.0.3\\"}, {\\"name\\": \\"esp-idf-kconfig\\", \\"version\\": \\"1.4.2\\"}, {\\"name\\": \\"esp-idf-monitor\\", \\"version\\": \\"1.4.0\\"}, {\\"name\\": \\"esp-idf-panic-decoder\\", \\"version\\": \\"1.0.1\\"}, {\\"name\\": \\"esp-idf-size\\", \\"version\\": \\"1.1.1\\"}, {\\"name\\": \\"esptool\\", \\"version\\": \\"4.7.0\\"}, {\\"name\\": \\"filelock\\", \\"version\\": \\"3.13.1\\"}, {\\"name\\": \\"freertos-gdb\\", \\"version\\": \\"1.0.2\\"}, {\\"name\\": \\"idf-component-manager\\", \\"version\\": \\"1.4.2\\"}, {\\"name\\": \\"idna\\", \\"version\\": \\"3.6\\"}, {\\"name\\": \\"intelhex\\", \\"version\\": \\"2.3.0\\"}, {\\"name\\": \\"kconfiglib\\", \\"version\\": \\"14.1.0\\"}, {\\"name\\": \\"markdown-it-py\\", \\"version\\": \\"3.0.0\\"}, {\\"name\\": \\"mdurl\\", \\"version\\": \\"0.1.2\\"}, {\\"name\\": \\"msgpack\\", \\"version\\": \\"1.0.7\\"}, {\\"name\\": \\"packaging\\", \\"version\\": \\"23.2\\"}, {\\"name\\": \\"pip\\", \\"version\\": \\"24.0\\"}, {\\"name\\": \\"pycparser\\", \\"version\\": \\"2.21\\"}, {\\"name\\": \\"pyelftools\\", \\"version\\": \\"0.29\\"}, {\\"name\\": \\"pygdbmi\\", \\"version\\": \\"0.9.0.2\\"}, {\\"name\\": \\"Pygments\\", \\"version\\": \\"2.17.2\\"}, {\\"name\\": \\"pyparsing\\", \\"version\\": \\"3.0.9\\"}, {\\"name\\": \\"pyserial\\", \\"version\\": \\"3.5\\"}, {\\"name\\": \\"pywin32\\", \\"version\\": \\"306\\"}, {\\"name\\": \\"PyYAML\\", \\"version\\": \\"6.0.1\\"}, {\\"name\\": \\"reedsolo\\", \\"version\\": \\"1.7.0\\"}, {\\"name\\": \\"requests\\", \\"version\\": \\"2.31.0\\"}, {\\"name\\": \\"requests-file\\", \\"version\\": \\"1.5.1\\"}, {\\"name\\": \\"requests-toolbelt\\", \\"version\\": \\"1.0.0\\"}, {\\"name\\": \\"rich\\", \\"version\\": \\"13.7.0\\"}, {\\"name\\": \\"schema\\", \\"version\\": \\"0.7.5\\"}, {\\"name\\": \\"setuptools\\", \\"version\\": \\"69.0.3\\"}, {\\"name\\": \\"six\\", \\"version\\": \\"1.16.0\\"}, {\\"name\\": \\"tqdm\\", \\"version\\": \\"4.66.1\\"}, {\\"name\\": \\"urllib3\\", \\"version\\": \\"1.26.18\\"}, {\\"name\\": \\"windows-curses\\", \\"version\\": \\"2.3.2\\"}]\r\n\"},\"pythonVersion\":{\"output\":\"Python 3.11.2\r\n\",\"result\":\"3.11.2\"},\"systemInfo\":{\"architecture\":\"x64\",\"envPath\":\"C:\\Program Files\\Oculus\\Support\\oculus-runtime;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\LLVM\\bin;C:\\Program Files\\CMake\\bin;C:\\Program Files\\dotnet\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\.cargo\\bin;C:\\AppData\\Local\\Programs\\Python\\Launcher\\;C:\\AppData\\Local\\Microsoft\\WindowsApps;C:\\AppData\\Local\\GitHubDesktop\\bin;C:\\.dotnet\\tools;C:\\Program Files\\Neovim\\bin;C:\\AppData\\Local\\Programs\\Microsoft VS Code\\bin\",\"extensionVersion\":\"1.7.0\",\"language\":\"en\",\"shell\":\"C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\",\"platform\":\"win32\",\"systemName\":\"10.0.22621\",\"vscodeVersion\":\"1.86.1\"},\"workspaceFolder\":\"d:\\proj\\HelloESP\\hello_world\",\"projectConfigurations\":{}}","timestamp":"2024-02-09T23:07:09.972Z"}

Description

Can't view/select serial ports. Saw other person with this issue who didn't have the python libraries installed so i check and they were all installed.

Debug Message

Something went wrong while getting the serial port list

Other Steps to Reproduce

I tried reinstalling the extension and vscode but that didnt change anything.

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

Louisg0709 commented 7 months ago

Thank you in advance, any help is appreciated.

radurentea commented 7 months ago

Hi @Louisg0709,

It seems that your device is not being connected to the machine or is not being recognized. Can you confirm that your device is being seen by your mac?

brianignacio5 commented 7 months ago

{"user":true,"message":"Something went wrong while getting the serial port list","stack":"Error: No serial ports found\n\tat \dist\extension.js:2:1427458\n\tat process.processTicksAndRejections (node:internal/process/task_queues:95:5)","level":"error","timestamp":"2024-02-09T22:52:02.228Z"}

colorscheme-xik3 commented 7 months ago

Hi @Louisg0709,

I also have the same problem. My laptop only has typeC ports and im using a dock to convert the usb to typeC but i don't think that can be the problem. Did you find any solution?

colorscheme-xik3 commented 6 months ago

@brianignacio5 sorry for bringing this up again but i still couldn't work around it. The error i get when i run flash is the folllowing:

brianignacio5 commented 6 months ago

This seems to me that your OS can't see available serial ports.

Did you check that your serial ports are available?

C:\Users\franc.espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe C:\Users\franc\esp\v5.1.2\esp-idf\components\esptool_py\esptool\esptool.py can also show you serial devices in your system.

colorscheme-xik3 commented 6 months ago

@brianignacio5 Thank you for the response!. My laptop has only typeC ports. In windows 11 i think the drivers for the COM are not used anymore. At least they are seen as legacy drivers on my device manager. So basically i dont have "COM" ports.

I'm using a USB hub to convert the ESP32 microUSB to typeC. You probably can't help since it's not a problem with espressif but thank you anyway.

COM

brianignacio5 commented 6 months ago

I think you should take a look at this document about drivers:

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/jtag-debugging/configure-ft2232h-jtag.html#configure-usb-drivers

I can't be sure if the issue is your usb hub or what, I've tried usb hub with windows 11 but your specific case not sure. You can always test connection with esptool.py or with this python script (same we use in extension)

import sys

try:
    import serial.tools.list_ports

    print([comport.device for comport in serial.tools.list_ports.comports()])

except ImportError:
    print("Pyserial is not installed for %s. Please, check that IDF dependencies are installed." % sys.executable)
    sys.exit(1)
colorscheme-xik3 commented 6 months ago

It's working! Turns out it was the microUSB cable. I tested two they didnt work now i tested a third and it works. I feel kinda stupid. Thank you @brianignacio5 you were amazing anyway.

brianignacio5 commented 6 months ago

Glad it works @colorscheme-xik3 !

Closing this issue due to lack of response from original author. Please comment here if you still have some issues.

If you find the extension useful. Please leave us a review in the Visual Studio Code Marketplace

markusiii commented 5 months ago

@brianignacio5, I had the same issue. It turned out the hardware on/off switch on my PCB was off... From the error message, I thought there was a software issue. Maybe giving the user a hint with "Could not find any ESP" might be helpful. As you already mentioned, I am not sure if it's your responsibility.

brianignacio5 commented 5 months ago

Thanks for the feedback @markusiii will update the error message to be more descriptive.