- 79 -
Appendix
Appendix E:
Watchdog Timer (WDT) Setting
WDT is widely applied to industry computers to monitor activities of CPU. The
programmed application triggers WDT with adequate timer setting depending
on its requirement. Before WDT counts down to zero, the functional system
will reset the counter. In case the WDT counter is not reset by an abnormal
system, it will counts down to zero and then reset the system automatically.
This computer supports the watchdog timer up to 255 levels for users for
software programming. Below please take the source code written in C for a
WDT application example.
/*-----
Include Header Area -----*/
#include "math.h"
#include "stdio.h"
#include "dos.h"
/**-------- index port 0x2e ---------*/
void main()
{
outportb(0x2e, 0x87); /* initial IO port */
outportb(0x2e, 0x87); /* twice, */
outportb(0x2e, 0x07); /* point to logical device */
outportb(0x2e+1, 0x07); /* select logical device 7 */
outportb(0x2e, 0xf5); /* select offset f5h */
outportb(0x2e+1, 0x40); /* set bit5 = 1 to clear bit5 */
outportb(0x2e, 0xf0); /* select offset f0h */
outportb(0x2e+1, 0x81); /* set bit7 =1 to enable WDTRST# */
outportb(0x2e, 0xf6); /* select offset f6h */
outportb(0x2e+1, 0x05); /* update offset f6h to 0ah :10sec */
outportb(0x2e, 0xF5); /* select offset f5h */
outportb(0x2e+1, 0x20); /* set bit5 = 1 enable watch dog time */
outportb(0x2e, 0xAA); /* stop program F71869E, Exit */
}
Summary of Contents for FPC-7200 Series
Page 2: ...This page is intentionally left blank...
Page 10: ...vi This page is intentionally left blank...
Page 11: ...1 General Information 1 Chapter 1 General Information...
Page 23: ...13 The Engine of FPC 7200 2 Chapter 2 The Engine of FPC 7200...
Page 30: ...20 This page is intentionally left blank...
Page 31: ...21 Installation and Maintenance 3 Chapter 3 Installation and Maintenance...
Page 38: ...28 Installation and Maintenance 5 To remove the CFast SIM card push that inwards to pop it out...
Page 44: ...34 This page is intentionally left blank...
Page 45: ...35 Driver AP 4 Chapter 4 Driver AP...
Page 48: ...38 Driver AP 4 Click Yes 3 Wait for extracting...
Page 49: ...39 Driver AP 6 Click Finish 5 Click Next...
Page 51: ...41 Driver AP 3 Click Yes 4 Click Next...
Page 52: ...42 Driver AP 5 Wait for the process 6 Click Next...
Page 54: ...44 Driver AP 2 Wait for extracting 3 Keep waiting...
Page 55: ...45 Driver AP 4 Click Next 5 Wait for the process...
Page 57: ...47 Driver AP 2 Click Next 3 Click Install...
Page 58: ...48 Driver AP 4 Wait for the process 5 Click Finish...
Page 59: ...49 BIOS 5 Chapter 5 BIOS...
Page 75: ...65 Appendix Appendix...