can't upload to arduino

Hi
I posted this problem earlier but now I have narrowed it down. So whenever I go to upload anything to my duemilanova, on both windows and linux, I get the same error:
Avrdude: verification error, first mismatch at byte 0x0002
0x61 !=0x63
Avrdude verification error, content mismatch

I have the proper board and serial ports selected. The board, when powered on, is still running an earlier uploaded program...which was just a blinking LED in pin 13.

When I run an arduino mega from the same computer I get no problems.

I have some little speakers lying around which have magnets in them...do magnets have an effect on the chips? Do you think if I just replace the atmega the board will work again? Is it easy to pull out and replace?

Anything else I could try before I spend money?

Thanks so much for any help!

Well, if you know how to handle a soldering iron, you can try this:

http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html

Or, if you happen to have another Arduino, you can try reflashing the bootloader using the Arduino as ISP.

Hi,

So I got another arduino duemilanove and hooked them up and tried to run the tutorial you posted...i'm getting similar errors...

***failed;
avrdude: verification error, first mismatch at byte 0x0000
0x3f != 0x0f
avrdude: verification error; content mismatch

any ideas? is the chip fried? can i replace the chip? Any ideas on how I might have fried the chip? are these chips sensitive to magnets?

Thanks for any help!

I am having the exact same issue - burning bootloader is also throwing errors for me (Arduino as ISP):

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x3f != 0x00
avrdude: verification error; content mismatch
avrdude: Send: Q [51] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]

avrdude done. Thank you.

Found my problem - the ArduinoISP code NEEDS to be installed on the first Arduino.

This code can be found in a NEW window File->Examples->ArduinoISP

Load this code as any other program to the first Arduino.

THEN run the Tools->Burn Bootloader->w/ Arduino as ISP

Also make sure any configs you may have altered from stock arduino-0018 are back to normal (I re-installed a fresh copy) - the burn speed is 19200 v 57600 for programs.

I wish this had been made more clear.

Lots of scrolling and leds blinking later, I get

################################################## | 100% 0.04s

avrdude: verifying ...
avrdude: 1 bytes of lock verified
avrdude: Send: Q [51] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]

avrdude done. Thank you.

...and finally I can now reload programs onto Arduino B again (A as ISP).

GOing to get myself a pile of AVR chips now :slight_smile:

I have the same problem as treebykooba. I have uploaded the ArduinoISP sketch and I haven't changed any settings since installing arduino-0018. Any ideas? Where do I configure the burn speed?

I finally burned the bootloader using the FTDI bitbang method. Requires only four wires and software (integrated with Arduino IDE), no programmers, no separate PCB...