IBASE Technology MB770 Скачать руководство пользователя страница 27

INSTALLATIONS

 

                         MB770 User’s Manual 

23 

 

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 sort 
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.                                                    

 
Filename

Main.cpp 

//=========================================================================== 
//                                                                           
// 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 <stdio.h> 
#include <stdlib.h> 
#include "W697HF.H" 
//=========================================================================== 
int main (int argc, char *argv[]); 
void copyright(void); 
void EnableWDT(int); 
void DisableWDT(void); 
//=========================================================================== 
int main (int argc, char *argv[]) 

 

unsigned char bBuf; 

 

unsigned char bTime; 

 char 

**endptr; 

 
 copyright(); 
 
 

if (argc != 2) 

 { 

 

  printf(" 

Parameter 

incorrect!!\n"); 

  return 

1; 

 

 } 
 
 

if (Init_W697HF() == 0) 

 { 
 

 

printf(" Winbond 83697HF is not detected, program abort.\n"); 

  return 

1; 

 

 } 
 

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

 

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

 
 EnableWDT(bTime); 
 
 return 

0; 


//=========================================================================== 
void copyright(void) 
{  
 

printf("\n======== Winbond 697HF Watch Timer Tester (AUTO DETECT) ========\n"\ 

 

 

 

"         Usage : W697WD reset_time\n"\ 

 

 

 

"         Ex : W697WD 3  => reset system after 3 second\n"\ 

 

 

 

"              W697WD 0  => disable watch dog timer\n"); 


//=========================================================================== 
void EnableWDT(int interval) 

Содержание MB770

Страница 1: ...MB770 VIA CN700 Mini ITX Motherboard USER S MANUAL Version 1 0...

Страница 2: ...tional Inc PS 2 is a trademark of International Business Machines Corporation Microsoft Windows is a registered trademark of Microsoft Corporation Winbond is a registered trademark of Winbond Electron...

Страница 3: ...Configuration 23 Digital I O Sample Code 26 BIOS Setup 29 Drivers Installation 52 VIA CN700 4 in 1 Driver Installation 53 Realtek AC 97 Codec Audio Driver Installation 56 VIA VT8237 LAN Driver Install...

Страница 4: ...iv MB770 User s Manual This page is intentionally left blank...

Страница 5: ...set Mini ITX w 10 100 LAN Gigabit LAN VGA Mini PCI SATA TV out Optional for the MB770 MB770F is the ID393 daughter card that supports DVI interface Basically the MB770 has the following features VIA C...

Страница 6: ...package should include the items listed below The MB770 VIA Eden V4 Mini ITX motherboard This User s Manual 1 CD containing chipset drivers and flash memory utility Cable kit IDE Serial port Serial A...

Страница 7: ...RAID 0 1 VT8237R supports SATA II IDE Interface Two channels supports Ultra DMA 33 66 100 133 Audio VIA VT8237R built in Audio controller AC97 Codec ALC 655 5 1 Channel Line out Line in Mic LPC I O W...

Страница 8: ...INTRODUCTION 4 MB770 User s Manual Board Dimensions...

Страница 9: ...provides information on how to use the jumpers and connectors on the MB770 in order to set up a workable system The topics covered are Installing the Memory 6 Setting the Jumpers 7 Connectors on MB770...

Страница 10: ...locate the memory slot on the board and perform the following steps 1 Hold the DDR2 module so that the key of the DDR2 module align with those on the memory slot 2 Gently push the DDR2 module in an u...

Страница 11: ...ve doubts about the best configuration for your needs The following lists the connectors on MB770 and their respective functions Jumper Locations on MB770 8 JP1 COM3 RS232 5V 12V Power Setting 9 JP2 C...

Страница 12: ...Jumpers on MB770 Page JP1 COM3 RS232 5V 12V Power Setting 9 JP2 COM4 RS232 5V 12V Power Setting 9 JP3 LCD Panel Power Selection 9 JP4 LCD Panel Channel Selection 9 JP5 LCD Panel Data Selection 10 J10...

Страница 13: ...Pin 1 2 short 12V Pin 5 6 short 5V Pin 3 4 Standard COM Port JP2 COM4 RS232 5V 12V Power Setting Pin Signal Name JP2 Signal Name Pin 1 RI 12V 2 3 RI Default RI Default 4 5 RI 5V 6 COM4 Settings Pin 1...

Страница 14: ...10 MB770 User s Manual JP5 LCD Panel Data Selection JP5 Setting 24bit 18bit J10 Secondary IDE UDMA Selection J10 UDMA Setting GPI Selection UDMA33 Default JBAT1 Clear CMOS Setting JBAT1 Setting Norma...

Страница 15: ...ial ATA Connectors 14 CN8 Line Out Line In Mic Connector 14 FAN1 CPU Fan Power Connector 14 FAN2 System Fan Power Connector 14 IDE1 IDE2 Primary and Secondary IDE Connectors 15 FDD1 Floppy Drive Conne...

Страница 16: ...e In Mic Connector 14 FAN1 CPU Fan Power Connector 14 FAN2 System Fan Power Connector 14 IDE1 IDE2 Primary and Secondary IDE Connectors 15 FDD1 Floppy Drive Connector 16 J2 Serial Ports 16 J3 IrDA Con...

Страница 17: ...ame Keyboard data 1 1 Mouse data N C 2 2 N C GND 3 3 GND 5V 4 4 5V Keyboard clock 5 5 Mouse clock N C 6 6 N C CN2 TV out RCA and S Video Connector Top connector S Video Pin 3 Pin 5 GND Pin 6 Y Pin 8 C...

Страница 18: ...rts CN5 USB3 4 Ports J6 Gigabit LAN RJ 45 CN7 CN9 Serial ATA Connectors CN8 Line Out Line In Mic Connector FAN1 CPU Fan Power Connector FAN1 is a 3 pin header for the CPU fan The fan must be a 12V fan...

Страница 19: ...31 32 No connect Address 1 33 34 No connect Address 0 35 36 Address 2 Chip select 0 37 38 Chip select 1 IDE1 Activity 39 40 Ground Signal Name Pin Pin Signal Name Reset IDE 1 2 Ground Host data 7 3 4...

Страница 20: ...5 6 DSK_CH NC 7 8 NC NC 9 10 MOTOR DINST 11 12 DIR NC 13 14 STEP GND 15 16 WDATA GND 17 18 WGATE GND 19 20 TRACK NC 21 22 WPROT GND 23 24 RDATA GND 25 26 SIDE J2 Serial Ports Pin Signal Name RS 232 1...

Страница 21: ...e Wake On LAN function Wake On LAN will function properly only with an ATX power supply with 5VSB that has 200mA Pin Signal Name 1 5VSB 2 Ground 3 PME J5 Digital I O Signal Name Pin Pin Signal Name GN...

Страница 22: ...7 28 D8 D11 29 30 D10 J9 LCD Inverter Output Pin Signal Name 1 12V 2 Ground 3 BLT_ON 4 NC 5 Vcc J11 J12 LVDS Connectors 1st channel 2nd channel The LVDS connectors on board consist of the first channe...

Страница 23: ...CD in Connector Pin Signal Name 1 Left 2 Ground 3 Ground 4 Right J16 System Function Connector J16 provides connectors for system indicators that provide light indication of the computer activities a...

Страница 24: ...connect 15 Ground ATX Power ON Switch Pins 7 and 17 This 2 pin connector is an ATX Power Supply On Off Switch on the system that connects to the power switch on the case When pressed the power switch...

Страница 25: ...ll flash when the HDD is being accessed Pin Signal Name 10 HDD Active 20 5V CN1 ATX Power Supply Connector Signal Name Pin Pin Signal Name 3 3V 11 1 3 3V 12V 12 2 3 3V Ground 13 3 Ground PS ON 14 4 5V...

Страница 26: ...r DVI D for single DVI J2 GDVP DVI Port Connector Signal Name Pin Pin Signal Name 5V 1 2 5V 5V 3 4 5V 3 3V 5 6 3 3V 1 5V 7 8 1 5V SMB_DA 9 10 SMB_CK HS 11 12 VS D0 13 14 DE D2 15 16 D1 D4 17 18 D3 GND...

Страница 27: ...pose Filename Main cpp 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 O...

Страница 28: ...D 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...

Страница 29: ...97HF_INDEX_PORT REG Result inportb W697HF_DATA_PORT Lock_W697HF return Result Filename W697hf h THIS CODE AND INFORMATION IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INC...

Страница 30: ...void SetDioInupt unsigned char unsigned char GetDioOutpt void int main int argc char argv if Init_W697HF 0 printf Can not detect Winbond 83697HF program abort n return 1 printf Current DIO input is 0x...

Страница 31: ...HF_Reg 0x20 0x60 goto Init_Finish W697HF_BASE 0x4E result W697HF_BASE if Get_W697HF_Reg 0x20 0x60 goto Init_Finish W697HF_BASE 0x00 result W697HF_BASE Init_Finish return result void Unlock_W697HF void...

Страница 32: ...LIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND OR FITNESS FOR A PARTICULAR PURPOSE ifndef __W697HF_H define __W697HF_H 1 define W697HF_INDEX_PORT W697HF_BASE define W6...

Страница 33: ...r are as follows BIOS Introduction 30 BIOS Setup 30 Standard CMOS Setup 32 Advanced BIOS Features 35 Advanced Chipset Features 38 Integrated Peripherals 42 Power Management Setup 44 PNP PCI Configurat...

Страница 34: ...is immediately activated Pressing the Del key immediately allows you to enter the Setup utility If you are a little bit late pressing the Del key POST Power On Self Test will continue with its test ro...

Страница 35: ...displays the control keys for this menu At the bottom of the Main Menu just below the control keys section there is another section which displays information on the currently highlighted item in the...

Страница 36: ...e hh mm ss 00 00 00 Menu Level IDE Primary Master Change the day month IDE Primary Slave Year and century IDE Secondary Master None IDE Secondary Slave Drive A None Video EGA VGA Halt On All but keybo...

Страница 37: ...lave Press Enter to configure the hard disk The selections include Auto Manual and None Select Manual to define the drive information manually You will be asked to enter the following items CYLS Numbe...

Страница 38: ...r not the system will halt if an error is detected during power up No errors The system boot will not be halted for any error that may be detected All errors Whenever the BIOS detects a non fatal erro...

Страница 39: ...l for OS 1 4 OS Select For DRAM 64MB Non OS2 HDD S M A R T Capabitility Disabled Hard Disk Booty Priority This item allows you to arrange the priority of the devices where the system boots from Virus...

Страница 40: ...ermine the drive that the system searches first for an operating system The options available include Floppy LS ZIP HDD 0 SCSI CDROM HDD 1 HDD 2 HDD 3 LAN and Disable Boot Other Device These fields al...

Страница 41: ...stem prompts for the User Password every time you boot up When you select Setup the system always boots up and prompts for the Supervisor Password only when the Setup utility is called up MPS Version...

Страница 42: ...echarge Tras 9T Active to CMD Trcd 3T REF to ACT REF to REF Trfc 3T ACT 0 to ACT 1 TRRD 3T DRAM Command Rate 2T Command Phoenix AwardBIOS CMOS Setup Utility AGP P2P Bridge Control AGP Aperture Size 12...

Страница 43: ...me from a bank precharge request to when it can be activated Active to Precharge Tras The Active to Precharge timing controls the length of the delay between the activation and precharge commands the...

Страница 44: ...BIOS SETUP 40 MB770 User s Manual AGP Driving Value This decides how multiple memory modules communicate It will only make a difference if you have more than one memory module...

Страница 45: ...o CRT Panel Type By default this field is set to 02 TV H W Layout By default this field is set to Default HDTV Type By default this field is set to HDTV 720P TV Encoder Input By default this field is...

Страница 46: ...ip SATA Enabled SATA Mode RAID OnChip IDE Channel0 Enabled OnChip IDE Channel1 Enabled IDE Prefetch Mode Enabled Primary Master PIO Auto Primary Slave PIO Auto Secondary Master PIO Auto Secondary Slav...

Страница 47: ...al Port 2 2F8 IRQ3 UART Mode Select Normal Onboard Parallel port 278 IRQ5 Parallel Port Mode SPP 2nd PCI Device Upon pressing Enter on this field another window appears Below are the fields shown with...

Страница 48: ...g Primary INTR ON ITEM HELP IRQ3 COM2 Enabled Menu Level IRQ4 COM1 Enabled IRQ5 LPT 2 Enabled IRQ6 Floppy Disk Enabled IRQ7 LPT 1 Enabled IRQ8 RTC Alarm Disabled IRQ9 IRQ2 Redir Disabled IRQ10 Rserved...

Страница 49: ...V H SYNC Blank Default setting blank the screen and turn off vertical and horizontal scanning DPMS Allows BIOS to control the video display Blank Screen Writes blanks to the video buffer Modem Use IRQ...

Страница 50: ...m S3 S4 S5 Disabled Menu Level PS2MS Wakeup from S3 S4 S5 Disabled USB Resume from S3 Disabled VGA OFF LPT COM LPT COM HDD FDD ON PCI Master OFF PowerOn by PCI Card Disabled Modem Ring Resume Disabled...

Страница 51: ...flict that the OS cannot boot Reset Configuration Data This field allows you to determine whether to reset the configuration data or not The default value is Disabled Resources Controlled by This PnP...

Страница 52: ...ser to set the temperature so that when the temperature is reached the system sounds a warning This function can help prevent damage to the system that is caused by overheating Temperatures Fan Speeds...

Страница 53: ...Default ITEM HELP Auto Detect PCI DIMM Clk Disabled Spread Spectrum Disabled Menu Level VIA C3 Clock Ratio This field will function only if the motherboard supports clock ratio to be adjusted Auto Det...

Страница 54: ...assword message prompts on the screen Type the password up to eight characters in length and press Enter The system confirms your password by asking you to type it again After setting a password the s...

Страница 55: ...BIOS SETUP MB770 User s Manual 51 This page is intentionally left blank...

Страница 56: ...t defined Realtek AC 97 Codec Audio Driver InstallationError Bookmark not defined VIA VT8237 LAN Driver Installation 51 Realtek Gigabit LAN Driver InstallationError Bookmark not defined VIA RAID Drive...

Страница 57: ...tallation Follow the steps below to install the chipset drivers of the VIA CN700 CN333 chipset under Windows 98 98SE ME 2000 XP 1 Insert the CD that comes with the motherboard and the screen below wou...

Страница 58: ...when the welcome screen appears 4 Click Next when the VIA Service Pack README screen appears 5 Select Normal Installation and click Next 6 In the Setup Component window check all the items and click...

Страница 59: ...DRIVERS INSTALLATION MB770 User s Manual 55 8 Click Next to install the VIA GART AGP Driver 9 On the next window click OK to restart the computer and for changes to take effect...

Страница 60: ...Codec Audio Driver under Windows 98 98SE ME 2000 XP 1 Insert the CD that comes with the motherboard and the screen below would appear Click VIA CN700 Chipset Drivers 2 Click on Realtek AC 97 Codec Au...

Страница 61: ...lick VIA CN700 Chipset Drivers 2 Click on VIA VT8235 VT8237 Integrated LAN Driver and the drivers will automatically be installed Realtek Gigabit LAN Driver Installation Follow the steps below to inst...

Страница 62: ...river Installation Follow the steps below to install the VIA RAID Driver under Windows 98 98SE ME 2000 XP 1 Insert the CD that comes with the motherboard and the screen below would appear Click VIA CN...

Страница 63: ...ment screen appears check the I agree checkbox and click Next 5 Select all components and click Next 5 Select all components and click Next 6 The following screen shows you the status of the installat...

Страница 64: ...o install the VIA USB 2 0 Driver under Windows 98 98SE ME 2000 XP 1 Insert the CD that comes with the motherboard and the screen below would appear Click VIA CN700 Chipset Drivers 2 Click on VIA USB 2...

Страница 65: ...to install the VIA CN700 VGA Driver under Windows 98 98SE ME 2000 XP 1 Insert the CD that comes with the motherboard and the screen below would appear Click VIA CN700 Chipset Drivers 2 Click on VIA C...

Страница 66: ...5Fh Timer 060h 06Fh Keyboard Controller 070h 07Fh Real Time Clock NMI 080h 09Fh DMA Page Register 0A0h 0BFh Interrupt Controller 2 0C0h 0DFh DMA Controller 2 0F0h Clear Math Coprocessor Busy Signal 0F...

Страница 67: ...g table shows the IRQ used by the devices on board Level Function IRQ0 System Timer Output IRQ1 Keyboard IRQ2 Interrupt Cascade IRQ3 Serial Port 2 IRQ4 Serial Port 1 IRQ5 Reserved IRQ6 Floppy Disk Con...

Отзывы: