Hi
I've just received my arduino uno.
I try to upload a new firmware on the 8u2
I share here the steps I follow.
I use Windows.
Source
I use the following sources:
http://www.ladyada.net/library/arduino/unofaq.html
Software
I need those software:- Arduino 020 : http://arduino.cc/en/Main/Software
- LUFA 100807 : http://www.fourwalledcubicle.com/LUFA.php
- A Compiler: winavr, link here: http://www.fourwalledcubicle.com/LUFA.php install on default folder?
- DFU programmer: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3886
After install, copy folder arduino-0020\hardware\arduino\firmwares\arduino-usbserial on *LUFA_100807\Projects*
Hardware:
There are two modifications to do:
Solder 2 jumpers: one on the HWB line and one between pin 5 & 6 on ISP1 for RESET
How to put the Uno on DFU mode:
4. put the 8U2 into USB DFU mode:
4.a. assert and hold the 8U2's RESET line
4.b. assert and hold the 8U2's HWB line
4.c. release the 8U2's RESET line
4.d. release the 8U2's HWB line
The device became USB DFU
Hardware, drivers installation:
- Arduino Uno: drivers are on arduino-0020\drivers
- Arduino Uno DFU: drivers are on Atmel\Flip 3.4.2\usb
Verify the board
Upload blink program on your uno to check that the board is working fine.
Compile firmware
- To be sure that's working i change a line in Descriptors.c:
- UnicodeString = L"Arduino Uno"* by UnicodeString = L"ArduINo UNO"
- Open WinAvr/Programmer Notepad
- Load makefile
- I modify LUFA_PATH => LUFA_PATH = ../../
- You should have to modify ARDUINO_MODEL_PID if you use MEGA
- Do Tools[ch8594]Make clean
- Do Tools[ch8594]Make all
Upload Arduino-usbserial.hex on the board
- make sure the board is in DFU mode
- Start Flip
- Select the device AT90USB82 (not the ATmega8u2!!)
- Open usb communication
- Select Load Hex file
- Program target device memory
Test
Unplug the board and re-plug
The Name of the board should have changed : it becomes “ArduINo UNO”
Verify the board
Upload blink program on your uno to check that the board is still working fine.
That's all!