ardupilot/Tools/ArduPPM/ATMega32U2/Projects/arduino-usbserial
Ricardo de Almeida Gonzaga 1062aed91e Tools: Fix typos 2016-05-13 19:20:07 -03:00
..
Board ArduPPM: New and improved PPM encoder firmware for APM 1.x boards with ATmega328p and new ones using ATMega32U2. 2011-10-01 00:12:22 +02:00
Lib ArduPPM: New and improved PPM encoder firmware for APM 1.x boards with ATmega328p and new ones using ATMega32U2. 2011-10-01 00:12:22 +02:00
Arduino-usbserial.c ArduPPM: fixed paths for includes 2011-11-20 19:06:24 +11:00
Arduino-usbserial.h ArduPPM: New and improved PPM encoder firmware for APM 1.x boards with ATmega328p and new ones using ATMega32U2. 2011-10-01 00:12:22 +02:00
Descriptors.c Fix compile errors 2013-01-11 13:20:49 -08:00
Descriptors.h ArduPPM: New and improved PPM encoder firmware for APM 1.x boards with ATmega328p and new ones using ATMega32U2. 2011-10-01 00:12:22 +02:00
makefile Tools: Fix typos 2016-05-13 19:20:07 -03:00
ppm_encoder.txt ArduPPM: New and improved PPM encoder firmware for APM 1.x boards with ATmega328p and new ones using ATMega32U2. 2011-10-01 00:12:22 +02:00
readme.txt ArduPPM: New and improved PPM encoder firmware for APM 1.x boards with ATmega328p and new ones using ATMega32U2. 2011-10-01 00:12:22 +02:00

readme.txt

To setup the project and upload the Arduino usbserial application firmware to an ATMEGA32U2 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 32U2 into USB DFU mode:
4.a. assert and hold the 32U2's RESET line
4.b. assert and hold the 32U2's HWB line
4.c. release the 32U2's RESET line
4.d. release the 32U2's HWB line
5. confirm that the board enumerates as "ATmega32u2"
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 "Arduino Mega 2560".
Test by uploading a new Arduino sketch from the Arduino IDE.