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

Hi all i am looking for a bit of advice.
I have been making a led controller over the last several months and its all pretty much done now.
I have made the controller on its own pcb with the idea that i can program my Atmega328 chip using the Arduino board and then swap the chip over to my controller.
This worked fine so i have bought 3 new Atmega328 chips so that i can make another 3 controllers but when i try to upload to the chips i keep getting the error message: "avrdude: stk500_getsync(): not in sync: resp=0x00"

When i put the old chip back into Arduino it uploads fine but wont do anything with the new ones.
Do the new chips need anything doing with them first like formatting?
Any help would be great.
Cheers
Carl

This worked fine so i have bought 3 new Atmega328 chips so that i can make another 3 controllers but when i try to upload to the chips i keep getting the error message: "avrdude: stk500_getsync(): not in sync: resp=0x00"

So do you have a link to where you bought your chips? If you bought 'factory virgin' chips then they won't work being plugged into an arduino board because there default fuse settings will not be setup correctly for the arduino configuration and there will be no bootloader program in the chip. You also need to know if you bought a 328p chip or a 328 chip (non p). Only if you bought a chip from a vendor that preloads a bootloader and sets the fuses will it be a plug and play situation. Even then you need to know what version of bootloader he is using in the chips he sells.

So all is not lost, you can burn a bootloader and set fuses on a vigin chip by using your arduino board and loading it with the arduinoISP sketch and then wiring the arduino up to the new chips installed on a breadboard. It's not difficult just a whole lot of detailed steps where any mistep and it doesn't work. :wink:

So that is why I suggested showing us where you bought the chips so you can directed on how to proceed.

Lefty

Cheers for the reply.
I orded the Atmega328p chips from digikey uk the exact chips are in the link below:

Cheers

Yep, raw chips, not Arduino bootloader chips, but much cheaper too.

Cheers for the help ive found this link which shows me how to do it :

Thanks again.