logoalt Hacker News

VorpalWaylast Friday at 8:02 AM2 repliesview on HN

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.


Replies

5d41402abc4blast Friday at 8:15 AM

>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

show 3 replies
the__alchemistlast Friday at 1:36 PM

You don't need to poke the watchdog! Petting or feeding is fine too.

show 1 reply