Open thetazero opened 2 years ago
Watchdog timer exists, not sure if it works
I saw the watchdog timer on the schematic today when I was looking into i2c addresses - I'll send a Slack message to Neil/Gaurav to ask what functionality they want/need on the driver side for it.
@yashika-batra thoeretically we should have a watchdog timer and theoretically the driver should be doing the appropriate voltage manipulations. But neither of these are confirmed. Please let me know what you find out.
Based on the adafruit docs, it looks like there's a separate watchdog module and a watchdog submodule of the microcontroller module.
I can't find anything specific to the MAX706+ WDT that we're using.
Docs are here: microcontroller.watchdog watchdog
Not sure what functionality we want to implement but this is what we're working with.
This is probably worth reading for you pycubed watchdog
Here's the code that actually interacts with the watchdog. This doesn't seem like a good design as it is likely configuring hardware to feed the dog, so the watchdog has no indication if the flight software is running correctly.
What I'd rather see is a very simple task that is scheduled to run every iteration of the state machine loop.
As per our conversation, I agree.
Do we want to have a watchdog / does it work