cp71
September 1, 2023, 7:55am
1
IDE 2.2.1: the Upload operation frozen in updating step if serial line is not connected.
The updating popup shows a progress bar, but I can't stop the operation.
The only way I found to exit from this situation is closing the IDE.
In this case I can edit the source code, I can verify the code but I can't select the upload operation, the upload button has orange background.
This will happen if you have while not serial loop in your code.
Remove it and replace it with a two second delay.
1 Like
Exactly which serial line are you referring to ? Is it the USB connection to the PC or something else ?
What else is connected to the board and which Arduino are you using ?
1 Like
cp71
September 1, 2023, 8:40am
4
Sorry,
Before of all, thank you very much for your help.
I think I don’t be fully clear, my fail, my English is really poor.
I don’t believe the issue is in my code, at least I hope
Ok I try to describe the situation
First case:
The computer is connect to Arduino Mega 2560
I select the Upload button
In this case, the upload always works well and finishes the operation
Second case:
The computer is not connect to Arduino Mega 2560
I select the Upload button
In this case, the Upload starts, it obviously it can’t finish the operation
The IDE shows the popup “Uploading….” and the upload button seems disabled ( orange background)
When I connect the Mega 2560 to my computer I can’t select Upload button
In this case, the only way I found is close the Arduino IDE 2.2.1 and restart it
It seems the IDE 2.2.1 has not a timeout for Upload operation.
If it is not clear, ask me further information, as I written, my English is poor
Thank to all very much
Thank you for the clarification and don't apologise for your English, it is vastly better than my Italian
1 Like
cp71
September 1, 2023, 9:34am
7
Add information: I run the Arduino IDE on Linux with appimage
Sorry I know nothing about Linux.
1 Like
system
Closed
February 28, 2024, 10:45am
9
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.