Hi there,
yesterday we experienced an in-flight watchdog reset of the Flight Controller which caused a crash.
The Logfile after the reboot contained this Watchdog information
Does anyone have ideas what might have caused this ?
We are flying 4.0.4 and a mission controlled by a companion.
The crash happened after about 15 minutes of flying
Thanks,
Daniel
hi @Daniel_Met, can you please tell me the exact UART setup you have. What devices are attached to what ports?
My guess from the log is you have a telem ratio on Telem1, you also have ESC telemetry enabled on SERIAL5. Was that active in the flight? I don’t see any ESC data logged.
Hi, thanks for looking into it.
You are correct, we have
Radio on 1, Companion on 2 and
Telemetry on serial 5
I added the logs here https://github.com/ArduPilot/ardupilot/issues/15488
The esc logs are present
@peterbarker and I are looking at this, but could you also see if you can reproduce on the ground? leave it running with companion active overnight. I’ve also setup the a mRoControlZeroF7 with the same params on my desk.
@Daniel_Met I have built 4.0.5 with the DMA fix here: http://uav.tridgell.net/DMA-fix/
this should fix the bug. If you have a chance to fly this and report back that would be appreciated!
Out of curiosity, was this issue present in earlier versions and on what hardware could this happen?
Im just curious why we didn’t have this issue before
the issue is most likely to happen when a UART TX DMA channel is shared with another high rate sensor. For the mRoControlZeroF7 the UART you are using at 921600 is shared with the SPI barometer.
Also note that I only managed to produce the bug once in my testing. I plan on trying some other approaches to making the bug happen more often later today.
We did several testflights and so far the issue has not happened.
I think its prettly likely that the bug is fixed
We will continue to monitor it and if something happens again Ill report it.