earlephilhower / arduino-littlefs-upload

Build and uploads LittleFS filesystems for the Arduino-Pico RP2040, ESP8266, and ESP32 cores under Arduino IDE 2.2.1 or higher
MIT License
96 stars 9 forks source link

ERROR: No port specified, check IDE menus. - although serial monitor connects successfully #12

Closed slowjoe007 closed 2 months ago

slowjoe007 commented 6 months ago

Hi @earlephilhower, thank you for the work on this plugin. I did use it successfully before. Currently, however, I am facing issues connecting to the board. The error message does not give me a clue.

LittleFS Filesystem Uploader

ERROR: No port specified, check IDE menus.

The port (COM7) is specified in "Tools > Port" in the Arduino IDE. And in fact Serial Monitor can connect and display messages successfully. (For the upload attempts I detached the Serial Monitor as I read it cannot be used concurrently.) This should show that the port is specified correctly and works.

What else could be checked? Which (other) IDE menu might be referred to by the error message? Maybe the error message can be enhanced.

Thank you in advance for your assistance. -slowjoe


Environment:

boomsya commented 6 months ago

the same problem. Helps only restart IDE and try again

dacarson commented 2 months ago

I see this occasionally too. It happens when I have two IDE windows open and I am switching between the two. For some reason, the IDE stops sharing the port with the extension. When this happens, I need to close all IDE windows, and open the only one I want to do the upload with. Then it works.

bastianrickmannACN commented 2 months ago

why would this be closed as an issue, when this is clearly a bug which isn't fixed? I mean at least the error would need to be catched correctly and then tell the actual issue.