APM 2.0 boot problems

Hello,

I'm having trouble getting my APM 2.0 board booting up properly. I have been using the latest version of MissionPlanner 1.2.10 mav 1.0 but also tried earlier versions with no luck. I'm not sure if this is a hardware or software problem. I want to use the Hexcopter firmware but have also tried several other types of firmware and they all behave the same. I tried erasing and resetting via CLI, no difference.

I can connect fine over USB. Flight Data and Config GUI doesn't work at all. Everything is blank even with good connection showing. Link status %100. I've tried this over RS232 wireless and get the same result.

CLI seems to work great. I can configure the radio, setup my modes, everything looks good. Running the tests show things like PWM, Radio, compass, all working just fine.

If I reset and watch the CLI boot up it continuously repeats "Initialising APM" in between chunks of data. Status Leds ABC are all off. RX/TX blink continuously. I have left it doing this for hours at a time and nothing happens. The GPS locks after a few minutes even though I'm indoors testing but I'm told that doesn't matter? I've tried rebooting outside of CLI and it still seems to get stuck.

I decided to try writing the HIL simulation firmware and everything seems to come alive and work normal. The APM boot sequence shows Red/Blue leds cycle as its loading then Red blinks showing disarmed. I can use my radio to change that to Armed and even fire up ESC's with throttle control. The GUI shows my radio calibration readings fine. The only things that don't work are Gyros and compass in HUD but I'm guessing that's because it's a simulator firmware and meant to take those readings from your PC. Watching this simulator boot up over CLI is totally different. Massive streams of data flow through almost immediately.

Is there some way to debug the bootup of the regular firmware? It seems like something is preventing it from loading any of them.

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

Join diydrones

Email me when people reply –

Replies

  • Hi John,

    Did you find a solution to this problem? I am also facing the same.. It is  frustrating. I have added some of my own code. Is it because of usage of more memory while init? But in my case, I hardly have used more than 50 bytes of memory extra.

    Initialising APM...? u? w? y? {?3}?Initialising APM...? ~? ?? ?? ?? ??3??Initialising APM...? ?? ?? ?? ??3??Initialising APM...? ?? ?? ?? ?? ??3??Initialising APM...? ?? ?? ?? ?? ??3??Initialising APM...? ?? ?? ?? ?? ??3??Initialising APM...? ?? ?? ?? ?? ??3??Initialising APM...? ?? ?? ?????? ?? ??3??Initialising APM...? ??

This reply was deleted.

Activity

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