![Arbor Technology FPC-8100 Series User Manual Download Page 103](http://html1.mh-extra.com/html/arbor-technology/fpc-8100-series/fpc-8100-series_user-manual_2963046103.webp)
- 91 -
Appendices
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 <math.h>
#include <stdio.h>
#include <dos.h>
int sioIndex = 0x4E;
/* or 0x2E */
int sioData = 0x4F;
/* or 0x2F */
int main(void)
{
int iCount;
printf("WDT Times ( 1 ~ 255 ) : \0");
scanf("%d",&iCount);
printf("\n");
SioWDTStart(iCount);
while(1)
{
iCount = SioWDTCount();
printf("\r Counts : %d ",iCount);
sleep(1);
}
return 0;
}
void SioWDTStart(int iCount)
{
outportb(sioIndex,
0x87);
/*
Enable
Super I/O */
Summary of Contents for FPC-8100 Series
Page 2: ...2 This page is intentionally left blank...
Page 3: ...i Revision History Version Release Time Description 1 0 2021 02 Initial release...
Page 6: ...iv This page is intentionally left blank...
Page 12: ...x This page is intentionally left blank...
Page 13: ...1 1 Chapter 1 Introduction Chapter 1 Introduction...
Page 17: ...5 Introduction OS Support Windows 10 IOT Enterprise 64 bit Linux Kernel 4 9...
Page 20: ...8 2 Chapter 2 System Overview Chapter 2 System Overview...
Page 25: ...13 3 Chapter 3 System Configuration Chapter 3 System Configuration...
Page 45: ...33 4 Chapter 4 Installation and Maintenance Chapter 4 Installation and Maintenance...
Page 69: ...57 5 Chapter 5 BIOS Chapter 5 BIOS...