Pages: [1] 2   Go Down
Author Topic: Bootloader Problem?  (Read 2262 times)
0 Members and 1 Guest are viewing this topic.
Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am trying to upload (any) sketch to a MEGA2560 board that I have, but consistently get a:

Code:
avrdude: verification error, first mismatch at byte 0x004c
0xfb! = 0xeb
avrdude: verification error; content mismatch



This error occurs for any sketch that I wish to upload.

Following Nick Gammon's very useful "fuse calculator sketch," I obtain the following data:

Code:
Atmega fuse calculator.
Written by Nick Gammon.
Entered programming mode OK.
Signature = 0x1E 0x98 0x01
Processor = ATmega2560
Flash memory size = 262144
LFuse = 0xFF
HFuse = 0xD8
EFuse = 0xFD
Lock byte = 0xEF
Clock calibration = 0xB5
OCD Enable.............................. [ ]
JTAG Enable............................. [ ]
Enable Serial (ICSP) Programming........ [X]
Watchdog Timer Always On................ [ ]
Preserve EEPROM through chip erase...... [ ]
Boot into bootloader.................... [X]
Divide clock by 8....................... [ ]
Clock output............................ [ ]
Bootloader size: 8192 bytes.
Start-up time: SUT0: [ ]  SUT1: [ ] (see datasheet)
Clock source: low-power crystal.
Brownout detection at: 2.7V.

SImilarly, using the sketch to detect the board, I obtain:

Code:
Atmega chip detector.
Entered programming mode OK.
Signature = 1E 98 01
Processor = ATmega2560
Flash memory size = 262144
LFuse = FF
HFuse = D8
EFuse = FD
Lock byte = EF
Clock calibration = B5
Bootloader in use: Yes
EEPROM preserved through erase: No
Watchdog timer always on: No
Bootloader is 8192 bytes starting at 3E000

3E000: 0D 94 89 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E010: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E020: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E030: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E040: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E050: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E060: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E070: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E080: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E090: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E0A0: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E0B0: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E0C0: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E0D0: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E0E0: 0D 94 B2 F1 41 54 6D 65 67 61 32 35 36 30 00 41
3E0F0: 72 64 75 69 6E 6F 20 65 78 70 6C 6F 72 65 72 20
[b]*snipped to save space*[/b]
3FCA0: 60 95 70 95 80 95 90 95 9B 01 AC 01 BD 01 CF 01
3FCB0: 08 95 AA 1B BB 1B 51 E1 07 C0 AA 1F BB 1F A6 17
3FCC0: B7 07 10 F0 A6 1B B7 0B 88 1F 99 1F 5A 95 A9 F7
3FCD0: 80 95 90 95 BC 01 CD 01 08 95 F9 99 FE CF 92 BD
3FCE0: 81 BD F8 9A 99 27 80 B5 08 95 26 2F F9 99 FE CF
3FCF0: 1F BA 92 BD 81 BD 20 BD 0F B6 F8 94 FA 9A F9 9A
3FD00: 0F BE 01 96 08 95 F8 94 FF CF FF FF FF FF FF FF
3FD10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD90: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FDA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FDB0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FDC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FDD0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FDE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FDF0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE00: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE90: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FEA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FEB0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FEC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FED0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FEE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FEF0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF00: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF90: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FFA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FFB0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FFC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FFD0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FFE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FFF0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

MD5 sum of bootloader = 8A F4 7A 29 43 A0 D8 7C DB ED 09 A3 8F 40 24 1E

First 256 bytes of program memory:

0: 01 C1 00 00 1F C1 00 00 1D C1 00 00 1B C1 00 00
10: 19 C1 00 00 17 C1 00 00 15 C1 00 00 13 C1 00 00
20: 11 C1 00 00 0F C1 00 00 0D C1 00 00 0B C1 00 00
30: 09 C1 00 00 07 C1 00 00 05 C1 00 00 03 C1 00 00
40: 01 C1 00 00 FF C0 00 00 FD C0 00 00 FB C0 00 00
50: F9 C0 00 00 F7 C0 00 00 F5 C0 00 00 0A C1 00 00
60: F1 C0 00 00 EF C0 00 00 ED C0 00 00 EB C0 00 00
70: E9 C0 00 00 E7 C0 00 00 E5 C0 00 00 E3 C0 00 00
80: E1 C0 00 00 DF C0 00 00 DD C0 00 00 DB C0 00 00
90: D9 C0 00 00 D7 C0 00 00 D5 C0 00 00 D3 C0 00 00
A0: D1 C0 00 00 CF C0 00 00 CD C0 00 00 CB C0 00 00
B0: C9 C0 00 00 C7 C0 00 00 C5 C0 00 00 C3 C0 00 00
C0: C1 C0 00 00 BF C0 00 00 BD C0 00 00 BB C0 00 00
D0: B9 C0 00 00 B7 C0 00 00 B5 C0 00 00 B3 C0 00 00
E0: B1 C0 00 00 00 00 21 00 24 00 27 00 2A 00 2D 00
F0: 30 00 33 00 01 01 00 00 04 01 07 01 0A 01 00 00

And finally, again, using Nick Gammon's board programmer sketch, when first running a verify on the board:

Code:
Atmega chip programmer.
Written by Nick Gammon.
Entered programming mode OK.
Signature = 0x1E 0x98 0x01
Processor = ATmega2560
Flash memory size = 262144 bytes.
LFuse = 0xFF
HFuse = 0xD8
EFuse = 0xFD
Lock byte = 0xEF
Clock calibration = 0xB5
Bootloader address = 0x3E000
Bootloader length = 7434 bytes.
Type 'V' to verify, or 'G' to program the chip with the bootloader ...
Verifying ...
No errors found.
Done.
Type 'C' when ready to continue with another chip ...

When I try to program the bootloader,

Code:
Entered programming mode OK.
Signature = 0x1E 0x98 0x01
Processor = ATmega2560
Flash memory size = 262144 bytes.
LFuse = 0xFF
HFuse = 0xD8
EFuse = 0xFD
Lock byte = 0xEF
Clock calibration = 0xB5
Bootloader address = 0x3E000
Bootloader length = 7434 bytes.
Type 'V' to verify, or 'G' to program the chip with the bootloader ...
Erasing chip ...
Writing bootloader ...
Committing page starting at 0x3E000
Committing page starting at 0x3E100
Committing page starting at 0x3E200
Committing page starting at 0x3E300
Committing page starting at 0x3E400
Committing page starting at 0x3E500
Committing page starting at 0x3E600
Committing page starting at 0x3E700
Committing page starting at 0x3E800
Committing page starting at 0x3E900
Committing page starting at 0x3EA00
Committing page starting at 0x3EB00
Committing page starting at 0x3EC00
Committing page starting at 0x3ED00
Committing page starting at 0x3EE00
Committing page starting at 0x3EF00
Committing page starting at 0x3F000
Committing page starting at 0x3F100
Committing page starting at 0x3F200
Committing page starting at 0x3F300
Committing page starting at 0x3F400
Committing page starting at 0x3F500
Committing page starting at 0x3F600
Committing page starting at 0x3F700
Committing page starting at 0x3F800
Committing page starting at 0x3F900
Committing page starting at 0x3FA00
Committing page starting at 0x3FB00
Committing page starting at 0x3FC00
Committing page starting at 0x3FD00
Written.
Verifying ...
No errors found.
Writing fuses ...
LFuse = 0xFF
HFuse = 0xD8
EFuse = 0xFD
Lock byte = 0xEF
Clock calibration = 0xB5
Done.

So it seems all the diagnostics are OK, yet, I still cannot load basic sketches to my Mega2560.

For reference, I have hooked up my two Mega2560 boards as follows:



The "good" board that I am uploading all of NIck Gammon's sketches to is the blue one, while the white one is the board that refuses even simple blink sketches.

Any help would be greatly appreciated.
Logged

Atlanta, USA
Offline Offline
Edison Member
*
Karma: 53
Posts: 1774
AKA: Ray Burne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My suspections are the 8U2 (or similar) that is the USB to serial (LUFA) processor.  Does the board enumerate properly when the USB is inserted?


Ray
Logged

Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Ray,

I'm not quite sure what you mean by whether the board enumerates properly or not.

I can upload sketches to the board (such as the "Blink" sketch) - the LED that is on the board flashes at 1 second intervals, as the sketch indicates. I can reduce the delay and the LED will blink faster.

However, the same error message (regarding the verification) always pops up.
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

He means when you plug in the USB do you get that "bong" sound that Windows makes? You may need a different device driver for that non-standard Mega board, otherwise it might not recognize the USB interface.
Logged

NSW Australia
Offline Offline
Faraday Member
**
Karma: 78
Posts: 3164
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can upload sketches to the board (such as the "Blink" sketch) - the LED that is on the board flashes at 1 second intervals, as the sketch indicates. I can reduce the delay and the LED will blink faster.

It is not 100% clear what you man by "upload" here - do you mean uploading by the USB port on the white board, or do you mean by ISP using the blue board?

If you actually are uploading by the USB port on the white board as it certainly appears from the screen capture of your IDE, the USB interface clearly is enumerating and indeed uploading, and your quibble is merely about the verification error.
Logged

Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Aha, in that case, yes, Windows recognizes the USB interface without a problem, as I can upload (say) a Blink sketch to the white board via a standard USB cable (and not via ISP).

My quibble is indeed about the verification error - does it matter at all? It does not seem like there are any problems with the sketches that I upload, but I wanted to double check.
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The "good" board that I am uploading all of NIck Gammon's sketches to is the blue one, while the white one is the board that refuses even simple blink sketches.

Aha, in that case, yes, Windows recognizes the USB interface without a problem, as I can upload (say) a Blink sketch to the white board via a standard USB cable (and not via ISP).

The white board refuses to upload a blink sketch, but you an upload a blink sketch, is that your position?
Logged

Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote from: Nick Gammon date=1384087522
The white board refuses to upload a blink sketch, but you an upload a blink sketch, is that your position?

Sorry for all the confusion. I can enumerate the white board with no problem. I can upload sketches to the white board via USB. However, it fails the verification in the Arduino IDE.

Ultimately, I would like to know whether this will have an impact on sketches I upload and if there is a fix yo prevent the error from occurring (or whether this is one of those cases where it does not hurt to ignore it)
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I can upload sketches to the white board via USB. However, it fails the verification in the Arduino IDE.

I'm not sure what you mean by this. If it fails verification, it doesn't upload properly, right? This doesn't normally happen to me so I would fix it.
Logged

Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm not sure what you mean by this. If it fails verification, it doesn't upload properly, right? This doesn't normally happen to me so I would fix it.
I figured it wasn't normal (since none of my other boards do it). When I try to upload a blink sketch to the white board, it uploads, and then pops up the "Verification failed" message in the Arduino IDE.

However, if I look at the LED that is on pin 13 of the board, it flashes once per second. If I update the sketch and (say) want the LED to flash every 500 ms, and reupload that, it also gives the same verification error, but the LED proceeds to flash at 500 ms.

This is what I meant by "the sketch uploads, fails verification checks, yet continues to run as expected."

Do you have any idea what other trouble shooting process I can run? According to your diagnostic tools, the board itself seems to be fine...
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It's odd, that's for sure. You could use the "detect chip signatures" sketch to check if the sketch actually uploaded completely.

http://www.gammon.com.au/forum/?id=11633
Logged

Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's odd, that's for sure. You could use the "detect chip signatures" sketch to check if the sketch actually uploaded completely.

http://www.gammon.com.au/forum/?id=11633
Thanks for the help Nick; I just want to clarify.

I should upload the "detect chip signatures" sketch to the (good) Mega, and then use it via ISP to detect the Mega in question, correct?

If so, I have already done so (see my original post, the second block of code)
Logged

Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've since looked at the problem again (sorry for the lack of updates, I have been busy at work).

I have tried running Nick Gammon's Atmega Self Read Signature Sketch on the Mega2560 in question. It returns the following in the serial monitor. I have cut out a part of it for brevity.

I am curious about the blocks near the end; there seem to be a lot of FF bytes there. Might these be causing a problem?

Code:
Signature detector.
Written by Nick Gammon.
Signature = 1E  98  01
Fuses
Low = FF High = D8 Ext = FD Lock = EF

Processor = ATmega2560
Flash memory size = 262144
Bootloader in use: Yes
EEPROM preserved through erase: No
Watchdog timer always on: No
Bootloader is 8192 bytes starting at 3E000

Bootloader:

3E000: 0D 94 89 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E010: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E020: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E030: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E040: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E050: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E060: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E070: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E080: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E090: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E0A0: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E0B0: 0D 94 A2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E0C0: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E0D0: 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1 0D 94 B2 F1
3E0E0: 0D 94 B2 F1 41 54 6D 65 67 61 32 35 36 30 00 41
3E0F0: 72 64 75 69 6E 6F 20 65 78 70 6C 6F 72 65 72 20
3E100: 73 74 6B 35 30 30 56 32 20 62 79 20 4D 4C 53 00
3E110: 42 6F 6F 74 6C 6F 61 64 65 72 3E 00 48 75 68 3F
3E120: 00 43 6F 6D 70 69 6C 65 64 20 6F 6E 20 3D 20 00
3E130: 43 50 55 20 54 79 70 65 20 20 20 20 3D 20 00 5F
3E140: 5F 41 56 52 5F 41 52 43 48 5F 5F 3D 20 00 41 56
3E150: 52 20 4C 69 62 43 20 56 65 72 3D 20 00 47 43 43
3E160: 20 56 65 72 73 69 6F 6E 20 3D 20 00 43 50 55 20
3E170: 49 44 20 20 20 20 20 20 3D 20 00 4C 6F 77 20 66
3E180: 75 73 65 20 20 20 20 3D 20 00 48 69 67 68 20 66
3E190: 75 73 65 20 20 20 3D 20 00 45 78 74 20 66 75 73
3E1A0: 65 20 20 20 20 3D 20 00 4C 6F 63 6B 20 66 75 73
3E1B0: 65 20 20 20 3D 20 00 4D 61 79 20 20 38 20 32 30
3E1C0: 31 32 00 31 2E 36 2E 37 00 34 2E 33 2E 33 00 56
3E1D0: 23 20 20 20 41 44 44 52 20 20 20 6F 70 20 63 6F
3E1E0: 64 65 20 20 20 20 20 69 6E 73 74 72 75 63 74 69
3E1F0: 6F 6E 20 61 64 64 72 20 20 20 49 6E 74 65 72 72
3E200: 75 70 74 00 6E 6F 20 76 65 63 74 6F 72 00 72 6A
3E210: 6D 70 20 20 00 6A 6D 70 20 00 57 68 61 74 20 70
3E220: 6F 72 74 3A 00 50 6F 72 74 20 6E 6F 74 20 73 75
3E230: 70 70 6F 72 74 65 64 00 4D 75 73 74 20 62 65 20
3E240: 61 20 6C 65 74 74 65 72 00 20 00 57 72 69 74 74
3E250: 69 6E 67 20 45 45 00 52 65 61 64 69 6E 67 20 45
3E260: 45 00 45 45 20 65 72 72 20 63 6E 74 3D 00 50 4F
3E270: 52 54 00 30 3D 5A 65 72 6F 20 61 64 64 72 00 3F
3E280: 3D 43 50 55 20 73 74 61 74 73 00 40 3D 45 45 50
3E290: 52 4F 4D 20 74 65 73 74 00 42 3D 42 6C 69 6E 6B
3E2A0: 20 4C 45 44 00 45 3D 44 75 6D 70 20 45 45 50 52
3E2B0: 4F 4D 00 46 3D 44 75 6D 70 20 46 4C 41 53 48 00
3E2C0: 48 3D 48 65 6C 70 00 4C 3D 4C 69 73 74 20 49 2F
3E2D0: 4F 20 50 6F 72 74 73 00 51 3D 51 75 69 74 00 52
3E2E0: 3D 44 75 6D 70 20 52 41 4D 00 56 3D 73 68 6F 77
3E2F0: 20 69 6E 74 65 72 72 75 70 74 20 56 65 63 74 6F
3E300: 72 73 00 59 3D 50 6F 72 74 20 62 6C 69 6E 6B 00
3E310: 2A 00 11 24 1F BE CF EF D1 E2 DE BF CD BF 01 E0
3E320: 0C BF 12 E0 A0 E0 B2 E0 EA E0 FD EF 03 E0 0B BF
3E330: 02 C0 07 90 0D 92 A0 30 B1 07 D9 F7 12 E0 A0 E0
3E340: B2 E0 01 C0 1D 92 AE 30 B1 07 E1 F7 0F 94 64 F3
3E350: 0D 94 83 FE 01 E2 0E BF 0F EF 0D BF 11 24 1F BE
3E360: 0D 94 64 F3 0D 94 00 F0 20 E0 30 E0 40 ED 57 E0
3E370: 05 C0 FA 01 31 97 F1 F7 2F 5F 3F 4F 28 17 39 07
3E380: C0 F3 08 95 9C 01 44 27 37 FD 40 95 54 2F DA 01
3E390: C9 01 86 0F 91 1D A1 1D B1 1D AB BF FC 01 87 91
3E3A0: 88 23 69 F0 80 93 C6 00 80 91 C0 00 86 FF FC CF
3E3B0: 80 91 C0 00 80 64 80 93 C0 00 6F 5F E8 CF 08 95
3E3C0: 8D E0 80 93 C6 00 80 91 C0 00 86 FF FC CF 80 91
3E3D0: C0 00 80 64 80 93 C0 00 8A E0 80 93 C6 00 80 91
3E3E0: C0 00 86 FF FC CF 80 91 C0 00 80 64 80 93 C0 00
3E3F0: 08 95 0F 94 C2 F1 0F 94 E0 F1 08 95 FC 01 90 81
3E400: 99 23 59 F0 90 93 C6 00 80 91 C0 00 86 FF FC CF
3E410: 80 91 C0 00 80 64 80 93 C0 00 31 96 99 23 79 F7
3E420: 08 95 28 2F 98 2F 92 95 9F 70 89 2F 80 5D 8A 33
3E430: 08 F0 89 5F 80 93 C6 00 80 91 C0 00 86 FF FC CF
3E440: 80 91 C0 00 80 64 80 93 C0 00 82 2F 8F 70 98 2F
3E450: 90 5D 9A 33 08 F0 99 5F 90 93 C6 00 80 91 C0 00
3E460: 86 FF FC CF 80 91 C0 00 80 64 80 93 C0 00 08 95
3E470: 9C 01 FB 01 85 36 91 05 1C F4 63 30 71 05 94 F0
3E480: C9 01 64 E6 70 E0 0F 94 24 FE 60 5D 7F 4F 60 93
3E490: C6 00 80 91 C0 00 86 FF FC CF 80 91 C0 00 80 64
3E4A0: 80 93 C0 00 2B 30 31 05 14 F4 32 97 B4 F0 C9 01
3E4B0: 64 E6 60 E0 0F 94 24 FE 6A E0 70 E0 0F 94 24 FE
Snipped here for brevity
3FD00: 0F BE 01 96 08 95 F8 94 FF CF FF FF FF FF FF FF
3FD10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FD90: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FDA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FDB0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FDC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FDD0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FDE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FDF0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE00: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FE90: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FEA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FEB0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FEC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FED0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FEE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FEF0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF00: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FF90: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FFA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FFB0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FFC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FFD0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FFE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
3FFF0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

MD5 sum of bootloader = F1 3C 95 CA DE FA 89 9B 63 A5 61 5B 39 B9 CD 77

Logged

Atlanta, USA
Offline Offline
Edison Member
*
Karma: 53
Posts: 1774
AKA: Ray Burne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
there seem to be a lot of FF bytes there. Might these be causing a problem?

The flash memory used for program storage in the uC requires that a page be erased before it can be written... erasure creates the "FF"s which are then replaced with user code.  After all user code is burned, "FF"s fill the rest of the program memory to the end-of-memory.  So, this is a normal thing to see...


Ray
Logged

Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hm, if that is the case, why might I still be getting strange verification errors upon uploading of any sketch?
Logged

Pages: [1] 2   Go Up
Jump to: