Open gudvinr opened 3 days ago
Please share the extension log as requested in the issue template. Do you see any error in the ESP-IDF Output channel ?
Windows (%USERPROFILE%.vscode\extensions\espressif.esp-idf-extension-VERSION\esp_idf_vsc_ext.log) Linux-MacOS ($HOME/.vscode/extensions/espressif.esp-idf-extension-VERSION/esp_idf_vsc_ext.log)
Which OS are you using Windows or Arch Linux ?
Which OS are you using Windows or Arch Linux ?
Arch Linux. Nut sure why Windows was selected.
Please share the extension log as requested in the issue template.
github didn't allow me to upload issue longer than 64k characters.
esp_idf_vsc_ext.log
Do you see any error in the ESP-IDF Output channel ?
No, just ⚡️ Flashed Successfully (JTag)
, then OpenOCD issues Software core reset
and then silence.
I noticed in windows the command in monitor has changed (note the '):
1.7.1: C:\Users\XXX.espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:\Users\XXX\esp\v5.2.1\esp-idf\tools\idf_monitor.py -p COM3 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 d:\git_electronics\XXX\build\XXX.elf
1.8.0: 'C:\Users\XXX.espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe' 'C:\Users\XXX\esp\v5.2.1\esp-idf\tools\idf_monitor.py' -p COM3 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 'd:\git_electronics\XXX\build\XXX.elf'
And this error:
At line:1 char:77
Unexpected token ''C:\Users\XXX\esp\v5.2.1\esp-idf\tools\idf_monitor.py'' in expression or statement.
At line:1 char:134
Unexpected token 'COM3' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
(Sorry could be seperate issue - noticed mine was on Windows not Linux)
You could test this vsix installer which is related to a bug fix in the monitor in #1234
@tank104 @gudvinr
Didn't work for me. I see ⚡️ Flashed Successfully (JTag)
in OUTPUT tab but Monitor isn't started.
As a side note, you should add +meta
tag to automatic builds, like 1.8.0+build.b2940615
or whatever because after installation, vscode says it's installed but there is no difference in doctor output nor in extension UI.
Update:
I tried switching flash method to UART and in this case it works. But it doesn't work with JTAG flash method.
OS
Linux
Operating System version
Arch Linux
Visual Studio Code version
1.90.0
ESP-IDF version
5.2.2
Python version
3.12
Doctor command output
Doctor command output
``` ---------------------------------------------- ESP-IDF Extension for Visual Studio Code report --------------------------------------------- OS linux x64 6.9.7-arch1-1 System environment variable IDF_PYTHON_ENV_PATH undefined System environment variable PATHExtension
No response
Description
When I run "Build, Flash and Monitor", image builds and gets flashed but Monitor doesn't launch.
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide