Show Posts
Pages: 1 2 3 [4]
46  Forum 2005-2010 (read only) / Troubleshooting / error burning bootloader: linux, usbtinyisp, 328 on: March 27, 2009, 09:00:02 pm
Working on the problem I had last week, where my Arduino Duemilanove with ATMEGA 328 seems to have a corrupted bootloader.

I have borrowed a USBTinyISP and am trying to reprogram the bootloader, but I get the following error:

USB read error: expected 4, got -1
USB read error: expected 4, got -1
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

I have tried both allowing the USBTinyISP to power the Arduino, and also powering the Arduino externally, via USB.
I'm using Ubuntu Linux and version 15 of the Arduino IDE.

Any suggestions?
47  Forum 2005-2010 (read only) / Troubleshooting / Re: avrdude error on: March 25, 2009, 12:27:38 am
Slightly different story, but I'm guessing it's the same bug:

Platform: Ubuntu Linux
IDE rev: 13 alpha
Arduino: Duemilanove with ATMEGA328

Error:
avrdude: verification error, first mismatch at byte 0x0006
         0x8d != 0x7d
avrdude: verification error; content mismatch

But there are two weird things:

1. It worked OK at first, through about a dozen downloads, then suddenly started exhibiting this problem
2. The same version Arduino is showing no problems when uploaded from a Windows computer running rev 14

At first I suspected a problem with the Linux version 13 alpha, but now I'm not so sure.

Suggestions?
48  Forum 2005-2010 (read only) / Troubleshooting / Re: avrdude content mismatch: Linux, ATMEGA328 on: June 25, 2009, 09:26:34 pm
Well, it's been a long time but I finally bought and built a USBTinyISP. I've used it to try to reprogram the boot loader, and guess what: I get the same error:

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

It's always the same error: same address, same byte value.

I'm using the USBTinyISP to power the Arduino.

Any ideas?

Michael
49  Forum 2005-2010 (read only) / Troubleshooting / Re: avrdude content mismatch: Linux, ATMEGA328 on: March 29, 2009, 10:33:06 am
I'll check. Thanks for the tip.
50  Forum 2005-2010 (read only) / Troubleshooting / avrdude content mismatch: Linux, ATMEGA328 on: March 25, 2009, 12:29:12 pm
Platform: Ubuntu Linux
IDE rev: 13 alpha
Arduino: Duemilanove with ATMEGA328

Error:
avrdude: verification error, first mismatch at byte 0x0006
        0x8d != 0x7d
avrdude: verification error; content mismatch

But there are two weird things:

1. It worked OK at first, through about a dozen downloads, then suddenly started exhibiting this problem.

2. A different board of the same revision is showing no problems when
uploaded from a Windows computer running rev 14. However, my board, shows the same problem on Windows.

Is it possible I've corrupted the boot loader?

There has been a long thread on the forums about an avrdude protocol
error, and I think I may have seen this occur a few times. In the
forums, there are many proposed explanations and fixes. Most assume
problems with the Windows port (not my problem), but some suggest manual reset before upload. This did not help me.

At first I suspected a problem with the Linux version 13 alpha, but now
I'm not so sure.

Suggestions?

Pages: 1 2 3 [4]