Error: Implement a watchdog timeout system

Open
#181 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c
Domain
embedded-iot

Research direction

Start by reading the existing fault-reset system and the FSM where the watchdog reset should be serviced. Trace the flight-computer startup and reset flow to identify the independent watchdog configuration and a timeout that is safe both in the terminal and in flight. Done means infinite-loop failures trigger a full system reset without false resets during normal operation.

Written by the indexing model from the issue text.

Description

advanced enhancement

Description

Following on from our fault-reset system, we can create a method to detect fails such as infinite loops and trigger a full system reset.

Add an independent watchdog (IWDG) to the FC. Reset the watchdog timer in the FSM with a timeout that's sufficient to not trigger in the terminal or in flight.

Dominant language
C
Stars
8
Forks
6
Avg merge
6d 15h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SunDevilRocketry/Flight-Computer-Firmware

All issues in SunDevilRocketry/Flight-Computer-Firmware

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.