From be6c36ee33d15e606941141a7303c0bad92d765e Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Fri, 24 Sep 2010 10:40:37 -0400 Subject: [PATCH] Adding readme about the firmwares. --- hardware/arduino/firmwares/README.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 hardware/arduino/firmwares/README.txt diff --git a/hardware/arduino/firmwares/README.txt b/hardware/arduino/firmwares/README.txt new file mode 100644 index 000000000..c2e840b50 --- /dev/null +++ b/hardware/arduino/firmwares/README.txt @@ -0,0 +1,14 @@ +Arduino Uno and Mega 2560 Firmwares for the ATmega8U2 + +This directory contains the firmwares used on the ATmega8U2 on the Arduino +Uno and Arduino Mega 2560. The arduino-usbdfu directory contains the DFU +bootloader on the 8U2; the arduino-usbserial directory contains the actual +usb to serial firmware. Both should be compiled against LUFA 100807. The +two .hex files in this directory combine the dfu and serial firmwares into +a single file to burn onto the 8U2. + +To burn (Uno): +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 + +To burn (Mega 2560): +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 \ No newline at end of file