Accidently flashed ATmega16u2 usb to serial converter from arduino board

Hi Friends,

As the title says I messed up and attached the AVR programmer to the wrong ISP port ending up with the arduino bootloader on the USB/Serial chip.

Does someone has fuse and bootloader settings for this?

Ok so this was an easy one.

The chip is not read protected, so I simply read the flash from another arduino board and dumped into the blank one.
For convenience the files are attached for both a mega and an uno

Warning - This is the USB serial chip, not the arduino bootloader

ATmegaBOOT16u2_mega.hex (22.5 KB)

ATmegaBOOT16u2_uno.hex (22.5 KB)

I think these will be the same files as found in the below folder.

arduino\hardware\arduino\firmwares\atmegaxxu2\arduino-usbserial