Changes

Watchdog timers on AM335x boards

17 bytes added, 18:38, 30 June 2015
no edit summary
== Watchdog timers on AM335x boards ==
{{Message/Work in progress}}
=== Overview of this article ===
====Timeout====
For exampleDefault timeout for AM3354's watchdog is 60 seconds, but we can change the timeout value by adding the following lines to our main function, before the ''while'' loop:
int timeout = 45;
Sitara's watchdog can't show the amount of time that's remaining before rebooting the machine.
====Environmental Monitoring====
To learn about all the characteristics available for our watchdog timer, we can use ''ioctl'' it with the following command, which will fill the watchdog_info structure with the WDT identification and its Firmware version, as well as some flags with extra information about available options: