Hi,
The AVR core was removed from the main arduino/Arduino GitHub repository, and moved to a separate repository arduino/ArduinoCore-avr .
However, the DFU Programming 8U2 page still points to the arduino/Arduino repo as the place to get the ATmega16U2/8U2 firmwares for the UNO and MEGA boards:
Download updated firmware
The latest version is here
Choose the version that is suitable for your board, either arduino-usbserial/Arduino-usbserial-uno.hex or arduino-usbserial/Arduino-usbserial-mega.hex
The new link should be ArduinoCore-avr/firmwares/atmegaxxu2/arduino-usbserial at master · arduino/ArduinoCore-avr · GitHub
The file names should probably be changed as well, since all modern Arduinos use the ATmega16U2, not the ATmega8U2.
Pieter
pert
May 27, 2018, 10:38am
2
PieterP:
The new link should be ArduinoCore-avr/firmwares/atmegaxxu2/arduino-usbserial at master · arduino/ArduinoCore-avr · GitHub
Thanks for reporting this! I have opened an issue report in the bug tracker requesting this to be fixed, along with a bunch of other minor issues on that page:
opened 10:36AM - 27 May 18 UTC
Component: Documentation
Type: Bug
https://www.arduino.cc/en/Hacking/DFUProgramming8U2
---
Change:
>Updating t… he Atmega8U2 and 16U2 on an Uno or Mega2560 using DFU
To:
>Updating the **ATmega8U2** and 16U2 on an Uno or **Mega 2560** using DFU
----
Change:
>Previous versions of the Uno and Mega2560 had an Atmega8U2.
To:
>Previous versions of the Uno and **Mega 2560** had an **ATmega8U2**.
---
Change:
>Here's how to update the firmware on your 16u2 in a few steps.
To:
>Here's how to update the firmware on your **ATmega16U2** in a few steps.
---
Change:
>The Arduino Uno and Mega 2560 have been shipping with the updated version of the ATmega16u2 firmware.
To:
>The Arduino Uno and Mega 2560 have been shipping with the updated version of the **ATmega16U2** firmware.
---
Change:
>Windows: Download Atmel's flip programmer from here
To:
>Windows: Download Atmel's **FLIP** programmer from here
---
Change:
>Linux: from a command line type
To:
>Linux: **From** a command line type
---
Change:
>The firmware is also located with the Arduino software in the /hardware/arduino/firmwares/arduino-usbserial folder.
To:
>The firmware is also located with the Arduino software in the **/hardware/arduino/avr/firmwares/arduino-usbserial** folder.
---
Change:
>Reset the 8u2 or 16u2
To:
>Reset the **ATmega8U2** or **16U2**
---
Change:
>To verify you have reset the 8u2 or 16u2 chip:
To:
>To verify you have reset the **ATmega8U2** or **16U2** chip:
---
Change:
>In the Arduino programming environment, check the list of serial ports.
To:
>In the Arduino **IDE**, check the list of serial ports **under Tools > Port**.
---
Change:
>Windows: use flip to upload the hex file to your board
To:
>Windows: **Use** **FLIP** to upload the hex file to your board
---
Change:
>Mac & Linux: from a terminal window,
To:
>Mac & Linux: **From** a terminal window,
---
Change:
>If your board has an atmega8u2 type atmega8u2
To:
>If your board has an **ATmega8U2** type atmega8u2
---
Change:
>You can check this by looking in the serial port menu of the Arduino software.
To:
>You can check this by looking in the **Tools > Port** menu of the Arduino software.
---
Change:
>The 8u2 and 16u2's flexibility allows for other firmware
To:
>The **ATmega8U2** and **16U2**'s flexibility allows for other firmware
---
Change:
>Turn you Arduino Uno into a PS3 compatible USB joystick
To:
>Turn **your** Arduino Uno into a PS3 compatible USB joystick
If anyone has any additional suggestions for improvements to that page let me know and I'll update the issue.
PieterP:
The file names should probably be changed as well, since all modern Arduinos use the ATmega16U2, not the ATmega8U2.
Which filenames?
pert:
Which filenames?
The page mentions "arduino-usbserial/Arduino-usbserial-uno.hex" and "arduino-usbserial/Arduino-usbserial-mega.hex". Are these for the ATmega8U2 specifically? What's the difference between these and "Arduino-usbserial-atmega16u2-Uno-Rev3.hex" and "Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex"?