Difference between revisions of "Example watchdog"
(→Usage Example) |
|||
| Line 24: | Line 24: | ||
===Usage Example=== | ===Usage Example=== | ||
| − | < | + | <syntaxhighlight lang="text"> |
root@som9g20:/tmp# ./watchdog-test | root@som9g20:/tmp# ./watchdog-test | ||
Watchdog Ticking Away! | Watchdog Ticking Away! | ||
| − | </ | + | </syntaxhighlight> |
Revision as of 11:07, 3 January 2014
This is a guide to the watchdog C example project included in the EMAC OE SDK.
A Watchdog Timer (WDT) is a hardware circuit that can reset the computer system in case of a software fault. This is an example test for the Linux watchdog API.
The watchdog project builds one executable: watchdog-test.
Contents
Opening, Building and Uploading the Project Files
stubbooo
Usage and Behavior
watchdog
Hardware Requirements
fof ofoo
watchdog Usage
foo foo
Usage Example
root@som9g20:/tmp# ./watchdog-test
Watchdog Ticking Away!