User's Manual

49 TREK-572/303 User Manual
Chapter 6 Software Demo Utility Setup
6.4 WatchDog Sample Code
TREK V3 Watch Dog Sample Code is demonstration of controlling Watch Dog.
System Menu
TREK V3 Watch Dog Sample Code as below figure
1. Library Version
2. Range of Watch Dog timer
3. Set/Get Watch Dog time
4. Enable Watch Dog timer
5. Reload the watchdog timer to prevent the system from rebooting
Testing Watch Dog
1. Opening "TREK_V3_Sample_Code_Watch_Dog.exe"
2. Press "Get Range" button to check the range of watch dog timer
3. Input the time which you want system keep alive. For example 1 minute as
below figure
4. Press "Start WD Timer" to enable watch dog timer
5. Press "Trigger timer" to tell the watch dog system still alive