[solved] Strange Crash and Prearm IOMCU error on cube?

Hey friends,

First off, I’m aware of the grounding notice for 2019 cubes. This is a 2019 cube running the latest master which from my understanding contains a possible fix to switch IMU in flight if a problem is detected. I’m also running the latest MP beta which should detect if there’s an inconsistency with the IMU and throw a warning upon connection to the cube. I did not get a warning when connecting. I understand that there’s a chance that this crash was caused by the this issue, even though it doesn’t seem like it according to what Phillip has posted.

I was doing a test flight with a new battery configuration a meter off the ground. It was flying great and holding position very well, when at about 8 minutes into the flight it turned on the yaw axis and crashed. It was a pretty slow crash and didn’t damage anything. The only thing strange I noticed is after the crash is an error “PREARM - IOMCU ERROR”. I’ve never seen this error before.

Any idea what happened? I’ve posted the log from the flight below.

First off, I’m aware of the grounding notice for 2019 cubes. This is a 2019
cube running the latest master which from my understanding contains a
possible fix to switch IMU in flight if a problem is detected. I’m also

I see no evidence in this log of estimation failures, and the vehicle was
quite happily alive through the entire event.

I was doing a test flight with a new battery configuration a meter off the
ground. It was flying great and holding position very well, when at about 8
minutes into the flight it turned on the yaw axis and crashed. It was a

Check the motor / ESC / whatever on channel 10; it looks like it failed in
flight. Not suddenly - possibly a mechanical problem with the motor?

pretty slow crash and didn’t damage anything. The only thing strange I
noticed is after the crash is an error “PREARM - IOMCU ERROR”. I’ve never
seen this error before.

That’s a new one, and I believe it is unrelated to your problem here.

1 Like

Thanks for taking a look! From my understanding, the IOMCU controls the motor outputs? That’s what made me think it might be related.

I agree with peters assessment here, but how did it arm with the prearm failure?

The prearm failure showed up on MP after the crash.

The iomcu errors that led to the prearm failures hadn’t occurred when the
vehicle armed. Those iomcu errors actually turn out to be bogus/expected,
and tridge has a PR to correct that issue.

As master currently stands, you can not arm with any “internal error”
having occurred (776c111d3cc094dc73172acf89a01705b3183d87) - and this
iomcu error is considered to be an internal error.

Incidentally to this (@meee1) , MAVProxy monitors the SYS_STATUS message
to see if any internal errors have occured in the software:

The message initially said “land now” - because if those bits are ever set
then something “not right” is definitely going on and your vehicle should
not be flying (and may not be for long). tridge is averse to long speech
output, so now it is just “critical failure” :slight_smile:

1 Like

@peterbarker Loading latest master on three of my early cubes now gives me an IOMCU unhealthily pre-arm. So the question is, am I dealing with a real or “bogus/expected” problem. All three have been flying well for the past few years and if I go back a few days to a previous master all is well.

Cheers, RB

1 Like

I installed an older master and was able to complete a full 27 minute flight without any issues or the IUMCU error. That leads me to believe that the crash was related to a bug in the latest firmware? @tridge this might be of interest to you.

I’ve fixed that now, please re-test.
Cheers, Tridge

1 Like

Confirmed, all is good now. Thanks

Cheers, RB

Just to follow up, the crash was caused by my ESC hitting it’s temperature protection limit. I added more ventilation for the ESC and haven’t had the issue since.