Hey all, so after playing around with Netduinos and TI Launchpads for a few years, i'm back getting into trouble with Arduinos.
The Backstory:
I've purchased a few ATMEGA328-AU (NOT ATMEGA328P) MCUs for a prototyping project i'm working on. I'm using a ZIF socket for the TQFP-32 package. I've burned the Optiboot-ATMEGA328 bootloader onto the MCUs using an Arduino Uno as ISP and modified Boards.txt and avrdude.conf files so it will read the correct device signature. I've verified that the bootloader is burned correctly. (FYI, this really sucked, for the love of god, buy a MCU with the bootloader on it already... )
The Setup:
So i've got an Adafruit FTDI Friend as a USB-Serial adapter hooked up my ZIF socket in the following configuration. I'm pretty sure the drivers installed correctly for the FTDI. Solder jumper on FTDI set to DTR on 6th pin.
FTDI is connected to GND and +5v thru breadboard rails with a decoupling cap on the rails.
PINS (actual on TQFP32 package):
1
2
3 - GND
4 - +5v
5 - GND
6 - +5v
7 - 16MHz XTAL (to GND)
8 - 16MHz XTAL (to GND)
9
10
11
12
13
14
15
16
17
18 - +5v
19
20
21 - GND
22
23
24
25
26
27
28
29 - 10k pullup to +5v, to FTDI DTR thru 1uF electrolytic (polarized neg. to DTR line)(I don't have a tantalum or ceramic with leads laying around besides 0603 packages...)
30 - to FTDI TX
31 - to FTDI RX
32
The Problem:
I'm trying to dump the Blinky program on the MCU to verify I can dump programs on it before I reflow these suckers onto my boards. I'm selecting the Due w/ATMEGA328 as the board (i know it actually has a ATMEGA328P, but they are nearly identical except for the pico power and device signature). When I upload a sketch, the TX LED blips a few times, but then it falls on it's face with this:
avrdude: stk500_getsync(): not in sync: resp=0x00
Any input would be greatly appreciated as I need to get this thing verified so I can build these boards.
Cheers,
Nevin Steinbrink
Discovered that the ATMEGA328-AU is seen by Arduino as an UNO. Changing the board to Arduino UNO works!!!
I hope this helps others getting into trouble ;D