USBTinyISP used to burn ATMega 2560 bootloader

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
SFoster
 
Posts: 14
Joined: Sun Jun 21, 2009 3:38 pm

USBTinyISP used to burn ATMega 2560 bootloader

Post by SFoster »

I'm trying to burn the arduino bootloader to an ATMega2560 using the tinyisp and I'm getting the following error:

avrdude: verification error, first mismatch at byte 0x3e000
0x0d != 0xff
avrdude: verification error; content mismatch

I have tried using the arduino IDE to burn it and avrdude directly with the same result.

I am running win 7.

Any suggestions?

Scott

SFoster
 
Posts: 14
Joined: Sun Jun 21, 2009 3:38 pm

Re: USBTinyISP used to burn ATMega 2560 bootloader

Post by SFoster »

I tried the other machine and still no luck. I appreciate any help offered.

Thanks

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: USBTinyISP used to burn ATMega 2560 bootloader

Post by adafruit »

wont work, sorry that chip came out after the usbtiny and its not possible to fix it :/

spfoster
 
Posts: 1
Joined: Thu Mar 03, 2011 10:59 pm

Re: USBTinyISP used to burn ATMega 2560 bootloader

Post by spfoster »

Hmm. That's too bad. It's the only microcontroller I need it for. Fortunately it will program it. I just can't burn the bootloader which is less important to me. Is it a firmware issue on the tiny or a hardware issue?

Thanks

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: USBTinyISP used to burn ATMega 2560 bootloader

Post by adafruit »

both :/

kpalsson
 
Posts: 5
Joined: Wed Mar 09, 2011 4:21 pm

Re: USBTinyISP used to burn ATMega 2560 bootloader

Post by kpalsson »

I'm using a FabISP, which I believe is the same firmware as the USBTinyISP?

It reports the same problem when doing the verification:

Code: Select all

avrdude: verification error, first mismatch at byte 0x3e000
however it actually works just fine for programming code in the bootloader section of code. (0x3e000 to 3ffff) It just fails to verify.

I don't have a USBTinyISP here on hand to try this, it's at home, but I can probably bring one in to verify.

User avatar
eradicatore
 
Posts: 2
Joined: Wed Sep 08, 2010 8:54 am

Re: USBTinyISP used to burn ATMega 2560 bootloader

Post by eradicatore »

Unfortunately, I didn't find this article until after I attempted to flash a new bootloader in my atmega2560. Sure seems like the Arduino IDE should then grey out the option to program the bootloader with USBtiny if you also have board setup as atmega2560!!

So can anyone confirm that the official AVRISP MKII from atmel will be able to program a bootloader in my atmega2560? (I just ordered one from digikey so I will know in a few days I guess) Will it work with the Arduino IDE I hope also?

Justin

User avatar
Couby
 
Posts: 2
Joined: Sat May 03, 2014 3:55 am

Re: USBTinyISP used to burn ATMega 2560 bootloader

Post by Couby »

Hi, I'm facing some problems using a Rumba board which is ATMega 2560 chiped.

I'm using a USBTinyISP.


1. Problem or not ?

I flashed the ATMega 2560 via Arduino IDE and get the error reported above (verification error...).

Searching the net it is unclear if this error is really "factor" or not. Some people are reporting disregarding this error and having their chip working.

On my side, it is not working :-/. Yet I hardly know if there is the problem...

Are there any up to date knowledge about this problem and how to solve that need ?


2. A detail

A detail I noticed is that on reprap forum the high fuses indicated is different from the one in the Arduino boards.txt.

0x10 in reprap wiki, 0xD8 in Arduino boards.txt.

I have no knowledge in that field. I tried both without seeing any change, and using the reprap hex for flash.
I wonder which road to follow ?


3. USBtinyISP

If USBtinyISP were the problem flashing the ATMega2560, what is the alternative ?
I don't see any orientation for that in the topic but that would help.
I read about burning a bootloader thanks to another Arduino. I have a UNO so, that's an option I could be interested in.
Yet it is not about wiring the UNO to another Arduino. Are there any schematics using the ISP port of a board (UNO <-> ISP port), like Rumba but I guess it could be usefull for others ?

Thanks for any help or orientations.

Regards

User avatar
Couby
 
Posts: 2
Joined: Sat May 03, 2014 3:55 am

Re: USBTinyISP used to burn ATMega 2560 bootloader

Post by Couby »

Hi.

I've been oriented by someone on a USB cable issue. And he was right :).
Now I have the board connecting correctly the computer and I can send firmware on it with Arduino IDE.
To be confirmed with more feedback.

User avatar
Arcadio
 
Posts: 1
Joined: Tue Dec 29, 2015 11:13 am

Re: USBTinyISP used to burn ATMega 2560 bootloader

Post by Arcadio »

Dear all
I am new to this forum and the whole world of Arduino and am facing a technical problem you seem to be involved in.
I have an Arduino 2560 MEGA Rev3 and a Clone "Iduino" MEGA Rev 3. For both after a couple of weeks of use I now fail to communicate via COM ports and I get an error. I have resorted to bootloading with a tinyISP v2.0 using Arduino 1.6.7 which has in its library the hex file "Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex" .
I have installed the driver for the tinyISP and then from the Arduino 1.6.7 I set it to burn bootloader and get the message:

avrdude: verification error, first mismatch at byte 0x3e000
0xff != 0x0d
avrdude: verification error; content mismatch
Error while burning bootloader.


I am really beyond my depth here. Thanks a lot
Arcadio

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”