sl-firmware
f59bc9931e
feat: CAN bus watchdog and error recovery (Issue #694)
- CAN1_SCE_IRQHandler: detects bus-off/error-passive/error-warning from ESR
- can_driver_watchdog_tick(): polls ESR each cycle, auto-restarts after CAN_WDOG_RESTART_MS (200ms)
- can_wdog_t: tracks restart_count, busoff_count, errpassive_count, errwarn_count, tec, rec
- JLink TLM code 0x8F (JLINK_TLM_CAN_WDOG) with jlink_send_can_wdog_tlm()
- main.c: calls watchdog_tick() each loop, sends CAN wdog TLM at 1 Hz
- TEST_HOST: inject_esr() stub + busoff_pending flag fixes t=0 sentinel ambiguity
- test/test_can_watchdog.c: 23 unit tests, all pass
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 17:39:01 -04:00
..
2026-03-20 17:39:01 -04:00
2026-03-02 10:34:35 -05:00
2026-03-18 08:25:07 -04:00
2026-03-07 10:01:02 -05:00
2026-03-02 09:40:18 -05:00
2026-03-02 12:51:42 -05:00
2026-03-20 17:39:01 -04:00
2026-03-02 08:35:48 -05:00
2026-03-15 16:34:38 -04:00
2026-03-06 10:27:36 -05:00
2026-03-02 13:29:18 -05:00
2026-03-18 08:10:10 -04:00
2026-03-02 11:51:26 -05:00
2026-03-02 09:22:34 -05:00
2026-03-02 11:06:13 -05:00
2026-03-02 09:56:18 -05:00
2026-03-14 11:51:11 -04:00
2026-03-02 10:53:02 -05:00
2026-03-02 20:49:26 -05:00
2026-03-02 11:44:56 -05:00
2026-03-14 15:04:58 -04:00
2026-03-15 10:11:05 -04:00
2026-03-02 12:22:09 -05:00
2026-03-17 21:41:19 -04:00
2026-03-02 21:09:17 -05:00