Re: Watchdog information
Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Kunal Shah wrote: > I was having a question about watchdog whose answer I couldnt find in > archieves today. It seems that the only options provided in Java API is > setting watchdog timeout period and feeding it. But is there any way we can > find information about how many times watchdog timer expired.. i.e. system > reboot occurred because of watchdog.. > Does watchdog writes somewhere about this information or is this information > available using something like TINIOS.getBootState() ? > > I am particularly interesting to have ability to determine any continuous > application failure that's causing wathdog timer to expired every-time and > report such failure.. This can be also possible if watchdog can provide some > type of callback to the application before firing.. There is no callback for the watchdog. You could, however, keep a count of how many times you application started to allow the ability to track unintentional restarts. -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini