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!!
Tags:
Permalink Reply by Juampa on May 31, 2011 at 4:53pm Great, fuses fixed and boards working great now.
I'm sending pm with info.
Permalink Reply by Peter on July 18, 2011 at 6:02am 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
Permalink Reply by Juampa on July 18, 2011 at 7:14am
Permalink Reply by Vishal on July 18, 2011 at 7:23am
Permalink Reply by Juampa on July 18, 2011 at 8:02am
Permalink Reply by Peter on July 18, 2011 at 11:28am 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
Permalink Reply by Javier Robaina on November 17, 2011 at 6:49am 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.
Permalink Reply by Javier Robaina on November 17, 2011 at 8:00am 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.
ive just discoverd the actual problem. AP 2.251 is actualy to big to fit on a 1280 board
Permalink Reply by Javier Robaina on November 17, 2011 at 4:07pm Indeed that is the problem. there with the 1280.
The 2.24 is the latest version, which fits into the 1280 without touching anything.
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.106 members
1279 members
671 members
183 members
182 members
© 2013 Created by Chris Anderson.
Powered by
