8000 Update readme.txt by zhengqi-wang · Pull Request #2 · zhengqi-wang/ArduinoCore-sam · GitHub
[go: up one dir, main page]

Skip to content

Update readme.txt #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 7 additions & 13 deletions firmwares/atmega16u2/arduino-usbserial/readme.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
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".
To setup the project and upload the Arduino usbserial application firmware to an ATMEGA16U2:
1. unpack the source into LUFA's Projects directory (LUFA version 100807, http://www.fourwalledcubicle.com/LUFA.php)
2. set ARDUINO_MODEL_PID in the makefile as appropriate, default is Arduino Due
3. do "make clean; make" (the makefile is for winavr)
4. do the connections as in https://www.arduino.cc/en/Hacking/Upgrading16U2Due
5. upload Arduino-usbserial.hex by a proper method with a proper programmer (Arduino as ISP, USBASP, etc.)
6. disconnect the programmer
Test by uploading a new Arduino sketch from the Arduino IDE.
0