Pages: [1]   Go Down
Author Topic: Had it one day and already bricked it. Need to reset....  (Read 380 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I made a mistake that is letting the Arduino Mega take over the serial port and I can't upload anything to it now.  it's just looping and running the servo and trying to do Serial.println() with no delays.  How can I reset the Mega so that it has no code (like from factory). 

Thanks,

Anthony
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8975
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

1:  Unplug USB.
2: Press and hold Reset.
3: Plug in USB.
4: Click on the "Upload" icon for a sketch like "Blink".
5: When the "Binary sketch size:" message appears in the IDE, release the Reset buton

You may get away with 2, 4, and 5 alone but if your sketch is flooding the USB buffers you may need all five steps.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks!  That worked!  Needed all 5 steps, but it worked.   smiley-mr-green
Logged

Pages: [1]   Go Up
Jump to: