Not sure if this is the best place for this question: but...here
goes:
To guarantee that a program is always running, seems like a software
watchdog is the best
idea. However, the watchdog shipped with the TS-7260 needs to be fed
every 8 seconds.
Segmenting my program into 8 second blocks seems messy. So, I propose
an alternate
approach:
I'll use a separate thread (or even independent app) to periodically
check in on the main app.
If the main app doesn't check in within, say, 30 minutes, a reset can
be forced. I could use
the watchdog in that separate thread so that if it died, too, it would
cause a reset. This
seems like a good approach. Just wondering if anyone has anything
better, or some insight
into watchdog use?