Hi all!
As an exercise to learn KiCad, I copied the Adafruit Boardunio design. It's a bare bones UNO, just the ATMEGA328P-PU and support components for it to function. My post on the KiCad forum detailing what I did can be found here
Ordered PCB boards and parts and built one, and it works. I was confused about chips and ended up ordering a 328-PU, instead of the 328P-PU used in an UNO. This caused a few problems because it was the wrong chip, but I eventually got it programmed by using my official Ardunio UNO as a programmer.
Because I need to learn how to work with SMD electronics, I kind of copied some of the designs I've seen out there for programmers for the 328, to make a programmer for my board. For example, the Adafruit Metro line of boards use 328P-PU and a CP2104 USB to UART chip to program the 328P-PU. The ESP32 devkit boards I use have a CP2102, I think, to handle that task. My design uses the CP2103 and can be found in my KiCad fourm post here
My problem is I'm running into errors when trying to program my home brew 328-PU. When using the Adruino IDE I get the following error messages:
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 "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM4
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=0xa8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa8
When, in the IDE, I look at Tools -> Get Board Info I get these details:
BN: Unknown board
VID: 10C4
PID: EA60
SN: Upload any sketch to obtain it
An Adafruit Metro in the Arduino form factor returns this info:
BN: Unknown board
VID: 10C4
PID: EA60
SN: Upload any sketch to obtain it
My real UNO returns:
BN: Arduino Uno
VID: 2341
PID: 0043
SN: 95437313035351913192
Since I'm getting info from my board, I assume it's working, it's returning VID and PID info that matches Adafruit's Metro. I can program my Metro, my UNO, but not this board....
where am I going wrong?
how to get more info from avrdude?
Thanks for any help,
Randy