I recently bought 2 atmega328 with optiboot(told to me by the store) in it. I tried to program it with the setup (this setup is currently what i'm trying to do to bootload). It keep giving me this error.
stk500_getsync() not in sync resp=0x00
Things I tried
I read up the forums and some say to add the 10k resistors to the TX and RX pin which I tried but to no avail.
I tried to bootload with optiloader by Westfield and it failed to bootload too.
I attached my setup there. I hope it's clear enough.
What voltage do you measure between pins 22 & 20?
What is written on the crystal capacitors?
It looks like the blue wire going to the crystal may be in the wrong place.
The voltage is 4.94V between pin 20 and 22.
What was written on the crystal is 16.000M.
The datasheet is as follows:
The blue wire connects X2 to one of the pin of the crystal.
The brown wire connects X1 to the other pin of the crystal.
Just a question...there's no real differentiation between the pins right...? I don't know about crystals that much...
No, the OP was correct in connecting TX->TX and RX->RX. The recieve pin on the Arduino board is labelled with reference to the Atmega chip (So arduino RX=USB-TX). In order to use the onboard USB-Serial chip, you need to make sure the same is the case for the breadboard chip.
OP: Did you remove the Atmega chip from the Arduino when you were using it as a USB-Serial converter?