I have several arduino mega 2560. To one of them, I cannot upload code. regardless the code.
It get stucked at "uploading" and after some time says "avrdude: stk500v2_getsync(): timeout communicating with programmer"
I can see it in the list of ports, but I cannot upload code. any suggestion to save it?