Pages: [1]   Go Down
Author Topic: ATMEGA 2560 programing  (Read 465 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I try to upload a sketch to a ATMEGA 2560 using the arduino IDE and get the following (after upload done....):

avrdude: verification error, first mismatch at byte 0x0634
         0x0e != 0x06
avrdude: verification error; content mismatch

What can it be?
Thanks
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6137
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How old is the board?

Do you have !!! anywhere in your code (other than comments)?
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

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

The board is new (it is not an arduino board but I use the arduino IDE).
Yes I have some Exclamation marks in the code. Why?
Logged

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

Another thing, some of the exclamation marks are for logic not calculation.
Logged

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

Some bootloaders use !!! as an "escape" to go into command mode.
Logged

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

Does it have to be 3 in a raw?
Logged

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

Yes.
Logged

Pages: [1]   Go Up
Jump to: