ATmega16U2 Issues

Hello everyone!

I am making my own version of an Arduino Mega board, and I am using a QFP package for the 16U2 instead of the normal QFN. I checked on the datasheet and both devices have the same pinout and such.

The problem is when I go to install the drivers for the device, the computer says that it will not install the drivers from the usb folder of the Atmel Flip installation location, which is where they are. I have done the same process of entering the chip into DFU mode and installing the drivers from the device manager location as I would do with the QFN.

Does anyone have an idea why the QFP acts different than the QFN?

Update: I have tried Nick Gammon’s method of reprogramming the boot loader and fuses. The serial window does report that I have entered programming mode and it does recognize the ATmega16u2 chip. I press G to start and the sequence flows smoothly. The window then shows that the fuses have been set as specified by the Arduino_Board_Programmer file. Specifically, the lock fuse is set to 0xCF. I then unplugged and replugged the board into the USB port, and the device is still shown to be an unknown device, and does not allow for updating drivers.