Hi all,
I designed an Arduino Uno Rev3 board, with all of the parts as through hole, to teach students soldering in the coming weeks. Below you can find the schematic. So far, all of the tests have passed, except programming the 328p via the 16u2.
I get the following verbose error:
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/caleb/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbmodem14101
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
avrdude done. Thank you.
I have attempted the Loopback Test and it passed. Likewise, I have uploaded code to the 328p over ICSP and it runs perfectly. I have looked through as many similar forum posts as possible and haven't had much luck, but if anyone has any suggestions on what to try, I am all ears!
I have ruled out a bad 328p by moving a good 328p to my custom board. When I moved a known good 328p from a working uno to my custom uno, I was unable to program it. When I moved the 328p from the custom uno to the working uno, I was able to program it. This suggests that there is something wrong with the 16u2, however, I have not had much luck figuring out what is wrong.
Any tips on what to try?
Thank you and any help is appreciated.