1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00
Arduino/hardware/arduino/sam/firmwares/atmega16u2/arduino-usbserial
2013-02-05 21:00:08 +01:00
..
Board Added firmware for USB2Serial converter (Atmega16u2) on Due Board 2012-11-05 17:35:50 +01:00
Lib Added firmware for USB2Serial converter (Atmega16u2) on Due Board 2012-11-05 17:35:50 +01:00
Arduino-usbserial.c Bugfix for garbage data coming from serial port after reset. 2013-02-05 21:00:08 +01:00
Arduino-usbserial.h Added firmware for USB2Serial converter (Atmega16u2) on Due Board 2012-11-05 17:35:50 +01:00
Descriptors.c Added firmware for USB2Serial converter (Atmega16u2) on Due Board 2012-11-05 17:35:50 +01:00
Descriptors.h Added firmware for USB2Serial converter (Atmega16u2) on Due Board 2012-11-05 17:35:50 +01:00
makefile Added firmware for USB2Serial converter (Atmega16u2) on Due Board 2012-11-05 17:35:50 +01:00
readme.txt Added firmware for USB2Serial converter (Atmega16u2) on Due Board 2012-11-05 17:35:50 +01:00

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.