Hello,
I'm quite new to programming AVRs. I managed to upload the bootloader to my Atmega328 by using these tutorials:
1. http://arduino.cc/en/Tutorial/ArduinoToBreadboard
and
2. http://arduino.cc/en/Tutorial/ArduinoISP
Now want to upload a sketch to it. I had already managed to upload sketches to Attiny's before, but when I try to use the Arduino as ISP programmer to program the Atmega328 it gives an error "
avrdude: stk500_getsync(): not in sync: resp=0x00". The error LED controlled by the "mega-isp" sketch also starts burning. Maybe i'm doing something wrong here, perhaps programming it with the Arduino as programmer is impossible when the bootloader is already burned to the chip??
The
first tutorial says that the Atmega chip needs to be removed and then the stand alone Atmega can be programmed via USB by connecting it to digital pins 0 and 1. Removing the atmega is more or less impossible with the SMD edition of the UNO, so is there any other solution to use the arduino as programmer?