ardupilot/Tools/ArduPPM/ATMega32U2/Projects/arduino-usbserial
John Arne Birkeland 77fa51dcec ArduPPM v2.3.12 ATMega32u2 (APM 2.x)
---------------------------------------------
- New improved fail-safe detection and handeling for single or multible signal loss and receiver malfuntion
- Improved LED status for APM 2.x
- Improved jitter performance (PPM output using nested interrupts)

-------------------------------------------------------------
ARDUPPM OPERATIONAL DESCRIPTION
-------------------------------------------------------------

APM 2.x LED STATUS:
-------------------
RX - OFF         = No input signal detected
RX - SLOW TOGGLE = Input signal OK
RX - FAST TOGGLE = Invalid input signal(s) detected
RX - ON          = Input signal(s) lost during flight and fail-safe activated
TX - OFF         = PPM output disabled
TX - FAST TOGGLE = PPM output enabled
TX - SLOW TOGGLE = PPM pass-trough mode

SERVO INPUT (PWM) MODE:
 -----------------------
- PPM output will not be enabled unless a input signal has been detected and verified
- Verified inputs are lost during operaton (lose servo wire or receiver malfunction):
  + The PPM output channel for the lost input will be set to the default fail-safe value
  + PPM throttle output (ch3) will be permanently set to fail-safe (900us)
- Lost channel signal is restored:
  + PPM output for the restored channel will be updated with the valid signal
  + PPM throttle output (ch3) will not be restored, and will continue to output fail-safe (900us)

PPM PASS-THROUGH MODE (signal pin 2&3 shorted):
-----------------------------------------------
- PPM output will not be enabled unless a input signal has been detected
- Active signal on input channel 1 has been detected:
  + Any input level changes will be passed directly to the PPM output (PPM pass-trough)
  + If no input level changes are detected withing 250ms:
    + PPM output is enabled and default fail-safe values for all eight channels transmitted
    + Input level change detected again, PPM fail-safe output is terminated and normal PPM pass-through operation is restored
2012-11-23 21:53:35 +01: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 ArduPPM for Mega 32U2 : upped requested USB power to 400 mA inside Arduino USB code. 2011-12-05 21:56:42 +01: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 ArduPPM v2.3.12 ATMega32u2 (APM 2.x) 2012-11-23 21:53:35 +01: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.