1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-02 13:24:12 +01:00
Arduino/hardware/arduino/avr/firmwares/arduino-usbserial
Cristian Maglie 1b3ae5fa63 Created second level in hardware folder: hardware/PACKAGE/PLATFORM/...
Made some helper class for files filtering.
platforms.txt now contains only one platform at a time.
Some cleanup in Compiler and AvrDudeUploader classes.
2011-12-30 15:46:04 +01:00
..
Board Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Lib Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Arduino-usbserial-atmega16u2-MegaADK-Rev3.hex Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Arduino-usbserial-atmega16u2-Uno-Rev3.hex Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Arduino-usbserial-mega.hex Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Arduino-usbserial-uno.hex Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Arduino-usbserial.c Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Arduino-usbserial.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Descriptors.c Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
Descriptors.h Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
makefile Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00
readme.txt Created second level in hardware folder: hardware/PACKAGE/PLATFORM/... 2011-12-30 15:46:04 +01:00

To setup the project and upload the Arduino usbserial application firmware to an ATMEGA8U2 using the Arduino USB DFU bootloader:
1. unpack the source into LUFA's Projects directory
2. set ARDUINO_MODEL_PID in the makefile as appropriate
3. do "make clean; make"
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
5. confirm that the board enumerates as either "Arduino Uno DFU" or "Arduino Mega 2560 DFU"
6. do "make dfu" (OS X or Linux - dfu-programmer must be installed first) or "make flip" (Windows - Flip must be installed first)

Check that the board enumerates as either "Arduino Uno" or "Arduino Mega 2560".  Test by uploading a new Arduino sketch from the Arduino IDE.