Fix Your Bricked Arduino UNO Board

I know it must be frustrating to have spent multiple hours of not watching T.V., or Facebook to program (assemble) for the Arduino only to mess up a line and it ends up bricking your board! Don’t worry I have the fix….well for my case.

I’ve done a nice little search online and found someone experimented like I did with the AnalogReadSerial code with the Ardunio Sketch 22 on Ubuntu 10.10 (32-bit if that matters).

Looking at: Reference Forum

These were the steps I followed:

  1. Unplug the UNO board from the USB cable or vice-versa
  2. Close Arduino (To release the device lock file)
  3. Press & Hold the reset button (KEEP IT PRESSED)
  4. Plug the USB cable back in
  5. Compile some code (Not the AnalogReadSerial one…or start at step 1 again)..Use Blink
  6. Slow down….this is very important Upload (With the button still pressed)
  7. As soon as the RX signal flashes release the RESET button and things should be back to normal

Another method is if you have avrdude, entering the following into a terminal. Please note that the /dev/ttyACM0 is what my UNO board is connected as.

avrdude -p m328p -c arduino -P /dev/ttyACM0 -e
  • -p = chip model
  • -c = board
  • -P = the device that is connected via USB
  • -e = ERASE…