From 5c881220568e1c8641997ae8c595eb1fe30bca23 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Sat, 29 Nov 2025 17:27:30 -0600 Subject: [PATCH] modules: update ChibiOS to fix SD card watchdogs/stuck threads Incorporates ArduPilot ChibiOS pulls #99 , #100, and #101 to fix issues in the SD card drivers which can cause the flight controller to hang (and subsequently watchdog) or the logging thread to fall asleep forever and be unable to recover. Both results can happen during flight. The former result happens on F4 and F7 only, the latter happens on H7 too. The issues are mostly triggered by an SD card that is rapidly connected and disconnected, such as vibrating in its socket, though random card communication failures could trigger them too. They have existed for a very long time. Testing was performed on Cube Black (F4), Pixhawk 4 Mini (F7), and Cube Orange (H7). The issues were reproduced using an SD card extender, then deliberately unlocking and carefully wiggling the flat flex cable. After these patches, this can be done apparently indefinitely and the logging thread always comes back and logging restarts after the SD card is securely attached again. Note that some boards are evidently vulnerable to this wiggling shorting out the SD power rail and resetting the CPU too. Software can't fix that, so vehicles with poor SD card connections need to be fixed properly! --- modules/ChibiOS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ChibiOS b/modules/ChibiOS index c6d0293e32d09..4f34e21702137 160000 --- a/modules/ChibiOS +++ b/modules/ChibiOS @@ -1 +1 @@ -Subproject commit c6d0293e32d096dc88da861a0db40bfd1f6f8d9d +Subproject commit 4f34e21702137a43829501654c283940f8ffe179