I have a custom board with virgin ATMEGA2560-16AU and ATMEGA16U2-MU, I am trying to burn bootloader into ATMEGA16U2 using Arduino-uno via Arduino IDE, I have made all the connection as shown in this tutorial,
but no success so far.
First of all which board to select in tools to burn bootloader into ATMEGA16U2? I tried with Arduino UNO and other boards but I am getting following error
"avrdude: Device signature = 0xffffff (probably .avr8x_mega) (retrying)"
avrdude: Device signature = 0xffffff (probably .avr8x_mega)
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.