Atmega16u2 not being seen by PC

"How-to" questions from new engineers and designers. Please ask and respond here.
Post Reply
Message
Author
RachelAnne
Posts: 3
Joined: 20 Jun 2021, 20:22

Atmega16u2 not being seen by PC

#1 Post by RachelAnne » 18 Oct 2021, 15:58

I have a number of standalone 16u2 chips wired up for prototyping purposes and they are never seen by my PC (windows 7) when attached via USB (I do not mean they are an 'unknown device', I mean they do not even start the driver search)

For sanity check I have wired the chips identical to UNO R3 schematic and flashed (Atmel Atudio->AVR Dragon->ISP->16u2) the chips with UNO R3 usb2serial hex file provided with the arduino IDE. The chips program and verify correctly, but will still not be recognized by the OS.

To check that the firmware I write is actually executing, I altered Unojoy to blink an LED while the USB is waiting on configuration:

// Initialize our USB connection
usb_init();
while (!usb_configured()){
LEDon(RXLED);
_delay_ms(50);
LEDoff(RXLED);
_delay_ms(50);
} // wait

The LED blinks and the loop never exits.

Any idea I what I have screwed up?

Shot of schematic attached. I am guessing it will look familiar. It is currently breadboarded, not on a PCB.
please refer to the attachment.
d6a64ca9406e93cebe1810320bb802a7ea559082.png
d6a64ca9406e93cebe1810320bb802a7ea559082.png (14.15 KiB) Viewed 377 times

Post Reply