Reset the ATmega8U2
Transcript of Reset the ATmega8U2
-
8/19/2019 Reset the ATmega8U2
1/11
RESET THE ATMEGA8U2 / ATMEGA16U2
OF YOUR DEAD ARDUINO MEGA / UNO
Arduino not detected..??
Your Arduino was working fine until one day you connect it to the PC and find that the PC does not
detect the Arduino.
You think there is either a USB cable issue or USB post issue, but none solve the problem.
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.
The ATmega16U on UNO
Getting rid of the issue
Now you might panic that how are you gonna fix that SMD ATmega..:(
But the soluion is pretty easy and is just like a child’s play.
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 .
http://www.atmel.com/tools/FLIP.aspxhttp://www.atmel.com/tools/FLIP.aspxhttp://www.atmel.com/tools/FLIP.aspxhttps://nemochronicles.files.wordpress.com/2014/10/atmega16u2.jpghttp://www.atmel.com/tools/FLIP.aspx
-
8/19/2019 Reset the ATmega8U2
2/11
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 following picture to determine which version Uno you own.
If your board is NOT an Arduino UNO SMD, you’ll need to solder a 10k resistor (Brown-black-orange)
at the back of your board in the same location as this picture.
Look at the arrow showing the newer versions. Version two is shown with a R2, version 3 shown with R3
http://arduino.cc/en/Hacking/DFUProgramming8U2http://arduino.cc/en/Hacking/DFUProgramming8U2https://nemochronicles.files.wordpress.com/2014/10/uno-back-dfu-resistor-png1.jpghttp://arduino.cc/en/Hacking/DFUProgramming8U2
-
8/19/2019 Reset the ATmega8U2
3/11
Now
connect the arduino to the Computer’s USB and short the RESET and GND pins shown above for 1
Second and release.
https://nemochronicles.files.wordpress.com/2014/10/uno-front-dfu-reset.jpghttps://nemochronicles.files.wordpress.com/2014/10/arduinouno_r3_back.jpg
-
8/19/2019 Reset the ATmega8U2
4/11
For the Arduino Mega 2560
Connect the Arduino to the USB, and short the jumpers in the sequence mentioned below.
First Short Jumper 1 marked with YELLOW
Second Short Jumper 2 marked with RED
Then release Jumper 2 RED first
Then release Jumper 1 YELLOW
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 FLIP’s 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.
https://nemochronicles.files.wordpress.com/2014/10/arduino-mega-2560-microcontroller-back.jpg
-
8/19/2019 Reset the ATmega8U2
5/11
Windows detected the Arduino in DFU Mode
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
https://nemochronicles.files.wordpress.com/2014/10/untitled.jpg
-
8/19/2019 Reset the ATmega8U2
6/11
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.
https://nemochronicles.files.wordpress.com/2014/10/hex.jpg
-
8/19/2019 Reset the ATmega8U2
7/11
3. Now click on the FILE and select LOAD HEX FILE from the dropdown menu. Then locate the hex file
for the ATmega into Arduino’s 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).
https://nemochronicles.files.wordpress.com/2014/10/connect.jpg
-
8/19/2019 Reset the ATmega8U2
8/11
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.
https://nemochronicles.files.wordpress.com/2014/10/load1.jpg
-
8/19/2019 Reset the ATmega8U2
9/11
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).
https://nemochronicles.files.wordpress.com/2014/10/final.jpg
-
8/19/2019 Reset the ATmega8U2
10/11
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 )
Yahooo!! You just saved the life of your dead Arduino..:)
Now you can just open the Arduino application and load the blink code to be sure that your cute lovely
Arduino is working..:)
https://nemochronicles.files.wordpress.com/2014/10/end.jpghttps://nemochronicles.files.wordpress.com/2014/10/done.jpg
-
8/19/2019 Reset the ATmega8U2
11/11