100KM

Need help loading old version of Arduplane?

I'm trying to load version 2.4 of Arduplane and I've followed instructions on http://code.google.com/p/ardupilot-mega/wiki/Programming, but now that I have Arduino installed, I open a file and it allows all file types. No matter what file I select to upload, it tries to compile it first and then runs into compilation errors.

I don't want to compile 2.40, isn't there a binary that I can just upload through USB RS232 ?
 Basically do what the APM does, but with older versions of Ardupilot?

Please help? Thanks!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    If you want to dig deep, it's possible that you might find .hex files here:

    https://code.google.com/r/meee146-planner/source/list  

    ( look for commits lableled "firmware build" , and then look for the commit date to closely match the release date of the particular code version) .

    eg: this commit, on July 25 is the same date as the ArduPlane 2.50 was released:

    https://code.google.com/r/meee146-planner/source/detail?r=dfc5737c5...

    these .hex file/s are what APMplanner downloads and uses when you press the firmware upload button..... but it's up to you to figure out how to get an old version of .hex and upload it.       It might be that you could do something like this ( untested) ..... look in the Program Files/APM Planner/ folder for a file called firmware.hex  or firmware.hex.plane, and overwrite it with your manually downloaded one, and then disable your internet connection, so APM planner is unable to fetch a new one.   no idea, but it might work.  

  • Developer

    I too have requested this in the past.    ( the ability to load previous versions of the hex files ), but it's not a feature that's currently available.   the best method to get previous version/s uses Arduino, and compiled the code.   

    Compiling in Arduino is trivial if done right, so dont be put off it.    Greg's post is important to get right, but after that pressing "verify" will test if the code can be compiled right  and after than just pressing "upload" will do automatically do the compile-and-upload of which ever code you want.

  • Arduino needs to know where the libraries are so the can be linked by the compiler. It uses the libs in your sketch book.

    In the file tab, go to "Preferences" and select the location of your APM 2.4 top directory, which contains the libraries. The long string of red ink photons pixles, are all the missing cpp files.

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…