Hello again!
What is the exact error message you are getting when you try to program the chip?
"Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions" in the bar, and
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
In the box below.
What Arduino do you have? The Uno? I have the Uno.
Are you trying to load on a breadboard that as a 16mhz crystal or are you using the internal clock?
I forgot to say that I do it with a 16mhz resonator. I never go it to work with the 8mhz breadbord thing.
I am using the duemillanove. Yes, I was trying to load the program onto a 328 on a breadboard, set up to use the internal oscillator. I will probably end up using the resonators / crystals instead.
So with my experience use the SERIAL + PONYPROG Really easiest and most cost effective method.
and ALPARENT is right , I have had the same problems with this UNO and internal Oscillator ,it's just needing an CRYSTAL and 2 22PF caps, not that COSTLY!
The only problem is, I do not have the crystal, capacitors, or a resonator lying around, and I forgot to order one with the 328 :(.
Let us know what board you have.
And I can give you a step-by-step of what worked for me. (If you want?)
That would be good, thanks!
I didn't need an external programmer. Just my Uno, a spare atmega, a breadboard, a 16mhz 3 pin resonator (as the caps integrated) and a 10k resistor.
I will probably end up using the same. The only problem is, local electronics shop is shut tommorow, so I cannot buy the bits yet.
Once you have the ArduinoISP connected, instead of burning a bootloader, try to upload a simple Sketch like Blink. Don't forget to add an LED + resistor on pin 13. If that works then you've proven that your ArduinoISP really is working the way it should. Reburn the bootloader.
When Blink + burning the bootloader works, I think these are the remaining possibilities...
-
You didn't get RX + TX connected correctly (loose wire, swapped).
-
You didn't get the Arduino processor "disabled" when you tried to upload a Sketch to the target.
I will try that now...
Thanks everyone!
Onions.