Comment by cat-whisperer
1 day ago
I agree. the type safety that it brings to the HAL. it's a like cushion for people entering this space.
never understood what a watchdog is tho...
1 day ago
I agree. the type safety that it brings to the HAL. it's a like cushion for people entering this space.
never understood what a watchdog is tho...
A watchdog is a piece of hardware that will automatically restart the chip if it detects the code as being stuck. The way it detects this is that you have to poke a register of the watchdog every so often, and if the register hasn't been poked for a certain timeout (usually configurable), the chip is restarted.
Watchdogs exist on MCUs but also on some "proper" computers. The Raspberry Pi has one for example.
>Watchdogs exist on MCUs but also on some "proper" computers
All modern computers have watchdog. You can check your logs
`journalctl -b | grep watchdog`
https://access.redhat.com/articles/7129255
That's a software watchdog. The comment you're replying to is talking about hardware watchdogs.
Yes, but those are done in software
2 replies →
mac’s too?
2 replies →
You don't need to poke the watchdog! Petting or feeding is fine too.
lol