I have: Windows 7-64, IDE 1.03, Arduino UNO
I have successfully used the ArduinoISP sketch to burn bootloaders on 328PUs on a breadboard.
I have tried to download sketches using ArduinoISP several times using the 10uf method from reset to 0V, with no success.
I have had some success downloading sketches using ArduinoISP using the following process:
In Boards.txt, I copied the original "uno section", modified it as seen below and changed the baud rate to 19200
Just to clarify, is your breadboard a 328-PU or a 328P-PU?
Burning a bootloader to a 328-PU requires modifying avrdude.conf to provide a M328 entry with correct signature, and a 328 entry in boards.txt pointing at the correct avrdude model and bootloader.
Once you've done that you can't actually upload to the board via Arduino as ISP (or serial) with the board type selected as 328. You have to upload set as the original 328P Arduino UNO.
When Uploading via Programmer, with Arduino as ISP selected as programmer, Onto a bread boarded uC I have never used any additional capacitors. I just take a jumper from Pin 10 on the Arduino to the Reset pin on the breadboarded uC. The reset on the breadboarded uC is pulled high normally with a 10k resistor. I believe you only need that 10uF cap on the target IF it's another Uno, not a bare uC.
You then connect 11 > 11, 12 > 12 and 13 >13
Make sure your board is now set as the Target board and hit Upload via Programmer OR hold Shift while you hit the Upload button.
I'm not sure what you are doing with the whole changing of baudrate thing as that is not required at all. It almost sounds like you are trying to disable the ISP board bootloader and then upload with the normal Upload option, rather than Upload via Programmer.
If your going to program via ISP then the bootloader was only burnt to set all the fuses up correctly. As soon as you do your first upload via ISP to the target uC the bootloader on that device will be overwritten.
Just to clarify, is your breadboard a 328-PU or a 328P-PU?
The breadboard controller is a ATMEGA328P-PU
Make sure your board is now set as the Target board and hit Upload via Programmer OR hold Shift while you hit the Upload button.
I completely missed this.
No need to change Boards.txt
I won't forget this one.
Everything works great!
Just to summarize, my breadboard has a 328P-PU has 22pF caps. a 16MHZ crystal, 10 to reset,11 > 11, 12 > 12 and 13 >13
heartbeat/error/program LEDS on pins 9/8/7.
T h a n k Y o u !
I have used the same connection to burn bootloader to SMD Atmega328p-au successfully but i am not able to load simple blink sketch using the below connection :
Uploading sketches to an ATmega on a breadboard.
I am getting error: "avrdude: stk500_getsync(): not in sync: resp=0x00"
Note : as instructed in tutorial(mentioned above) i have to connect RX and TX pin of Arduino uno to RX and TX pin of SMD MCU(of PCB). As i found on google that we should not use RX PIN of Arduino Uno but if i remove it then how will i upload the sketch?
Please help me out with that . how can i upload sketch to SMD (on PCB) MCU.
Try this:
Connect Reset of Uno to Gnd on the power header. That takes the Uno processor out of the picture and frees up the USB/Serial chip to download elsewhere.
Connect Rx to Rx
Connect Tx to Tx
Connect Gnd to Gnd
Connect +5 to +5 if power is not provided otherwise.
Start the download. When the IDE shows "compiled xxx of 32xxx bytes" press reset on the SMD board.
The timing of when to press it can be easier to determine if Verbose outputs are selected under File:Preference.
Actually if i am trying to upload the sketch then synchronize(avrdude: stk500_getsync(): not in sync: resp=0x00") error come with compiled xxx of 32xxx bytes message.