Crashing APM 2.0

I have some heavily modified ArduPlane 2.66 code running on my APM 2.0- since my last big series of modifications, my new mode seems to be crashing the board- as soon as I flip into the mode, the board goes into initialization, and the control surfaces go to max deflections. The whole system runs fine in HIL simulation with XPlane, so I am a little lost as to where to start looking to fix the bug.

What kinds of things would cause this type of crash? Anyone have any idea of what to look at to start trouble-shooting? Any suggestions are appreciated.

-Christian

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    typically the thing that causes me symptom/s most like the ones you are experiencing is running out of ram. ( SRAM)

    see here for more clues: http://arduino.cc/en/Tutorial/Memory

    in-short, comment out all your Serial.print('some debugging here')  statements, and you'll save a buch of ram.    

This reply was deleted.

Activity

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