Revision: 1.0
37
outportb(IO_Port_Address,0x2D);
// Point to Global Reg.
//
Select
Multi-Function pin, (Bit0=0 Watchdog Function)
outportb(IO_Port_1,(inportb(IO_Port_1)&0xFE));
outportb(IO_Port_Address,0x07);
// Point to Logical Device Number Reg.
outportb(IO_Port_1,0x08); // Select logical device 8, (Watchdog Function)
outportb(IO_Port_Address,0x30);
// Device Active register
outportb(IO_Port_1,0x01);
outportb(IO_Port_Address,0xF5);
// Select Watchdog count mode seconds or
minutes
outportb(IO_Port_1,0x02); // Default is second and KBRST mode.
outportb(IO_Port_Address,0xF6);
// Set Watchdog Timer Value
outportb(IO_Port_1,Time); // 0x00 to disable, max 0xFF
textcolor(YELLOW);
for(Temp=Time;Temp>0;Temp--)
{
outportb(IO_Port_Address,0xF6); // Read Watchdog Timer Value
Time=inportb(IO_Port_1);
gotoxy(20,10);
cprintf(">>> After %3d Second will reset the system. <<<",Time);
delay(1000);
}
textcolor(LIGHTRED);
gotoxy(18,10);
cprintf("If you can see this message, Reset system is Fail");
return 1;
}
//====================================================================
=======
// Function : Show_Help()
//
Input
:
-
//
Change :
-
// Return : -
// Description : Show Help string.
//====================================================================
=======
void Show_Help()
{
clrscr();
printf("WatchDog Test for W83627EHF\n\n");
printf("Sample: \n");
printf(" WDT.EXE 10 \n");
Содержание AR-ES6050FLD
Страница 1: ...Revision 1 0 1 Revision Description Date 1 0 Release 2010 08 20 AR ES6050FLD System Guide...
Страница 5: ...Revision 1 0 5 3 System Configuration 3 2 4 8 9 10 11 12 13 7 5 6 1...
Страница 16: ...Revision 1 0 16 3 Appendix Cable Pin Define 1 Com cable 2 Power Cable 110mm BLACK BLACK YELLOW YELLOW...
Страница 17: ...Revision 1 0 17 3 Switch Cable...
Страница 18: ...Revision 1 0 18 4 AR B6050 Board Guide 4 1 Block Diagram...
Страница 21: ...Revision 1 0 21 4 2 2 AR B6050 LAYOUT Bottom side SODIMM1 CF...
Страница 38: ...Revision 1 0 38 printf For 10 seconds to reset n...