- 100 -
Appendix
B: Watchdog Timer (WDT) Setting
WDT is widely used for industry application to monitor the activity of CPU.
Application software depends on its requirement to trigger WDT with adequate
timer setting. Before WDT time out, the functional normal system will reload
the WDT. The WDT never time out for a normal system. The WDT will not be
reloaded by an abnormal system, then WDT will time out and auto-reset the
system to avoid abnormal operation.
This computer supports 255 levels watchdog timer by software programming
I/O ports.
Below is an assembly program example to disable and load WDT.
Sample Codes:
/*----- Include Header Area -----*/
#include “math.h”
#include “stdio.h”
#include “dos.h”
#define SIO_INDEX 0x4E /* or index = 0x2E */
#define SIO_DATA 0x4F /* or data = 0x2F */
/*----- routing, sub-routing -----*/
void main()
{
outportb(SIO_INDEX, 0x87); /* SIO - Enable */
outportb(SIO_INDEX, 0x87);
outportb(SIO_INDEX, 0x07); /* LDN - WDT */
outportb(SIO_DATA, 0x07);
outportb(SIO_INDEX, 0x30); /* WDT - Enable */
outportb(SIO_DATA, 0x01);
outportb(SIO_INDEX, 0xF6); /* WDT - Timeout Value :
5sec */
outportb(SIO_DATA, 0x05);
outportb(SIO_INDEX, 0xFA); /* WDOUT - Enable */
outportb(SIO_DATA, 0x01);
outportb(SIO_INDEX, 0xF5); /* WDT - Configuration */
outportb(SIO_DATA, 0x31);
outportb(SIO_INDEX, 0xAA); /* SIO - Disable */
}
Содержание Rigid-772
Страница 2: ...2 This page is intentionally left blank...
Страница 3: ...i Revision History Version Date Description 1 0 2013 February Initial release...
Страница 6: ...iv This page is intentionally left blank...
Страница 12: ...x This page is intentionally left blank...
Страница 13: ...1 1 Chapter 1 Introduction Chapter 1 Introduction...
Страница 19: ...7 2 Chapter 2 Getting Started Chapter 2 Getting Started...
Страница 23: ...11 Rear left...
Страница 26: ...14 This page is intentionally left blank...
Страница 27: ...15 3 Chapter 3 System Configuration Chapter 3 System Configuration...
Страница 29: ...17 Engine of the Computer FMB i77M1 Board Bottom 1 1 5 6 C1 C4 C2 C5 C3 C6 1 1 1 4 7 2 3 5 6 1 4 7 2 3...
Страница 47: ...35 Engine of the Computer...
Страница 55: ...43 4 Chapter 4 Installation and Maintenance Chapter 4 Installation and Maintenance...
Страница 84: ...72 This page is intentionally left blank...
Страница 85: ...73 5 Chapter 5 BIOS Chapter 5 BIOS...
Страница 109: ...97 Appendix Appendix...
Страница 113: ...101 This page is intentionally left blank...