Intel IB957 user manual C. Watchdog Timer Configuration

Page 69
C. Watchdog Timer Configuration

APPENDIX

C. Watchdog Timer Configuration

The WDT is used to generate a variety of output signals after a user programmable count. The WDT is suitable for use in the prevention of system lock-up, such as when software becomes trapped in a deadlock. Under these sorts of circumstances, the timer will count to zero and the selected outputs will be driven. Under normal circumstance, the user will restart the WDT at regular intervals before the timer counts to zero.

SAMPLE CODE:

//---------------------------------------------------------------------------

//

//THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY

//KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE

//IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR

//PURPOSE.

//

//---------------------------------------------------------------------------

#include <dos.h> #include <conio.h> #include <stdio.h> #include <stdlib.h> #include "F81865.H"

//---------------------------------------------------------------------------

int main (int argc, char *argv[]); void EnableWDT(int);

void DisableWDT(void);

//---------------------------------------------------------------------------

int main (int argc, char *argv[])

{

unsigned char bBuf; unsigned char bTime; char **endptr;

char SIO;

printf("Fintek 81865 watch dog program\n");

SIO = Init_F81865(); if (SIO == 0)

{

printf("Can not detect Fintek 81865, program abort.\n"); return(1);

}//if (SIO == 0)

if (argc != 2)

{

printf(" Parameter incorrect!!\n"); return (1);

}

bTime = strtol (argv[1], endptr, 10);

printf("System will reset after %d seconds\n", bTime);

if (bTime)

{EnableWDT(bTime); }

else

{DisableWDT(); }

IB957 User’s Manual

65

Image 69
Contents Intel ArrandaleTM /PCH 5.25” MotherboardVersion IB957Acknowledgments BIOS Setup InstallationsDrivers Installation IntroductionIB957 User’s Manual Product Description IntroductionIB957 FEATURES INTRODUCTIONYour IB957 package should include the items listed below ChecklistThe IB957 SBC This User’s Manual 1 CD containing chipset drivers and flash memory utilityIB957 Specifications Board Dimensions IB957 User’s Manual INSTALLATIONS InstallationsSetting the Jumpers Connectors on IB957Installing and Removing Memory Modules Installing the MemoryLock DDR3 Module LockSetting the Jumpers Jumper Locations on IB957 Jumpers on IB957Page LCD Panel Power JP2 LCD Panel Power SelectionCOM2 RS-232JBAT1 Clear CMOS Setting Signal NameSetting Pin #Connectors on IB957 Connector Locations on IB957 CN2 DVI-D and VGA Connector CN1 DC Adapter ConnectorDATA HOT PLUGCN3 USB11/12 Ports J2 DisplayPort Connector CN4 USB6/7/8/10 Ports HDMI1 HDMI ConnectorUSBLAN1 10/100/1000 RJ-45 and USB9/13 Ports CN5 Audio Connector +5V PowerSYSFAN1 System Fan Power Connector CPUFAN1 CPU Fan Power ConnectorCOM3COM4 COM3, COM4 Serial Port J1 FPANEL System Function Connector Speaker Pins 1Power LED Pins 11 ATX Power ON Switch Pins 7 and Reset Switch Pins 9 andPin # Signal Name J4, J5 +12V and +5V Output Power Connectors J3 LCD Backlight ConnectorJ6 Printer Port Connectors J7 SPI Flash Connector factory use only J9 PS/2 Keyboard/Mouse ConnectorJ12 PCI-Ex1 Slot J13 SPDIF Out Connector JMINI Mini PCIE Connector J11 Front Audio ConnectorSATA1, SATA2, SATA3, SATA4 SATA Connectors J10 Digital I/OFUSB1 USB1/USB5 Connector FUSB2 USB0/USB3 ConnectorCOM1,COM2 COM1,COM2 Serial Port Signal Name BIOS SETUP BIOS SetupBIOS Introduction BIOS SetupBIOS Introduction BIOS SetupPress DEL to Enter Setup System Language Main BIOS SetupSystem Date System TimeWake up event setting Advanced SettingsIntel TDTAT-p Configurations Launch PXE OpROMPCI Latency Timer PCI Subsystem SettingsPCI ROM Priority Extended TagASPM Support PCI Express Link SettingsAUTO - BIOS auto configure DISABLE - Disables ASPM Set the ASPM Level Force L0 - Force all links to L0 StateEnabled ACPI Auto Configuration ACPI SettingsACPI Sleep State Enables or Disables BIOS ACPI Auto ConfigurationWake system with Fixed Time Wake up event settingsWake on Ring Wake on PCI PMEExecute Disable Bit CPU ConfigurationHyper-threading Active Processor CoresSATA Configuration Power TechnologyAdjacent Cache Line Prefetch Intel Virtualization TechnologyIntel IGD SWSCI OpRegion IGD - Boot TypeDVMT/FIXED Memory Active LVDSTDT Recovery Enable/Disable TDT in BIOS for testing onlySet the number of times Recovery attempted will be allowed Device Reset Timeout USB ConfigurationLegacy USB Support EHCI Hand-offSerial Port Configuration Super IO ConfigurationPower Failure Parallel Port ConfigurationH/W Monitor Temperatures/VoltagesCPU Fan Smart Fan Control Intelligent Power Sharing Thermal ConfigurationUnconfigure AMT/ME AMT ConfigurationSerial Port Console Redirection Console RedirectionEnable CSID Chipset SettingsNorth Bridge South BridgeInitiate Graphic Adapter Low MMIO AlignGraphics Turbo IMON Current VT-dIGD Memory PCI Express PortPAVP Mode PEG Force Gen1SLPS4 Assertion Stretch Enable SB Chipset ConfigurationAudio Configuration High Precision Event Timer ConfigurationPCI Express Ports Configuration ME Version Intel ME SubsystemEnd of Post Message Execute ME8xQuiet Boot Boot SettingsFast Boot Setup Prompt TimeoutBoot Option Priorities Security SettingsAdministrator Password User PasswordSave Changes and Reset Save & Exit SettingsDiscard Changes and Reset Restore DefaultsRestore User Defaults Save as User DefaultsBoot Override Reset System with ME disable ModeEvent Logs Event LogsEvent Logs Change FieldDrivers Installation 2. Click IntelR Chipset Software Installation Utility Intel Chipset Software Installation Utility4. Click Yes to accept the software license agreement and proceed with the installation process 2. Click IntelR QM57 Chipset Family Graphics Driver VGA Drivers Installation6. On Setup Progress screen, click Next to continue 2. Click Realtek High Definition Audio Driver Realtek HD Audio Driver InstallationLAN Drivers Installation Follow the steps below to install the Intel LAN drivers2. Click IntelR PRO LAN Network Driver 4. Click the checkbox for Drivers in the Setup Options screen to select it and click Next to continue 6. When InstallShield Wizard is complete, click Finish Intel Management Engine Interface Follow the steps below to install the Intel Management Engine2. When the Welcome screen to the InstallShield Wizard for Intel Management Engine Components, click Next. On the next screen, click Yes to to agree with the license agreement IB957 User’s Manual A. I/O Port Address Map AppendixAddress Device DescriptionLevel B. Interrupt Request Lines IRQC. Watchdog Timer Configuration IB957 User’s Manual APPENDIXIB957 User’s Manual F81865BASE+1