-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake Error at run_serial_tool.cmake:66 (message): (IDFGH-11196) #12363
Comments
If you are trying to flash a device from a virtual machine then you have to make it available there. When you connect a device to a host machine, it is available there but not in the virtual machines. Usually, the virtual environment software has a setting page when the serial device can be forwarded to the virtual machine. |
Related hints with suggestions were added on the esptool side: espressif/esptool@d61da77 |
I'm closing this for inactivity. |
Hello @dobairoland I tried the recommended it is yet not working. These are the log of my work A fatal error occurred: Could not open Port, the port is busy or doesn't exist. FAILED: CMakeFiles/flash /home/ubu/esp/esp-idf/esp32c6-blink-led/build/CMakeFiles/flash |
Port is not a valid port name. Usually it is either |
In my case it was the wires I was using to connect USB-to-UART Bridge to my custom esp32 board. |
Answers checklist.
General issue report
I am getting the following error when trying to flash the ESP-IDF firmware to my ESP32 device:
CMake Error at run_serial_tool.cmake:66 (message):
Environment:
Operating system: Ubuntu
on virtual machine ESP-IDF version: 5.1.1 ESP32 device: esp32c6-devkitc- v1.2
I have tried the following troubleshooting steps: Made sure that the ESP32 device is connected to my computer and in the correct mode to be flashed. Tried flashing the ESP-IDF firmware using the esptool.py command-line tool. Tried flashing the ESP-IDF firmware using a different IDE or build system. Tried flashing the ESP-IDF firmware to a different ESP32 device. I am still getting the error message. Question: What can I do to fix this error?
@shubhamdp @dhrishi @espressif-bot
The text was updated successfully, but these errors were encountered: