Académique Documents
Professionnel Documents
Culture Documents
Now you might be thinking that its the ATmega328 on UNO or the ATmega2560 on the Mega is the
culprit.
You try to reload the botloader on it and still the problem persist with unknown driver present or
problems with the current device.
But the real problem is with the ATmega8U / ATmega16U on the arduino board used as a USB to serial
converter, which does not let you connect the Arduino to the Computer.
Atmel has already provided us with application for the solution. FLIP (Windows) and DFU
Programmer (Mac OS X and Linux).
FLIP can be downloaded from here http://www.atmel.com/tools/FLIP.aspx .
Mac and Linux users please follow the Arduino page for installing hex files
http://arduino.cc/en/Hacking/DFUProgramming8U2 . Credit goes to Arduino for Mac and Linux
programming portions
Putting the ATmega16U / ATmega8U into DFU (Device Firmware Upgrade) Mode
Look at the arrow showing the newer versions. Version two is shown with a R2, version 3 shown with R3
Now
connect the arduino to the Computers USB and short the RESET and GND pins shown above for 1
Second and release.
Connect the Arduino to the USB, and short the jumpers in the sequence mentioned below.
Bingo..!!.. Now you have successfully entered the ATmega into the DFU Mode..
Windows 7 should detect and install the driver automatically if connected to the internet, else the driver
can be located in the FLIPs installed folder ( ATMEL/FLIP/USB ).
Click on the Start button of Windows and type devmgmt.msc , which will open the windows device
manager.
you will notice that Windows have detected the Arduino in DFU Mode and will show up as AT90USB82.
1. open FLIP and click on the small IC icon on top. A new window opens with a list as shown below.
Select the AT90USB82
2. Click on the USB cable icon shown in the screenshot below and select USB from the drop-down menu,
which will open a new window (as shown below). Click on Open button.
3. Now click on the FILE and select LOAD HEX FILE from the dropdown menu. Then locate the hex file
for the ATmega into Arduinos installed directory ARDUINO -> HARDWARE -> ARDUINO ->
FIRMWARES -> atmegaxxU2 and then select the proper HEX file for the arduino.
(Atmega HEX is much bigger for the R3 Uno, so cannot load onto the 8u chip. This is why the 16u
replaced the chip).
4. Everything is set and now you will burn the ATmega with is step.
Make sure that all 4 ERASE, BLANK CHECK, PROGRAM and VERIFY are checked in the
OPERATIONS FLOW panel.
Click on the RUN button.
5. The flashing will finish like magic and everything is done. You are now just 1 step back to see the
Arduino alive again..
Now you should see all the selection in the RED box shown in the below screenshot should turn to
GREEN.
Select the START APPLICATION button one the right side as shown (make sure RESET is checked).
6. Soon after you click the start application button you should see the notification of relief on the right
bottom corner of the desktop.
( sometimes it needs to open and reconnect the USB cable from the Arduino )
Now you can just open the Arduino application and load the blink code to be sure that your cute lovely
Arduino is working..:)