After you hook up your breadboard to RX and DX and removed the chip from you main board, connect a wire from the pin 1 on the main board (now empty) socket (not pin 1 on the headers.....on the chip socket)and connect it to the pin 1 on your on-breadboard chip.
QuoteAfter you hook up your breadboard to RX and DX and removed the chip from you main board, connect a wire from the pin 1 on the main board (now empty) socket (not pin 1 on the headers.....on the chip socket)and connect it to the pin 1 on your on-breadboard chip.That makes sense, as pin 1 is the reset, and we will need to reset the IC to program it. Just tested it, and it still does not work. Thanks anyway though!Onions.
What is the exact error message you are getting when you try to program the chip?
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.
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!
Let us know what board you have.And I can give you a step-by-step of what worked for me. (If you want?)
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.
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...1. You didn't get RX + TX connected correctly (loose wire, swapped).2. You didn't get the Arduino processor "disabled" when you tried to upload a Sketch to the target.
I uploaded the "arduino as ISP" sketch to the original 328 on the arduino, then uploaded blink with the "ATmega328 on breadboard (with 8MHz internal oscillator)" option, and it uploaded to the original 328 instead - the one I was trying to use as the ISP
After uploading the Arduino ISP sketch, did you disable auto-reset on the Arduino?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16