CRASH :( Internal Errors 0x800

I have a Matek F765 Wing with Stable version 4.5.7 official that has been working perfectly for a very long time, but the other day while flying I got " Internal Errors 0x800 " followed by what appeared to be a reset and everything just stopped working and locked up with the crazy text covering the video… See pictures below.

Does anyone have any ideas on what could cause this ???



Can be the SD Card. If yes, check integrity.
Are you reading the OSD Font from SD Card by any chance?
It would explain why something with OSD is happening in the aftermath.

Chip Watchdog if enabled relies on being reset by main loop. If main loop is stuck, it resets the chip which likely crashes the plane in the process.

Hi Menschel,

Thank you for the reply ! There was no SD card in the Matek 765, empty slot and fonts were Ardupilot default. I just have no idea why this would happen after working great for over 2 years.

If you familiar with STM Cube Programmer you may want to upload the chip’s flash memory and compare it against the original binary. On-chip flash wears out after 10.000-50.000 erase cycles, depends on the specification. I don’t know where it writes the logs when you have no sd card for example.

OK, 10k guaranteed, table 59
https://www.st.com/resource/en/datasheet/stm32f767zi.pdf

After some digging,

Watchdog Reset → Error Message

So we have some Task 41, Semaphore Line 0, Fault Line 217, fault type 3, fault address 2.

I have not yet figured out how to index the task from this array and find out the module behind it.

Trying to guess, BUSFAULT…

https://documentation-service.arm.com/static/61084e4a3d73a34b640e31eb

1 Like

Hi Menschel,

WOW, that is awesome you got that much detail from this !!! Thank you for taking the time to look into this. Also, I have many, many hours flying this flight controller over the past few years, it was normal for me to get a 4+ hour flights on this plane. My biggest problem until now was wearing out servos… So I guess I have my answer:

  1. Make sure I have an SD Card in the flight controller to prevent this from happening again ???
  2. If I use Cube Programmer to do a complete erase on the Matek F765, and reinstall Ardupilot + bootloader, would it be safe to use this flight controller again ???

Can’t say for sure, task index is obscured by the features compiled in, but some logger tasks are in the possible range for index 41, so I would recommend using an SD card.
Before you erase the MCU, backup your parameters and make an upload with Cube Programmer.
Then you can compare the hex in an editor or ordinary diff tool.
There is code flash and data flash sectors. Compare if there is anything corrupted in code flash.

do you use a rpm sensor?

Hi Jinchengde,

No RPM or other sensors, just the flight controller and GPS.