|
1 Arduino Uno and Mega 2560 Firmwares for the ATmega8U2 |
|
2 |
|
3 This directory contains the firmwares used on the ATmega8U2 on the Arduino |
|
4 Uno and Arduino Mega 2560. The arduino-usbdfu directory contains the DFU |
|
5 bootloader on the 8U2; the arduino-usbserial directory contains the actual |
|
6 usb to serial firmware. Both should be compiled against LUFA 100807. The |
|
7 two .hex files in this directory combine the dfu and serial firmwares into |
|
8 a single file to burn onto the 8U2. |
|
9 |
|
10 To burn (Uno): |
|
11 avrdude -p at90usb82 -F -P usb -c avrispmkii -U flash:w:UNO-dfu_and_usbserial_combined.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m |
|
12 |
|
13 To burn (Mega 2560): |
|
14 avrdude -p at90usb82 -F -P usb -c avrispmkii -U flash:w:MEGA-dfu_and_usbserial_combined.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m |
|
15 |
|
16 |
|
17 Note on USB Vendor IDs (VID) and Product IDs (PID): The arduino-usbdfu |
|
18 project uses Atmel's VID and MCU-specific PIDs to maintain compatibility |
|
19 with their FLIP software. The source code to the arduino-usbserial |
|
20 project includes Atmel's VID and a PID donated by them to LUFA. This |
|
21 PID is used in LUFA's USBtoSerial project, which forms the basis for |
|
22 arduino-usbserial. According to the LUFA documentation, this VID/PID |
|
23 combination is: |
|
24 |
|
25 "For use in testing of LUFA powered devices during development only, |
|
26 by non-commercial entities. All devices must accept collisions on this |
|
27 VID/PID range (from other in-development LUFA devices) to be resolved |
|
28 by using a unique release number in the Device Descriptor. No devices |
|
29 using this VID/PID combination may be released to the general public." |
|
30 |
|
31 The production version of the arduino-usbserial firmware uses the |
|
32 Arduino VID. This is only for use with official Arduino hardware and |
|
33 should not be used on other products. |