Hi guys hope someone can help me with this..
After another routine fun flight with APM, it stopped working all of a sudden.
With the CLI switch in flight mode, APM no longer connects to my PC. The time out counts down from 30secs and gives this message:
Is your CLI switch in flight position?
System.ArgumentOutOfRangeException: Index 0 is out of range.
Parameter name: index
at ArdupilotMega.MAVLink.Open(Boolean getparams)
at ArdupilotMega.MainV2.MenuConnect_Click(Object sender, EventArgse)
Also, the ABC LEDs no longer flash when it is initiates a startup after I press the reset button..
However, I AM ABLE to connect to the PC with the CLI switch in CLI mode. I ran the tests in CLI and all are fine. In fact, when i did the IMU test in CLI, A and C LEDs blink when it is running the test.
I have cleared the EEPROM and reloaded the codes countless of times; but no results.
WHat might have gone wrong here?
I have had many flights on APM already and this problem simply came out of no where..
Thanks!
Replies
I seem to have resolved the problem.
I kept on erasing the EEPROM 5-6 times back to back.... and somehow everything is back to normal again.
Does anyone know why it behaved this way?
Some updates to my troubleshooting:
With the CLI switch in CLI mode, I went into APMSetup, and i resetted APM hardware back to default.
Immediately after that, I shifted teh CLI switch back into flight mode and hurray A and C LEDs blink and intialise the gyros and accel as it should. And I could connect to my PC in flight mode.
However, once I disconnected APM and tried reconnecting APM in flight mode again, the same problem resurfaced...
Im really at my wits' end here......