
PICO300 Pico-ITX Board
Watchdog Timer
83
Appendix B
Watchdog Timer
B.1
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.
B.2
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
Summary of Contents for PICO300
Page 1: ...PICO300 Intel Pentium N3710 Celeron N3060 Processors Pico ITX Board User s Manual...
Page 10: ...PICO300 Pico ITX Board 4 Introduction This page is intentionally left blank...
Page 12: ...PICO300 Pico ITX Board 6 Board and Pin Assignments Bottom View Side View...
Page 13: ...PICO300 Pico ITX Board Board and Pin Assignments 7 2 2 Board Layout Top View Side View...
Page 14: ...PICO300 Pico ITX Board 8 Board and Pin Assignments Bottom View...
Page 16: ...PICO300 Pico ITX Board 10 Board and Pin Assignments...
Page 32: ...PICO300 Pico ITX Board 26 Hardware Description...
Page 33: ...PICO300 Pico ITX Board Hardware Description 27...
Page 60: ...PICO300 Pico ITX Board 54 AMI BIOS Setup Utility This page is intentionally left blank...
Page 82: ...PICO300 Pico ITX Board 76 I O Boards Optional Side View A 15 AX93292 Board Layout Top View...
Page 92: ...PICO300 Pico ITX Board 86 Watchdog Timer This page is intentionally left blank...
Page 96: ...PICO300 Pico ITX Board 90 BIOS Flash Utility This page is intentionally left blank...