Skip to main content

DFU Mode Arduino UNO without soldering



I did these steps after I loaded and "empty" sketch to the board.

Code:
void setup(){}
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 on
http://arduino.cc/forum/index.php/topic,52447.0.html
2 comments

Popular posts from this blog

Ubuntu GNOME 17.04 running with HiDPI and touch screen support

Ubuntu GNOME 17.04 running with HiDPI and touch screen support








See my previous post on how to install Ubuntu on Yoga Pro 2 for Ubuntu GNOME 16.10.

I think Ubuntu GNOME is the best flavor of Ubuntu if you are running in HiDPI mode 3200x1800. All screen captured images are at HiDPI resolution.
Touch support Ubuntu gnome support for touch screen is pretty good on the desktop shell.
Chrome browser supports touch screen very well and much better than Firefox without any plug-ins.
The windows key on the screen panel works as the windows key on the keyboard.
Screen rotation is supported on the new gnome and disables the keyboard when the yoga is used as a tablet, side lock rotation button works to lock the screen in a certain rotation.



 What works Almost everything works great out of the box, there isn't many changes you need to do.
UbuntuGnome ships with gnome 3.24 and will boot with full resolution HiDPI and touch screen support enabled
Screen HiDPI supportBrightness, resolution keys, o…

How to install Cura 2.X on Ubuntu 17.04

How to install Cura 2.X on Ubuntu

Cura is not available on ubuntu Repositories on version 17.10.

The resolution: To fix this issue you will need to install a PPA repository.

How to get this archive working properly is found here https://launchpad.net/~thopiekar/+archive/ubuntu/cura

rm -f ~/.config/cura/*
rm -f ~/.local/cura/*
sudo add-apt-repository ppa:thopiekar/cura
sudo apt-get update
sudo apt install cura cura-plugins-all cura-extra-plugins-all


Ubuntu GNOME 16.04 running on Yoga Pro 2 with HiDPI and touch screen support

Ubuntu GNOME 16.04 running on Yoga Pro 2 with HiDPI and touch screen support






See my previous post on how to install Ubuntu on Yoga Pro 2 for Ubuntu GNOME 15.10.

I think Ubuntu GNOME is the best flavor of Ubuntu if you are running in HiDPI mode 3200x1200. All screen captured images are at HiDPI resolution.

Ubuntu 16.04 is not released yet, the screen shoots are from a daily build, 16.04 it is scheduled to be released in Q2 2016.
Touch support Ubuntu gnome support for touch screen is pretty good on the desktop shell.
Chrome browser supports touch screen very well and much better than Firefox without any plug-ins.
The windows key on the screen panel works as the windows key on the keyboard.
Screen rotation is supported on the new gnome and disables the keyboard when the yoga is used as a tablet, but sometimes screen does not rotate, I'm still trying to figure out what is wrong.
Yoga Keys boot key
F12 - Boot menu to select booting from usb drive
F2 - Bios Menu

Power down the co…