I had problems uploading sketches to my Arduino Nano 3.0 compatible board (got verification errors),
so I followed this tutorial: http://arduino.cc/en/Tutorial/ArduinoISP,
using my Arduino Diecimila as a programmer (I've done it before successfully),
and got this error:
avrdude: verification error, first mismatch at byte 0x7800
0x0c != 0xff
avrdude: verification error; content mismatch
Please see the attached verbose output.
BTW,
I'm using version 1.0.3 of the IDE on Ubuntu 12.10 32bit.
This may or may not have any bearing on your problem, but I was unable to burn bootloaders from Ubuntu 10.04 recently. Everything looked OK but I had similar errors trying to burn and it trashed the chip. When I moved to a Centos 6 system everything started to work fine. Again, it most likely isn't the same problem, but if you have the ability to use a different OS, it's worth a try. Might save some time. Then again, it might waste some time.
I gave it a try on Fedora 17 x86_64,
and got the same result:
Program loading on "Diecimila" works.
Using "Diecimila" to program "Nano" failed on verification stage ("verification error, first mismatch at byte 0x7800").
Thanks anyway.
BTW, before I tried to burn bootloader on "Nano",
it did give me the indication of a working bootloader (that blink after reset), But uploads failed on verification.
Now, it doesn't do that, and it fails on communication when I try to upload.
I know its not completely fried, but guess I've damaged it some how..
Which Nano clone do you have? I just flashed mine (LISA 2011) with no trouble other that Pin 1 on the ICSP is flipped 180 from where I though it would be. Another handy tool to see if you have things hooked up correctly is Nick's chip detector:
Any chance something is wrong with its Flash/EEPROM?
Let's see if the Nano will take a EEPROM clear sketch. Set up your Arduino ISP from the Arduino IDE and then select/upload via programmer Examples->EEPROM->eeprom_clear. Then try the Burn Bootloader from the IDE. It worked once for someone else, though I have no idea what the EEPROM does to stuff the SPIEN enable (without disabling the bit).
I can't see anything obviously wrong. Can you try shoving a 0.1 uF capacitor between 5V and Gnd on the breadboard, adjacent to where the red and black wires are plugged in? Just a bit more decoupling on the power.
Sketch uses 928 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
Can someone help me with this error rectification? its urgent!!