I am having random upload fails with my Mega2560.
I will be programming away fine, tweaking code and uploading to my project and then all of a sudden...
avrdude: stk500v2_getsync(): timeout communicating with programmer
Nothing uploads. I mess around for an hour, changing USB ports, fiddling with drivers, rebooting the laptop half a dozen times etc.... nothing.
Then next day, I fire up the laptop and it connects first time.
Runs a few hours, and then all of a sudden... its back to comms issues.
Windows isn't updating or anything. I am stumped as to what changes to suddenly stop the code uploading.