GOT5153W-845
User’s Manual
Watchdog Timer
51
Appendix A
Watchdog Timer
About Watchdog Timer
Software stability is major issue in most application. Some embedded systems are not
watched by human for 24 hours. It is usually too slow to wait for someone to reboot when
computer hangs. The systems need to be able to reset automatically when things go wrong.
The watchdog timer gives us solution.
The watchdog timer is a counter that triggers a system reset when it counts down to zero from
a preset value. The software starts counter with an initial value and must reset it periodically. If
the counter ever reaches zero which means the software has crashed, the system will reboot.
How to Use Watchdog Timer
The I/O port base addresses of watchdog timer are 2E (hex) and 2F (hex). The 2E (hex) and
2F (hex) are address and data port respectively.
Assume that program A is put in a loop that must execute at least once every 10ms. Initialize
watchdog timer with a value bigger than 10ms. If the software has no problems; watchdog
timer will never expire because software will always restart the counter before it reaches zero.
Begin
Enable and Initialize
Watchdog Timer
Program
“
A
”
Disable Watchdog
Timer
Next
Next
Next
Next
Begin
Enable and Initialize
Watchdog Timer
Program
“
A
”
Reset Watchdog
Timer
Next
Next
Next
Next
Содержание GOT5153W-845
Страница 6: ...vi This page is intentionally left blank...
Страница 12: ...GOT5153W 845 User s Manual 6 Introduction...
Страница 16: ...GOT5153W 845 User s Manual 10 Introduction This page is intentionally left blank...
Страница 18: ...GOT5153W 845 User s Manual 12 Hardware and Installation 2 2 SBC87845 Jumpers and Connectors Component Side...
Страница 19: ...GOT5153W 845 User s Manual Hardware and Installation 13 Solder Side...
Страница 49: ...GOT5153W 845 User s Manual AMI BIOS Setup Utility 43 3 5 Security...
Страница 51: ...GOT5153W 845 User s Manual AMI BIOS Setup Utility 45 3 7 Save Exit...
Страница 52: ...GOT5153W 845 User s Manual 46 AMI BIOS Setup Utility This page is intentionally left blank...
Страница 56: ...GOT5153W 845 User s Manual 50 Drivers Installation This page is intentionally left blank...
Страница 60: ...GOT5153W 845 User s Manual 54 Watchdog Timer...
Страница 62: ...GOT5153W 845 User s Manual 56 Volume Control...
Страница 63: ...GOT5153W 845 User s Manual Volume Control 57 Step 2 Follow the installing procedures and press Close...
Страница 64: ...GOT5153W 845 User s Manual 58 Volume Control...
Страница 65: ...GOT5153W 845 User s Manual Volume Control 59...
Страница 66: ...GOT5153W 845 User s Manual 60 Volume Control...
Страница 67: ...GOT5153W 845 User s Manual Volume Control 61 Step 3 System auto reboot installation completed...
Страница 70: ...GOT5153W 845 User s Manual 64 Volume Control Step 2 Follow the procedures and press Close...
Страница 71: ...GOT5153W 845 User s Manual Volume Control 65...
Страница 72: ...GOT5153W 845 User s Manual 66 Volume Control...
Страница 73: ...GOT5153W 845 User s Manual Volume Control 67 Step 3 System auto reboot uninstallation completed...