5

I'm confused about how and when to use the reset button on the Arduino. Do I simply press the button while it is on? Is it simply restarting the board or clearing the uploaded code as well? Currently when I press the button while my Uno is powered it does absolutely nothing.

I have been using this board for many weeks with no problem and just now I have been getting this error:

avrdude: stk500_getsync()

And I cannot upload code. I tried using the reset button but I see nothing happening on the board, no blink, no flicker, nothing indicating something was reset.

6

The reset button does pretty much the same as unplugging the board and plugging it back in. It restarts your program from the beginning.

The same thing happens when you program the board - the USB interface presses the reset button for you. That then enters the bootloader for a second or two so it can try and program it.

When you reset the board the LED on pin 13 should flash a couple of times while it's in the bootloader before it runs whatever program you have programmed in. If that LED doesn't flash when you press the reset button then there is a serious fault with your board which will take further diagnostic.

  • If you have anything else plugged into the Arduino then unplug it.
  • Try powering the Arduino from different power supplies.
  • If you have another Arduino or an AVR programmer try re-flashing the bootloader.
  • Thank you. You've confirmed my suspicions. I've been trying to re-flash the bootloader with another Arduino but I keep getting errors for that too. Maybe it's because I didn't unplug everything or maybe because I have bad connections to the ATTINY pins. What sucks is that this Aruduino is part of a robot and I have all pins being used and hot glued into place. I was hoping for a better answer than unplugging everything. :| – Michael Rader Jun 24 '15 at 19:14
-1

buy another Arduino

upload the code into it

replace the microcontroller of the old Arduino with the microcontroller of the new Arduino

then your robot works fine.

this problem arises when converter chip on the board damages. so in the above-mentioned steps, we just uploaded the code into the microcontroller using a new converter chip.

  • ??? What has this to do with the question, what the reset button does? What robot? What is a converter chip supposed to be? – gre_gor Jun 6 '17 at 12:45
  • here the problem is of sketch not being uploaded. so by replacing with micro controller which is already programed for that task will be helpful instead of removing all the connections and uploading the sketch. we cannot say with 100% confidence that uploading the sketch by removing all the connections will solve the problem, because i experienced similar problem. to know about converter chip visit forum.arduino.cc/index.php?topic=70058.0 – Eswar Aug 20 '17 at 8:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.