Hi guys, we are having some problems uploading firmware with Arduino to APM 1280 board when the size of the sketch is more than 122880 bytes (0x1E000).

I understand that bootloader starts at 0x1F000, so the maximum sketch size is 126976 bytes as Arduino shows.

What can be wrong? Tested on different boards and different computers. Arduino 0022 version.

Example:

Compiling:

Binary sketch size: 122904 bytes (of a 126976 byte maximum)

Uploading:

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x1e000
         0xe1 != 0xff
avrdude: verification error; content mismatch

Thank you!!

 

Views: 1026

Reply to This

Replies to This Discussion

Great, fuses fixed and boards working great now.

I'm sending pm with info.

Hi Juampa,

 

I have the same problem with you.  However, I just created another forum post.  Should I just set 2 parameters you mentioned in your post?  Would it fix the problem?

 

Best wishes,

 

Peter

Hi Peter, you just need to change that 2 parameters. You will need an ISP programmer.
I also have the same issue. Shouldn't DIY Drones store repair or replace ours since it was a bad batch from them?
Vishal I choose to fix it myself because I got ISP programmer. Sure DIYDrones support will help you if you contact them.

Hi Juampa,

 

I changed those 2 fuses and the board is back to work again.  However, when I try to connect to APM Planner, it couldn't connect.  But I haven't had time to troubleshoot that yet.  Maybe it's another issue.  I have hard-coded some of the parameters i.e. GPS, disable logging to save space so that APM 2.20 can be uploaded to APM 1280.  So that might create another problem.  I'll update later.

 

Thanks for this post!

 

Peter

Hello, I have a similar problem to this day never had a problem with loading the firmware inAPM 1280. Planner using the APM.

But with the update 251. I get an error in the verification.

Detects the plate, internet download and up load the new firmware.

Not if the same problem that exists in this thread.

If so, how I can resolve this error?

The plate is purchased in July 2010 Sparkfun.

Sorry for my English, but only speak Spanish and I use the Google translator.


 

Hello again.

I managed to load the APM code 2.23. from APMPlanner 1.0.

And now working properly, do not know if there is any chance to load. a code that is not updated online. as in version 1.0.93 of APM Planner.

I mean. to choose the version. the code. to load. from the APM Planner.

deleted

ive just discoverd the actual problem. AP 2.251 is actualy to big to fit on a 1280 board

Indeed that is the problem. there with the 1280.

The 2.24 is the latest version, which fits into the 1280 without touching anything.

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service