Arduino Forum

Using Arduino => Installation & Troubleshooting => Topic started by: tonyf84 on Jun 04, 2011, 10:24 pm

Title: Had it one day and already bricked it. Need to reset....
Post by: tonyf84 on Jun 04, 2011, 10:24 pm
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
Title: Re: Had it one day and already bricked it. Need to reset....
Post by: johnwasser on Jun 04, 2011, 10:42 pm
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.
Title: Re: Had it one day and already bricked it. Need to reset....
Post by: tonyf84 on Jun 04, 2011, 11:10 pm
Thanks!  That worked!  Needed all 5 steps, but it worked.   :smiley-mr-green: