You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---------------------------------------------- ESP-IDF Extension for Visual Studio Code report ---------------------------------------------
OS win32 x64 10.0.22631
System environment variable IDF_PYTHON_ENV_PATH
undefined
System environment variable PATH
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PuTTY;C:\Program Files\WireGuard;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\resources\bin;C:\AppData\Local\Programs\Python\Python312\Scripts;C:\AppData\Local\Programs\Python\Python312;C:\AppData\Local\Microsoft\WindowsApps;C:\AppData\Local\Programs\Microsoft VS Code\bin;
System environment variable PYTHON
undefined
Visual Studio Code version 1.90.1
Visual Studio Code language en
Visual Studio Code shell C:\Windows\System32\cmd.exe
ESP-IDF Extension version 1.8.0
Workspace folder c:\Documents\Repos\hmi-fw-esp32
---------------------------------------------------- Extension configuration settings ------------------------------------------------------
ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH}
ESP-IDF Path (idf.espIdfPath) C:/Users/603mb/esp/v4.4.7/
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) C:\esp.espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin;C:\esp.espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin;C:\esp.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin;C:\esp.espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s2-elf\bin;C:\esp.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin;C:\esp.espressif\tools\riscv32-esp-elf\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\bin;C:\esp.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\esp.espressif\tools\cmake\3.23.1\bin;C:\esp.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin;C:\esp.espressif\tools\ninja\1.10.2;C:\esp.espressif\tools\idf-exe\1.0.3;C:\esp.espressif\tools\ccache\4.3\ccache-4.3-windows-64;C:\esp.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
Custom extra vars (idf.customExtraVars)
OPENOCD_SCRIPTS: C:\esp.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts
IDF_CCACHE_ENABLE: 1
Virtual env Python Path (idf.pythonBinPath) C:/Users/603mb/esp/.espressif/python_env/idf4.4_py3.11_env/Scripts/python.exe
Serial port (idf.port) COM6
OpenOCD Configs (idf.openOcdConfigs) interface/ftdi/esp32_devkitj_v1.cfg,target/esp32s3.cfg
ESP-IDF Tools Path (idf.toolsPath) C:\esp.espressif
Git Path (idf.gitPath) C:/Users/603mb/esp/.espressif/tools/idf-git/2.43.0/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-HomeKit Path (idf.espHomeKitSdkPath) false
Access to ESP-IDF Custom extra paths
Access to C:\esp.espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin: true
Access to C:\esp.espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin: true
Access to C:\esp.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin: true
Access to C:\esp.espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s2-elf\bin: true
Access to C:\esp.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin: true
Access to C:\esp.espressif\tools\riscv32-esp-elf\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\bin: true
Access to C:\esp.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin: true
Access to C:\esp.espressif\tools\cmake\3.23.1\bin: true
Access to C:\esp.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin: true
Access to C:\esp.espressif\tools\ninja\1.10.2: true
Access to C:\esp.espressif\tools\idf-exe\1.0.3: true
Access to C:\esp.espressif\tools\ccache\4.3\ccache-4.3-windows-64: true
Access to C:\esp.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64: 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-HomeKit-SDK Path (idf.espHomeKitSdkPath) false
Spaces in ESP-IDF Custom extra paths
Spaces in C:\esp.espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin: false
Spaces in C:\esp.espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin: false
Spaces in C:\esp.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin: false
Spaces in C:\esp.espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s2-elf\bin: false
Spaces in C:\esp.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin: false
Spaces in C:\esp.espressif\tools\riscv32-esp-elf\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\bin: false
Spaces in C:\esp.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin: false
Spaces in C:\esp.espressif\tools\cmake\3.23.1\bin: false
Spaces in C:\esp.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin: false
Spaces in C:\esp.espressif\tools\ninja\1.10.2: false
Spaces in C:\esp.espressif\tools\idf-exe\1.0.3: false
Spaces in C:\esp.espressif\tools\ccache\4.3\ccache-4.3-windows-64: false
Spaces in C:\esp.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64: false
Spaces in Virtual env Python Path (idf.pythonBinPath) false
Spaces in ESP-IDF Tools Path (idf.toolsPath) false
----------------------------------------------------------- Executables Versions -----------------------------------------------------------
Git version 2.43.0.windows.1
ESP-IDF version 4.4.7
Python version 3.11.2
Python's pip version 22.3.1
-------------------------------------------------- Project configuration settings ----------------------------------------------------------
-------------------------------------------------- Python packages in idf.pythonBinPath ----------------------------------------------------
bitstring version: 3.1.9
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.54
contextlib2 version: 21.6.0
cryptography version: 42.0.5
ecdsa version: 0.18.0
esp-debug-backend version: 1.0.3
esp-windows-curses version: 0.1
filelock version: 3.13.3
future version: 1.0.0
idf-component-manager version: 1.5.2
idna version: 3.6
kconfiglib version: 13.7.1
msgpack version: 1.0.8
packaging version: 24.0
pip version: 22.3.1
pycparser version: 2.22
pyelftools version: 0.31
pygdbmi version: 0.9.0.2
pyparsing version: 2.3.1
pyserial version: 3.5
pywin32 version: 306
PyYAML version: 6.0.1
reedsolo version: 1.5.4
requests version: 2.31.0
requests-file version: 1.5.1
requests-toolbelt version: 1.0.0
schema version: 0.7.5
setuptools version: 69.5.1
six version: 1.16.0
tqdm version: 4.66.2
urllib3 version: 1.26.18
windows-curses version: 2.3.2
---------------------------------------------------- Check ESP-IDF python requirements.txt -------------------------------------------------
Check ESP-IDF Python packages Python requirements from C:\esp\v4.4.7\requirements.txt are satisfied.
---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------
Check Debug AdapterPython packages Python requirements from c:.vscode\extensions\espressif.esp-idf-extension-1.8.0\esp_debug_adapter\requirements.txt 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": "Linux",
"cStandard": "c11",
"cppStandard": "c++17",
"includePath": [
"${config:idf.espIdfPath}/components/",
"${workspaceFolder}/"
],
"browse": {
"path": [
"${config:idf.espIdfPath}/components"
],
"limitSymbolsToIncludedHeaders": false
},
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
"compilerPath": "${config:idf.toolsPathWin}\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe"
}
],
"version": 4
}
----------------------------------------------------------- Logfile -----------------------------------------------------------------
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415: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-06-28T14:29:56.435Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-06-28T14:29:57.590Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415: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-01T06:15:29.671Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-07-01T06:15:31.045Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-07-02T07:56:03.972Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-07-02T07:56:04.679Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415: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-03T06:13:28.172Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-07-03T06:13:29.150Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415: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-03T10:04:03.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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-07-03T10:04:03.943Z"}
{"user":true,"message":"Something went wrong while trying to build the project","stack":"Error: Task ESP-IDF Build exited with code 1\n\tat \dist\extension.js:2:1590016\n\tat n.value (\out\vs\workbench\api\node\extensionHostProcess.js:163:20722)\n\tat l.y (\out\vs\workbench\api\node\extensionHostProcess.js:82:664)\n\tat l.fire (\out\vs\workbench\api\node\extensionHostProcess.js:82:881)\n\tat n.$onDidEndTaskProcess (\out\vs\workbench\api\node\extensionHostProcess.js:156:57296)","level":"error","timestamp":"2024-07-03T10:18:09.156Z"}
{"message":"non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM5\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM5': PermissionError(13, 'Acceso denegado.', None, 5)\r\n","stack":"Error: non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM5\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM5': PermissionError(13, 'Acceso denegado.', None, 5)\r\n\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.532Z"}
{"message":"non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM3\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM3': PermissionError(13, 'Acceso denegado.', None, 5)\r\n","stack":"Error: non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM3\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM3': PermissionError(13, 'Acceso denegado.', None, 5)\r\n\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.536Z"}
{"message":"non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM4\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM4': PermissionError(13, 'Acceso denegado.', None, 5)\r\n","stack":"Error: non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM4\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM4': PermissionError(13, 'Acceso denegado.', None, 5)\r\n\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.538Z"}
{"message":"non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM6\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM6': PermissionError(13, 'Acceso denegado.', None, 5)\r\n","stack":"Error: non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM6\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM6': PermissionError(13, 'Acceso denegado.', None, 5)\r\n\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.551Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v3.3.4-dev\r\nSerial port COM5\r\nConnecting..........","stack":"Error: non zero exit code null\r\n\r\nesptool.py v3.3.4-dev\r\nSerial port COM5\r\nConnecting..........\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.857Z"}
{"message":"non zero exit code null\r\n\r\n","stack":"Error: non zero exit code null\r\n\r\n\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.872Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v3.3.4-dev\r\nSerial port COM4\r\nConnecting...","stack":"Error: non zero exit code null\r\n\r\nesptool.py v3.3.4-dev\r\nSerial port COM4\r\nConnecting...\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.889Z"}
{"message":"Cannot access filePath: ${env:ADF_PATH}","stack":"Error: ENOENT: no such file or directory, access 'C:\Users\603mb\AppData\Local\Programs\Microsoft VS Code\${env:ADF_PATH}'\n\tat Object.access (node:internal/fs/sync:42:11)\n\tat Object.accessSync (node:fs:248:10)\n\tat t.accessSync (node:electron/js2c/node_init:2:8888)\n\tat Se (\dist\extension.js:2:1461757)\n\tat \dist\extension.js:2:1685466\n\tat Fs (\dist\extension.js:2:1686534)\n\tat async \dist\extension.js:2:1902761","level":"error","timestamp":"2024-07-03T13:53:01.060Z"}
{"message":"Cannot access filePath: ${env:MDF_PATH}","stack":"Error: ENOENT: no such file or directory, access 'C:\Users\603mb\AppData\Local\Programs\Microsoft VS Code\${env:MDF_PATH}'\n\tat Object.access (node:internal/fs/sync:42:11)\n\tat Object.accessSync (node:fs:248:10)\n\tat t.accessSync (node:electron/js2c/node_init:2:8888)\n\tat Se (\dist\extension.js:2:1461757)\n\tat \dist\extension.js:2:1685644\n\tat Fs (\dist\extension.js:2:1686534)\n\tat async \dist\extension.js:2:1902761","level":"error","timestamp":"2024-07-03T13:53:01.060Z"}
{"message":"Cannot access filePath: ${env:ESP_MATTER_PATH}","stack":"Error: ENOENT: no such file or directory, access 'C:\Users\603mb\AppData\Local\Programs\Microsoft VS Code\${env:ESP_MATTER_PATH}'\n\tat Object.access (node:internal/fs/sync:42:11)\n\tat Object.accessSync (node:fs:248:10)\n\tat t.accessSync (node:electron/js2c/node_init:2:8888)\n\tat Se (\dist\extension.js:2:1461757)\n\tat \dist\extension.js:2:1685736\n\tat Fs (\dist\extension.js:2:1686534)\n\tat async \dist\extension.js:2:1902761","level":"error","timestamp":"2024-07-03T13:53:01.060Z"}
{"message":"Cannot access filePath: ${env:HOMEKIT_PATH}","stack":"Error: ENOENT: no such file or directory, access 'C:\Users\603mb\AppData\Local\Programs\Microsoft VS Code\${env:HOMEKIT_PATH}'\n\tat Object.access (node:internal/fs/sync:42:11)\n\tat Object.accessSync (node:fs:248:10)\n\tat t.accessSync (node:electron/js2c/node_init:2:8888)\n\tat Se (\dist\extension.js:2:1461757)\n\tat \dist\extension.js:2:1685832\n\tat Fs (\dist\extension.js:2:1686534)\n\tat async \dist\extension.js:2:1902761","level":"error","timestamp":"2024-07-03T13:53:01.061Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-07-03T13:53:02.225Z"}
Extension
No response
Description
When I click on Monitor Device button located in the lower part I get an error. If I remove the ' in the command the idf extension executes everything works. like this:
C:\Users\603mb\Documents\Repos\hmi-fw-esp32>'C:/Users/603mb/esp/.espressif/python_env/idf4.4_py3.11_env/Scripts/python.exe' 'C:\Users\603mb\esp\v4.4.7\tools\idf_monitor.py' -p COM6 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 'c:\Users\603mb\Documents\Repos\hmi-fw-esp32\build\hmi-fw-esp32.elf'
"'C:" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
I confirm I have checked existing issues, online documentation and Troubleshooting guide.
The text was updated successfully, but these errors were encountered:
mbastida123
added
the
bug-report
Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
label
Jul 3, 2024
github-actionsbot
changed the title
Monitor Device button error
Monitor Device button error (VSC-1422)
Jul 3, 2024
OS
Windows
Operating System version
Windows 11
Visual Studio Code version
1.90.1
ESP-IDF version
4.4.7
Python version
3.11.2
Doctor command output
---------------------------------------------- ESP-IDF Extension for Visual Studio Code report ---------------------------------------------
OS win32 x64 10.0.22631
System environment variable IDF_PYTHON_ENV_PATH
undefined
System environment variable PATH
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PuTTY;C:\Program Files\WireGuard;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\resources\bin;C:\AppData\Local\Programs\Python\Python312\Scripts;C:\AppData\Local\Programs\Python\Python312;C:\AppData\Local\Microsoft\WindowsApps;C:\AppData\Local\Programs\Microsoft VS Code\bin;
System environment variable PYTHON
undefined
Visual Studio Code version 1.90.1
Visual Studio Code language en
Visual Studio Code shell C:\Windows\System32\cmd.exe
ESP-IDF Extension version 1.8.0
Workspace folder c:\Documents\Repos\hmi-fw-esp32
---------------------------------------------------- Extension configuration settings ------------------------------------------------------
ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH}
ESP-IDF Path (idf.espIdfPath) C:/Users/603mb/esp/v4.4.7/
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) C:\esp.espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin;C:\esp.espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin;C:\esp.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin;C:\esp.espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s2-elf\bin;C:\esp.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin;C:\esp.espressif\tools\riscv32-esp-elf\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\bin;C:\esp.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\esp.espressif\tools\cmake\3.23.1\bin;C:\esp.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin;C:\esp.espressif\tools\ninja\1.10.2;C:\esp.espressif\tools\idf-exe\1.0.3;C:\esp.espressif\tools\ccache\4.3\ccache-4.3-windows-64;C:\esp.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
Custom extra vars (idf.customExtraVars)
OPENOCD_SCRIPTS: C:\esp.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts
IDF_CCACHE_ENABLE: 1
Virtual env Python Path (idf.pythonBinPath) C:/Users/603mb/esp/.espressif/python_env/idf4.4_py3.11_env/Scripts/python.exe
Serial port (idf.port) COM6
OpenOCD Configs (idf.openOcdConfigs) interface/ftdi/esp32_devkitj_v1.cfg,target/esp32s3.cfg
ESP-IDF Tools Path (idf.toolsPath) C:\esp.espressif
Git Path (idf.gitPath) C:/Users/603mb/esp/.espressif/tools/idf-git/2.43.0/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-HomeKit Path (idf.espHomeKitSdkPath) false
Access to ESP-IDF Custom extra paths
Access to C:\esp.espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin: true
Access to C:\esp.espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin: true
Access to C:\esp.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin: true
Access to C:\esp.espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s2-elf\bin: true
Access to C:\esp.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin: true
Access to C:\esp.espressif\tools\riscv32-esp-elf\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\bin: true
Access to C:\esp.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin: true
Access to C:\esp.espressif\tools\cmake\3.23.1\bin: true
Access to C:\esp.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin: true
Access to C:\esp.espressif\tools\ninja\1.10.2: true
Access to C:\esp.espressif\tools\idf-exe\1.0.3: true
Access to C:\esp.espressif\tools\ccache\4.3\ccache-4.3-windows-64: true
Access to C:\esp.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64: 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-HomeKit-SDK Path (idf.espHomeKitSdkPath) false
Spaces in ESP-IDF Custom extra paths
Spaces in C:\esp.espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin: false
Spaces in C:\esp.espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin: false
Spaces in C:\esp.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin: false
Spaces in C:\esp.espressif\tools\xtensa-esp32s2-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s2-elf\bin: false
Spaces in C:\esp.espressif\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin: false
Spaces in C:\esp.espressif\tools\riscv32-esp-elf\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\bin: false
Spaces in C:\esp.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin: false
Spaces in C:\esp.espressif\tools\cmake\3.23.1\bin: false
Spaces in C:\esp.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin: false
Spaces in C:\esp.espressif\tools\ninja\1.10.2: false
Spaces in C:\esp.espressif\tools\idf-exe\1.0.3: false
Spaces in C:\esp.espressif\tools\ccache\4.3\ccache-4.3-windows-64: false
Spaces in C:\esp.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64: false
Spaces in Virtual env Python Path (idf.pythonBinPath) false
Spaces in ESP-IDF Tools Path (idf.toolsPath) false
----------------------------------------------------------- Executables Versions -----------------------------------------------------------
Git version 2.43.0.windows.1
ESP-IDF version 4.4.7
Python version 3.11.2
Python's pip version 22.3.1
-------------------------------------------------- Project configuration settings ----------------------------------------------------------
-------------------------------------------------- Python packages in idf.pythonBinPath ----------------------------------------------------
bitstring version: 3.1.9
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.54
contextlib2 version: 21.6.0
cryptography version: 42.0.5
ecdsa version: 0.18.0
esp-debug-backend version: 1.0.3
esp-windows-curses version: 0.1
filelock version: 3.13.3
future version: 1.0.0
idf-component-manager version: 1.5.2
idna version: 3.6
kconfiglib version: 13.7.1
msgpack version: 1.0.8
packaging version: 24.0
pip version: 22.3.1
pycparser version: 2.22
pyelftools version: 0.31
pygdbmi version: 0.9.0.2
pyparsing version: 2.3.1
pyserial version: 3.5
pywin32 version: 306
PyYAML version: 6.0.1
reedsolo version: 1.5.4
requests version: 2.31.0
requests-file version: 1.5.1
requests-toolbelt version: 1.0.0
schema version: 0.7.5
setuptools version: 69.5.1
six version: 1.16.0
tqdm version: 4.66.2
urllib3 version: 1.26.18
windows-curses version: 2.3.2
---------------------------------------------------- Check ESP-IDF python requirements.txt -------------------------------------------------
Check ESP-IDF Python packages Python requirements from C:\esp\v4.4.7\requirements.txt are satisfied.
---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------
Check Debug AdapterPython packages Python requirements from c:.vscode\extensions\espressif.esp-idf-extension-1.8.0\esp_debug_adapter\requirements.txt 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": "Linux",
"cStandard": "c11",
"cppStandard": "c++17",
"includePath": [
"${config:idf.espIdfPath}/components/",
"${workspaceFolder}/"
],
"browse": {
"path": [
"${config:idf.espIdfPath}/components"
],
"limitSymbolsToIncludedHeaders": false
},
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
"compilerPath": "${config:idf.toolsPathWin}\tools\xtensa-esp32s3-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe"
}
],
"version": 4
}
----------------------------------------------------------- Logfile -----------------------------------------------------------------
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415: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-06-28T14:29:56.435Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-06-28T14:29:57.590Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415: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-01T06:15:29.671Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-07-01T06:15:31.045Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-07-02T07:56:03.972Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-07-02T07:56:04.679Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415: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-03T06:13:28.172Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-07-03T06:13:29.150Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415: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-03T10:04:03.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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-07-03T10:04:03.943Z"}
{"user":true,"message":"Something went wrong while trying to build the project","stack":"Error: Task ESP-IDF Build exited with code 1\n\tat \dist\extension.js:2:1590016\n\tat n.value (\out\vs\workbench\api\node\extensionHostProcess.js:163:20722)\n\tat l.y (\out\vs\workbench\api\node\extensionHostProcess.js:82:664)\n\tat l.fire (\out\vs\workbench\api\node\extensionHostProcess.js:82:881)\n\tat n.$onDidEndTaskProcess (\out\vs\workbench\api\node\extensionHostProcess.js:156:57296)","level":"error","timestamp":"2024-07-03T10:18:09.156Z"}
{"message":"non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM5\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM5': PermissionError(13, 'Acceso denegado.', None, 5)\r\n","stack":"Error: non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM5\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM5': PermissionError(13, 'Acceso denegado.', None, 5)\r\n\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.532Z"}
{"message":"non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM3\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM3': PermissionError(13, 'Acceso denegado.', None, 5)\r\n","stack":"Error: non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM3\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM3': PermissionError(13, 'Acceso denegado.', None, 5)\r\n\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.536Z"}
{"message":"non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM4\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM4': PermissionError(13, 'Acceso denegado.', None, 5)\r\n","stack":"Error: non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM4\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM4': PermissionError(13, 'Acceso denegado.', None, 5)\r\n\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.538Z"}
{"message":"non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM6\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM6': PermissionError(13, 'Acceso denegado.', None, 5)\r\n","stack":"Error: non zero exit code 1\r\n\r\nTraceback (most recent call last):\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5655, in \r\nesptool.py v3.3.4-dev\r\nSerial port COM6\r\n _main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 5648, in _main\r\n main()\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 4955, in main\r\n esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 111, in get_default_connected_device\r\n _esp = ESPLoader.detect_chip(each_port, initial_baud, before, trace,\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 388, in detect_chip\r\n detect_port = ESPLoader(port, baud, trace_enabled=trace_enabled)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\v4.4.7\components\esptool_py\esptool\esptool.py", line 345, in init\r\n self._port = serial.serial_for_url(port)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\init.py", line 90, in serial_for_url\r\n instance.open()\r\n File "C:\Users\603mb\esp\.espressif\python_env\idf4.4_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open\r\n raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))\r\nserial.serialutil.SerialException: could not open port 'COM6': PermissionError(13, 'Acceso denegado.', None, 5)\r\n\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.551Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v3.3.4-dev\r\nSerial port COM5\r\nConnecting..........","stack":"Error: non zero exit code null\r\n\r\nesptool.py v3.3.4-dev\r\nSerial port COM5\r\nConnecting..........\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.857Z"}
{"message":"non zero exit code null\r\n\r\n","stack":"Error: non zero exit code null\r\n\r\n\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.872Z"}
{"message":"non zero exit code null\r\n\r\nesptool.py v3.3.4-dev\r\nSerial port COM4\r\nConnecting...","stack":"Error: non zero exit code null\r\n\r\nesptool.py v3.3.4-dev\r\nSerial port COM4\r\nConnecting...\n\tat ChildProcess. (\dist\extension.js:2:1461587)\n\tat ChildProcess.emit (node:events:514:28)\n\tat ChildProcess._handle.onexit (node:internal/child_process:294:12)","level":"error","timestamp":"2024-07-03T13:49:44.889Z"}
{"message":"Cannot access filePath: ${env:ADF_PATH}","stack":"Error: ENOENT: no such file or directory, access 'C:\Users\603mb\AppData\Local\Programs\Microsoft VS Code\${env:ADF_PATH}'\n\tat Object.access (node:internal/fs/sync:42:11)\n\tat Object.accessSync (node:fs:248:10)\n\tat t.accessSync (node:electron/js2c/node_init:2:8888)\n\tat Se (\dist\extension.js:2:1461757)\n\tat \dist\extension.js:2:1685466\n\tat Fs (\dist\extension.js:2:1686534)\n\tat async \dist\extension.js:2:1902761","level":"error","timestamp":"2024-07-03T13:53:01.060Z"}
{"message":"Cannot access filePath: ${env:MDF_PATH}","stack":"Error: ENOENT: no such file or directory, access 'C:\Users\603mb\AppData\Local\Programs\Microsoft VS Code\${env:MDF_PATH}'\n\tat Object.access (node:internal/fs/sync:42:11)\n\tat Object.accessSync (node:fs:248:10)\n\tat t.accessSync (node:electron/js2c/node_init:2:8888)\n\tat Se (\dist\extension.js:2:1461757)\n\tat \dist\extension.js:2:1685644\n\tat Fs (\dist\extension.js:2:1686534)\n\tat async \dist\extension.js:2:1902761","level":"error","timestamp":"2024-07-03T13:53:01.060Z"}
{"message":"Cannot access filePath: ${env:ESP_MATTER_PATH}","stack":"Error: ENOENT: no such file or directory, access 'C:\Users\603mb\AppData\Local\Programs\Microsoft VS Code\${env:ESP_MATTER_PATH}'\n\tat Object.access (node:internal/fs/sync:42:11)\n\tat Object.accessSync (node:fs:248:10)\n\tat t.accessSync (node:electron/js2c/node_init:2:8888)\n\tat Se (\dist\extension.js:2:1461757)\n\tat \dist\extension.js:2:1685736\n\tat Fs (\dist\extension.js:2:1686534)\n\tat async \dist\extension.js:2:1902761","level":"error","timestamp":"2024-07-03T13:53:01.060Z"}
{"message":"Cannot access filePath: ${env:HOMEKIT_PATH}","stack":"Error: ENOENT: no such file or directory, access 'C:\Users\603mb\AppData\Local\Programs\Microsoft VS Code\${env:HOMEKIT_PATH}'\n\tat Object.access (node:internal/fs/sync:42:11)\n\tat Object.accessSync (node:fs:248:10)\n\tat t.accessSync (node:electron/js2c/node_init:2:8888)\n\tat Se (\dist\extension.js:2:1461757)\n\tat \dist\extension.js:2:1685832\n\tat Fs (\dist\extension.js:2:1686534)\n\tat async \dist\extension.js:2:1902761","level":"error","timestamp":"2024-07-03T13:53:01.061Z"}
{"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:1464939\n\tat ChildProcess.exithandler (node:child_process:415:7)\n\tat ChildProcess.emit (node:events:514:28)\n\tat maybeClose (node:internal/child_process:1105:16)\n\tat ChildProcess._handle.onexit (node:internal/child_process:305:5)","level":"error","timestamp":"2024-07-03T13:53:02.225Z"}
Extension
No response
Description
When I click on Monitor Device button located in the lower part I get an error. If I remove the ' in the command the idf extension executes everything works. like this:
C:/Users/603mb/esp/.espressif/python_env/idf4.4_py3.11_env/Scripts/python.exe C:\Users\603mb\esp\v4.4.7\tools\idf_monitor.py -p COM6 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 c:\Users\603mb\Documents\Repos\hmi-fw-esp32\build\hmi-fw-esp32.elf
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: