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 ##############################################################
uno1.name=Arduino Uno Breadboard
uno1.upload.protocol=arduino
uno1.upload.maximum_size=32256
uno1.upload.speed=19200
uno1.bootloader.low_fuses=0xff
uno1.bootloader.high_fuses=0xde
uno1.bootloader.extended_fuses=0x05
uno1.bootloader.path=optiboot
uno1.bootloader.file=optiboot_atmega328.hex
uno1.bootloader.unlock_bits=0x3F
uno1.bootloader.lock_bits=0x0F
uno1.build.mcu=atmega328p
uno1.build.f_cpu=16000000L
uno1.build.core=arduino
uno1.build.variant=standard
##############################################################
Note: the original line was "uno.upload.speed= 115200"
Process:
1. Restart the IDE and upload the ISP sketch to the Arduino
2. Select, Tools/Board/
Arduino Uno Breadboard3. Load the "Blink" sketch or "other sketch"
4. Upload the "Blink" sketch
5. The bootloader does not respond since its baud rate is 115200 and the Board baud rate is 19200
6. The ISP sketch takes over and "Blink" is written to the 328PU on the breadboard.
7. The Blink sketch 328PU works OK.
The problem: if I try to load a new sketch to the breadboard 328PU I get this error:
avrdude: verification error, first mismatch at byte 0x010a
0x6a != 0x60
avrdude: verification error; content mismatch
My work around this is to re-burn the Bootloader to the breadboard 328PU and then do 3-7 above.
Would someone please explain the problem and suggest a solution to this situation?