Watchdog
Posted: Mon Sep 17, 2007 10:14 am
Just about everything you read about PICs says turn the watcrchdog off. What is the purpose of the watchdog then?
I have had a few cases of the PIC freezing up (at least the LCD freezes up, not absolutely sure if this means the PIC has stopped running too, or is just stuck in a continouos loop) and I’d like the watchdog to detect this and reboot the PIC. Will it do this if I turn it on?
What kind of things does the watchdog detect? E.g a divide by zero?
Ideally I’d find the cause of this freezing, but just in case, it’s safer in my case to continuously reboot than to freeze up.
I have had a few cases of the PIC freezing up (at least the LCD freezes up, not absolutely sure if this means the PIC has stopped running too, or is just stuck in a continouos loop) and I’d like the watchdog to detect this and reboot the PIC. Will it do this if I turn it on?
What kind of things does the watchdog detect? E.g a divide by zero?
Ideally I’d find the cause of this freezing, but just in case, it’s safer in my case to continuously reboot than to freeze up.