This is the DFU firmware for the ATmega16U2 on the Arduino Uno R3 and Arduino Mega 2560, made from scratch using Atmel Studio 7 and its LUFA extension. You'll need an SPI programmer to flash it.
This is the DFU firmware for the ATmega16U2 on the Arduino Uno R3 and Arduino Mega 2560
https://tewarid.github.io/2016/08/09/arduino-usb-dfu-firmware-from-scratch.html
This is the DFU firmware for the ATmega16U2 on the Arduino Uno R3 and Arduino Mega 2560, made from scratch using Atmel Studio 7 and its LUFA extension. You'll need an SPI programmer to flash it.
This is the DFU firmware for the ATmega16U2 on the Arduino Uno R3 and Arduino Mega 2560
https://tewarid.github.io/2016/08/09/arduino-usb-dfu-firmware-from-scratch.html