Hello, I have built a custom board to control some hardware, and I've integrated an Arduino ATMEGA2560 into the design using the MEGA2560 reference design. I'm having trouble with Windows Device Manager not recognizing the atmega16u2 USB to serial chip. I've followed a few different sets of instructions to program the combined hex file into the chip, and I've gotten as far as windows device manager at least seeing something, but not a COM port, and I get the error, "Unknown USB Device (Device Descriptor Request Failed), as in this image:
||had to delete link due to new user limitation||
I've followed a number of different instruction sets, all (for different reasons) without success. The most success I've had so far was by using AVRDUDESS with the TINY2313-20U (Sparkfun's Pocket AVR Programmer) like in the youtube link just below.
These are the things I've tried so far:
||had to delete link due to new user limitation||
||had to delete link due to new user limitation||
||had to delete link due to new user limitation||
||had to delete link due to new user limitation||
These are the settings I'm using in AVRDUDESS:
This is the schematic page for the 16u2 part of the design:
This is the schematic page for the 2560 uC part of the design:
||had to delete image due to new user limitation||
This is the schematic page for the power that feeds the 5V and 3.3V stuff and includes the same ideal diode circuit found on the Arduino MEGA 2560 board:
||had to delete image due to new user limitation||
I've also tried using an off the shelf Arduino Uno board with the Atmega Board Programmer, and that seemed to work for the ATMEGA2560 chip (through ICSP) because I get a blinky LED now on PB7 (2560 pin 26), but not for the 16u2 (through its ICSP).
I'm attempting to program the "Arduino-COMBINED-dfu-usbserial-atmega16u2-Mega2560-Rev3 .hex" file found in "Arduino\hardware\arduino\avr\firmwares\atmegaxxu2" It seems this contains both the bootloader and app code that the 16u2 needs. Is something else missing? Everywhere I've looked shows the same fuse bits that I have set in the AVRDUDESS GUI, and I don't seem to have any error talking over ICSP, at least according to the AVRDUDE print out in the AVRDUDESS GUI.
Any suggestions to get this to work?



