Installation & Troubleshooting
Upload Timeout Error
Topic: Upload Timeout Error
(Read 285 times)
Upload Timeout Error
Aug 17, 2017, 08:05 pm
I'm running a program on an Arduino Mega, which has been working for a while, but after my most recent edits I got a timeout error while uploading the new version to the board. I thought there might be a problem with the bootloader, but when I went to use an Uno to burn the bootloader back onto the Mega, I got the same error when I tried to upload the ArduinoISP program.
I then tried both boards on a different computer and it worked fine and the program uploaded to the Mega without a problem. Just to be sure I went ahead and burned the bootloader and tried again on the first computer, but got the same error again. I also tried reinstalling the Arduino IDE, but that didn't change the result.
Additionally, I noticed that just before I got this error the serial print had stopped working when I ran the program. The program I was running was supposed to be printing information out at certain points in the code, and this had been working before, but recently I stopped seeing the information being printed out, even in the Arduino serial monitor. The program is also supposed to read serial information, and this was still working. Even when I wasn't getting serial information back, I could send information to the Arduino and it would react accordingly.
My guess is that there's an issue in the computer's ability to receive serial information from any of my Arduino boards, which is causing the timeout error when I try to upload new code. I don't actually know what the source of this problem could be or how to fix it. Does anyone else have an idea?
? < This is a question. Try to answer
Re: Upload Timeout Error
Aug 18, 2017, 06:11 am
Not too much detail there but avoid USB 3.0 ports as there are known issues.
Change USB cables or use ones known to work.
Remove hardware connected to board before any upload in case it interferes.
It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google (who would have thunk it ! ) or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.