DFU Mode Arduino UNO without soldering
I did these steps after I loaded and "empty" sketch to the board.
Code:
void setup(){}
void loop(){}
void loop(){}
-----------------------------------------------------------------
INSTALL THE DFU PROGRAMMER (console commands)
-----------------------------------------------------------------
$ sudo aptitude install dfu-programmer
-----------------------------------------------------------------
DOWNLOAD AND VERIFY THE FIRMWARE (console commands)
-----------------------------------------------------------------
$ wget --no-check-certificate https://github.com/arduino/Arduino/raw/master/hardware/arduino/firmwares/arduino-usbserial/Arduino-usbserial-uno.hex
$ md5sum Arduino-usbserial-uno.hex
8e01ee236e70bbea43f7eb4e11c9688a Arduino-usbserial-uno.hex
-----------------------------------------------------------------
PUT ARDUINO UNO IN DFU MODE (see Picture)
-----------------------------------------------------------------
0) connect your board to the pc
1) insert 2 wires in GND pins according to the picture above
2) hold the "wire 1" on the top left 8u2 ICSP pad (AREF)
3) touch the "wire 2" against the left side of the capacitor below the RX LED (leds will blink)
4) remove the "wire 2" wire
5) remove the "wire 1" wire
NOTE: in step 3, my board actually has 2 capacitors instead of one like displayed in the picture, use the capacitor below the RX LED.
-----------------------------------------------------------------
UPLOAD THE NEW FIRMWARE (console commands)
-----------------------------------------------------------------
$ sudo dfu-programmer at90usb82 erase
$ sudo dfu-programmer at90usb82 flash Arduino-usbserial-uno.hex
$ sudo dfu-programmer at90usb82 reset
-----------------------------------------------------------------
FINAL STEP
-----------------------------------------------------------------
disconnect the board from the pc
reconnect it and you are done
NOTE: when you are done remove dfu-programmer package from Ubuntu since this package require the arduino IDE and some other tools and those versions don't work with Arduino UNO board.
Most of these instructions were copied form MementoMori posts onhttp://arduino.cc/forum/index.php/topic,52447.0.html
Comments
Post a Comment