-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Atmega16U2/Atmega8U2 DFU articles refactor [HC-1599] #454
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some suggestions for improving readability, typos, etc.
...re Support/Generic/Flash-the-USB-to-serial-firmware-for-UNO-R3-or-earlier-and-Mega-boards.md
Outdated
Show resolved
Hide resolved
...re Support/Generic/Flash-the-USB-to-serial-firmware-for-UNO-R3-or-earlier-and-Mega-boards.md
Outdated
Show resolved
Hide resolved
The firmware is included in the **Arduino AVR Boards** package. When it's installed, you can find the firmware inside the [Arduino15 folder](https://support.arduino.cc/hc/en-us/articles/360018448279-Where-can-I-find-the-Arduino15-folder-): | ||
|
||
* Windows: `%USERPROFILE%\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\firmwares\atmegaxxu2\arduino-usbserial` | ||
* macoS: `~/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/firmwares/atmegaxxu2/arduino-usbserial` | ||
* Linux: `~/.arduino15/packages/arduino/hardware/avr/1.8.6/firmwares/atmegaxxu2/arduino-usbserial` | ||
|
||
You can also access the files from the [board package repository on GitHub](https://github.com/arduino/ArduinoCore-avr/tree/master/firmwares/atmegaxxu2/arduino-usbserial). | ||
|
||
Do one of the following: | ||
|
||
* Ensure that that **Arduino AVR Boards** package has been installed using Arduino IDE or Arduino CLI. | ||
* [Download the firmware for your board from GitHub](https://github.com/arduino/ArduinoCore-avr/tree/master/firmwares/atmegaxxu2/arduino-usbserial). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The firmware is included in the **Arduino AVR Boards** package. When it's installed, you can find the firmware inside the [Arduino15 folder](https://support.arduino.cc/hc/en-us/articles/360018448279-Where-can-I-find-the-Arduino15-folder-): | |
* Windows: `%USERPROFILE%\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\firmwares\atmegaxxu2\arduino-usbserial` | |
* macoS: `~/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/firmwares/atmegaxxu2/arduino-usbserial` | |
* Linux: `~/.arduino15/packages/arduino/hardware/avr/1.8.6/firmwares/atmegaxxu2/arduino-usbserial` | |
You can also access the files from the [board package repository on GitHub](https://github.com/arduino/ArduinoCore-avr/tree/master/firmwares/atmegaxxu2/arduino-usbserial). | |
Do one of the following: | |
* Ensure that that **Arduino AVR Boards** package has been installed using Arduino IDE or Arduino CLI. | |
* [Download the firmware for your board from GitHub](https://github.com/arduino/ArduinoCore-avr/tree/master/firmwares/atmegaxxu2/arduino-usbserial). | |
Ensure the **Arduino AVR Boards** package is installed using the Arduino IDE or CLI. The firmware is included in this package and can be found in the [Arduino15 folder](https://support.arduino.cc/hc/en-us/articles/360018448279-Where-can-I-find-the-Arduino15-folder-) when it's installed: | |
* Windows: `%USERPROFILE%\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\firmwares\atmegaxxu2\arduino-usbserial` | |
* macoS: `~/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/firmwares/atmegaxxu2/arduino-usbserial` | |
* Linux: `~/.arduino15/packages/arduino/hardware/avr/1.8.6/firmwares/atmegaxxu2/arduino-usbserial` | |
You can also download the firmware from the [board package repository on GitHub](https://github.com/arduino/ArduinoCore-avr/tree/master/firmwares/atmegaxxu2/arduino-usbserial). |
Consider removing the "Do one of the following" instructions since they can be included in the steps before. Also, the alternative to download the firmware from github is provided already so maybe there's no need to suggest it again.
...re Support/Generic/Flash-the-USB-to-serial-firmware-for-UNO-R3-or-earlier-and-Mega-boards.md
Outdated
Show resolved
Hide resolved
<!-- | ||
|
||
* **Example: UNO R3 (Windows):** | ||
``` | ||
TODO | ||
``` | ||
|
||
* **UNO R3 (macOS/Linux):** | ||
``` | ||
dfu-programmer atmega16u2 flash ~/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/firmwares/atmegaxxu2/arduino-usbserial/Arduino-usbserial-atmega16u2-Uno-Rev3.hex | ||
``` | ||
|
||
* **Mega2560 Rev3 (Windows):** | ||
``` | ||
TODO %localappdata% | ||
``` | ||
|
||
* **Mega2560 Rev3 (macOS/Linux):** | ||
``` | ||
dfu-programmer atmega16u2 flash ~/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/firmwares/atmegaxxu2/arduino-usbserial/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be removed
...re Support/Generic/Flash-the-USB-to-serial-firmware-for-UNO-R3-or-earlier-and-Mega-boards.md
Outdated
Show resolved
Hide resolved
...re Support/Generic/Flash-the-USB-to-serial-firmware-for-UNO-R3-or-earlier-and-Mega-boards.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Renat0Ribeir0 <[email protected]>
Combine Atmega16U2/Atmega8U2 DFU articles and document dfu-programmer for Windows.