Espressif-IDE no longer finds serial ports for flashing
Posted: Tue Aug 20, 2024 5:55 pm
I have been successfully compiling and flashing my ESP32C6 target for a couple of months.
Suddenly today, when I try to flash the target, it says that there are no serial ports. The drop-down list is empty.
Yet, Device Manager in Windows sees the port and when I unplug and plug it back in it goes away and comes back.
Additionally, if I bring up an alternate terminal program, I can open the correct port and see the traffic from the device, so I know the port, the wire, and Windows are all functioning properly. I just have lost the ability for the Espressif-IDE to see ANY serial port in the drop-down list, so I can no longer flash the device.
I have also tried restarting the IDE and even rebooting the PC but the issue remains.
Edit: I should add that from the command line everything works. I can do "idf.py flash" with or without a "-p" and it finds the port and flashes the device. I can also do "idf.py -p COM11 monitor" and it opens a monitor and shows the traffic. The problem is very specific to the IDE.
Suddenly today, when I try to flash the target, it says that there are no serial ports. The drop-down list is empty.
Yet, Device Manager in Windows sees the port and when I unplug and plug it back in it goes away and comes back.
Additionally, if I bring up an alternate terminal program, I can open the correct port and see the traffic from the device, so I know the port, the wire, and Windows are all functioning properly. I just have lost the ability for the Espressif-IDE to see ANY serial port in the drop-down list, so I can no longer flash the device.
I have also tried restarting the IDE and even rebooting the PC but the issue remains.
Edit: I should add that from the command line everything works. I can do "idf.py flash" with or without a "-p" and it finds the port and flashes the device. I can also do "idf.py -p COM11 monitor" and it opens a monitor and shows the traffic. The problem is very specific to the IDE.