Arduino IDE stucks at 99% when uploading a sketch

Hi. I've just got this issue in an old Arduino Mega 2560. I recently had uploaded a sketch with no problem but today it stucks at the 99% of the progress bar. The IDE continues answering but if I put the mouse over the progress bar it shows the thinking icon. What could I do? If I try to upload it again it says that "an error has occured uploading the sketch".

Take an empty sketch and hold reset on the board and hit compile/upload in the IDE. Don’t let go the reset button until the IDE shows it’s attempting to upload.

In the preference window you can use the check box to have a more verbose compile and upload. Check that and share the output (copy paste here with code tags)

1 Like

I restarted the computer, cleaned the Arduino board, closed and opened the IDE several times and even deleted the Arduino 15 folder. It's fixed now.

Thanks a lot for answering this fast!

Ok have fun!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.