328au bootload/upload problem

Used regular 328p microcontrollers/chip as beginner and still using them cause I like them
but in the last months I said maybe i will upgrade to something smaller and more compact
and I chose to try the 328au version the small smd one chip.

I got one and made some circuits to bootload the chip and program it using a uno as ISP
and uno as well to program it or a FTDI, after making the circuits I came up to some strange
problems.

I wanted to use the chip without 16Mhz crystal and I intended to use the internal 8Mhz
because I use 1.0.5 version of the IDE I used as a guide this website :

  1. Download this hardware configuration archive: breadboard-1-6-x.zip, Breadboard1-5-x.zip or Breadboard1-0-x.zip depending on which IDE you use.

...
Be sure to select "ATmega328 on a breadboard (8 MHz internal clock)" when burning the bootloader.

and I did.

After trying to burn the bootloader I got some strange errors, not invalid or couldn't find
signature ..etc after some tries the serial said the bootloader uploaded strangely

Used again arduino uno to upload a program following the link


This is the circuit i made to upload bootloader / code, RX/TX pins, reset, 13,12,11,10, VCC,GND and a led to pin 5.

after I thougth the bootloader is uploaded I tried to upload a blink test to pin 5
and always getting that error :

avrdude: stk500_getsync(): not in sync: resp=0x00

At this point not sure what to say, did the bootloader actually uploaded, yes, no ?
what is going on not sure.

D.60

I was having problems with the mu version and I found this and it worked for me.

I didn't hear you mention the 0.1uf cap between reset and dtr of the serial adapter. You need that in order to upload over serial (you can manually reset it if your timing is good, but the window you get to do it in is very small)

It doesn't look like you included the 0.1uf decoupling caps. You should expect a board to malfunction in unpredictable ways without them. You want one on each vcc pin, to ground, right next to the chip.

I didn't hear you mention the 0.1uf cap between reset and dtr of the serial adapter.

It doesn't look like you included the 0.1uf decoupling caps.


Using an Arduino board to burn the bootloader onto an ATmega on a breadboard (w/o an external clock).


Uploading sketches to an ATmega on a breadboard.

I just follow instructions...

The arduino website about bootloading and uploading code doesn't say anything about
decupligs caps and between reset ..