|
1 To setup the project and upload the Arduino usbserial application firmware to an ATMEGA8U2 using the Arduino USB DFU bootloader: |
|
2 1. unpack the source into LUFA's Projects directory |
|
3 2. set ARDUINO_MODEL_PID in the makefile as appropriate |
|
4 3. do "make clean; make" |
|
5 4. put the 8U2 into USB DFU mode: |
|
6 4.a. assert and hold the 8U2's RESET line |
|
7 4.b. assert and hold the 8U2's HWB line |
|
8 4.c. release the 8U2's RESET line |
|
9 4.d. release the 8U2's HWB line |
|
10 5. confirm that the board enumerates as either "Arduino Uno DFU" or "Arduino Mega 2560 DFU" |
|
11 6. do "make dfu" (OS X or Linux - dfu-programmer must be installed first) or "make flip" (Windows - Flip must be installed first) |
|
12 |
|
13 Check that the board enumerates as either "Arduino Uno" or "Arduino Mega 2560". Test by uploading a new Arduino sketch from the Arduino IDE. |