Award is a registered trademark of Award Software International,
Inc.
PS/2 is a trademark of International Business Machines
Corporation.
Intel and Pentium 4 are registered trademarks of Intel
Corporation.
Microsoft Windows is a registered trademark of Microsoft
Corporation.
Winbond is a registered trademark of Winbond Electronics
Corporation.
All other product names or trademarks are properties of their
respective owners.
A. I/O Port Address Map ................................................... 53
B. Interrupt Request Lines (IRQ) ...................................... 54
C. Watchdog Timer Configuration .................................... 55
D. Digital I/O Sample Code .............................................. 59
IB935 User’s Manual iii
The IB935 CPU Card
iv IB935 User’s Manual
INTRODUCTION
Introduction
Product Description
The IB935 PICMG1.3 SHB board incorporates the Intel® Q35 Express Chipset,
consisting of the Intel® Q35 Graphic Memory Controller Hub (GMCH) and
Intel® I/O Controller Hub 9 (ICH9), is an optimized integrated graphics solution
with a 800/1066/1333 MHz front-side bus.
The integrated graphics engine, based on Intel® Graphics Media Accelerator
3100 (Intel® GMA 3100) architecture, supports Dual Independent Display and
delivers richer visual color and picture clarity without the need for additional
discrete graphics cards, and the integrated audio support enables premium digital
sound and delivers advanced features such as multiple audio.
The CPU card also supports Dual-Channel DDR2 Memory in two DIMM
sockets with up to 12.8 GB/s of bandwidth and 4 GB memory addressability for
faster system responsiveness and support of 64-bit computing.
RTC/CMOS Built in ICH9/ICH9R
Battery Lithium battery
Keyboard/Mouse
IDE
SATA II
Edge Connector
Onboard
Header/Connector
Watchdog Timer
Digital I/O
System Voltage
Other
Board Size
Golden Finger I/F
(Also Backplane Spec.)
Supports PS/2 Keyboard/Mouse connector
ITE IT8211 PCI to PATA controller for one PATA channel
support
Intel ICH9 built-in SATA II controller (3.0Gb/sec) w/ 4 ports
DB15 x1 for VGA
PS/2 Connector x1 for keyboard/mouse
RJ-45 x2 for Gigabit LAN
40 pins box-header x1 for IDE1
34 pins box-header x1 for Floppy
26 pins box-header x1 for LPT
10 pins box-header x2 for COM1/2
8 (4x2) pins header x 2 for USB1~4
5 pins header x 1 for IrDA(cut pin2)
12 pins header x1 for audio Line-Out, Line-In
& Microphone
4 pins header x1 for built-in speaker
SATA connector x4 for 4 SATA ports
Yes (256 segments, 0, 1, 2… 255 sec/min)
4 In / 4 Out
+5V, +3.3V, +12V, 5VSB (2A)
Modem Wakeup, LAN Wakeup
338mm x 126mm
PCI w/ 4x PCI master (Supports 4 PCI Slots)
This section provides information on how to use the jumpers and
connectors on the IB935 in order to set up a workable system. The topics
covered are:
Installing the CPU ........................................................................ 6
Installing the Memory .................................................................. 7
Setting the Jumpers ...................................................................... 8
Connectors on IB935 ................................................................. 12
IB935 User’s Manual 5
INSTALLATIONS
Installing the CPU
The IB935 board supports an LGA 775 processor socket for Intel Core 2
Duo and Intel Core2 Quad processors, and Intel Celeron 400(Conroe-L)
Sequence processor.
The LGA 775 processor socket comes with a lever to secure the
processor. Refer to the pictures below, from left to right, on how to place
the processor into the CPU socket. Please note that the cover of the
LGA775 socket must always be installed during transport to avoid
damage to the socket.
6 IB935 User’s Manual
INSTALLATIONS
Installing the Memory
The IB935 board supports two DDR2 memory sockets for a maximum
total memory of 4GB in DDR2 memory type. It supports DDR2
667/800.
Basically, the system memory interface has the following features:
Supports two 64-bit wide DDR data channels
Available bandwidth up to 6.4GB/s (DDR2 800) for single-channel
mode and 12.8GB/s (DDR2 800) in dual-channel mode.
Supports 256Mb, 512Mb, 1Gb DDR2 technologies.
Supports only x8, x16, DDR2 devices with four banks
Supports only unbuffered DIMMs
Supports opportunistic refresh
Up to 32 simultaneously open pages (four per row, four rows
maximum)
Installing and Removing Memory Modules
To install the DDR2 modules, 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 m odule in an upright position until the clips of
the slot close to hold the DDR2 module in place when the DDR
module touches the bottom of the slot.
3. To remove the DDR2 module, press the clips with both hands.
DDR2 Module
LockLock
Lock
IB935 User’s Manual 7
Lock
INSTALLATIONS
Setting the Jumpers
Jumpers are used on IB935 to select various settings and features
according to your needs and applications. Contact your supplier if you
have doubts about the best configuration for your needs. The following
lists the connectors on IB935 and their respective functions.
Jumper Locations on IB935 ................................................................... 9
COM1 is fixed for RS-232 use only.
COM2 is selectable for RS232, RS-422 and RS-485.
The following table describes the jumper settings for COM2 selection.
COM2
Function
Jumper
Setting
(pin closed)
RS-232 RS-422 RS-485
JP1:
1-2
JP2:
3-5 & 4-6
JP3:
3-5 & 4-6
JP1:
3-4
JP2:
1-3 & 2-4
JP3:
1-3 & 2-4
JP1:
5-6
JP2:
1-3 & 2-4
JP3:
1-3 & 2-4
JP4: Configure and Recovery (Factory use only)
JP9 Setting Function
Pin 1-2
Short/Closed
Normal (default)
Pin 2-3
Short/Closed
Open
JP5: Power ON Setting
JP17 Setting Function
Pin 1-2
Short/Closed
Pin 2-3
Short/Closed
10 IB935 User’s Manual
Configure
Recovery
Power on by syste
Power on by power
supply AC on
button
INSTALLATIONS
JP7: ICH9 PCI-E port 1-4 Configuration Settings
JP7 Setting Function
Pin 1-2 & 3-4
Short
Pin 1/2/3/4
Open
ICH9 PCI-E port 1-4 setting as 1x PCI-E x4
ICH9 PCI-E port 1-4 setting as 4x PCI-E x1
JP11: Clear CMOS Contents
Use JP11 to clear the CMOS contents. Note that the ATX-power
connector should be disconnected from the board before clearing
CMOS.
JP11 Setting Function
Pin 1-2
Short/Closed
Pin 2-3
Short/Closed
Normal
Clear CMOS
IB935 User’s Manual 11
INSTALLATIONS
Connectors on IB935
The connectors on IB935 allow you to connect external devices such as
keyboard, mouse, hard disk drives, printers… etc. The following table
lists the connectors on IB935 and their respective functions.
Connector Locations on IB935 ............................................................ 13
ATX1: ATX 12V Power Connector ................................................... 14
DIMM1: Channel A DDR2 Socket ..................................................... 14
DIMM2: Channel B DDR2 Socket ...................................................... 14
CPU_FAN1: CPU Fan Power Connector ............................................ 14
SYS_FAN1, SYS_FAN2: SYSTEM Fan Power Connector .............. 14
CN1, CN2, CN3, CN4: SATA HDD Connector ................................. 14
IDE1: Primary IDE Connector ............................................................ 15
J6: COM2 Serial Port ........................................................................... 18
J7: COM1 Serial Ports Connector ....................................................... 18
J8: System Function Connector ........................................................... 18
J9: PS/2 Keyboard and Mouse Connector ........................................... 20
J10, J11: External PS/2 Mouse and Keyboard Connector ................... 20
J12: Wake On LAN Connector ............................................................ 20
J13: USB Connector ............................................................................ 21
J14: USB Connector ............................................................................ 21
J15, J17: Gigabit LAN RJ45 Connector .............................................. 21
J16: SPI Debug Tools Port (Factory use only) .......................................... 21
12 IB935 User’s Manual
Connector Locations on IB935
INSTALLATIONS
ATX1: ATX 12V Power Connector
DIMM1: Channel A DDR2 Socket
DIMM2: Channel B DDR2 Socket
CPU_FAN1: CPU Fan Power
Connector
SYS_FAN1, SYS_FAN2: System
Fan Power
CN1, CN2, CN3, CN4: SATA
HDD Connector
IDE1: Primary IDE Connectors
FDC1: Floppy Drive Connector
VGA1: VGA CRT Connector
J1: External Audio Connector
J2: Parallel Port Connector
J3: Digital I/O Connector
(4 in, 4 out)
J4: IrDA Connector
J5: CD-In Audio Connector
J6: COM2 Serial Port
J7: COM1 Serial Ports Connector
J8: System Function Connector
J9: PS/2 Keyboard and Mouse
Connector
J10, J11: External PS/2 MS/KB
Connector
J12: Wake On LAN Connector
J13: USB Connector
J14: USB Connector
J15, J17: Gigabit LAN RJ45
Connector
J16: SPI Debug Tools Port
(Factory use only)
IB935 User’s Manual 13
INSTALLATIONS
ATX1: ATX 12V Power Connector
Pin #Signal Name
1 Ground
2 Ground
3 +12V
4 +12V
DIMM1: Channel A DDR2 Socket
DIMM1is the first-channel DDR2 sockets.
DIMM2: Channel B DDR2 Socket
DIMM2 is the second-channel DDR2 sockets.
CPU_FAN1: CPU Fan Power Connector
Pin #Signal Name
1 Ground
2 +12V
4 Control
SYS_FAN1, SYS_FAN2: SYSTEM Fan Power Connector
3 Rotation detection
Pin #Signal Name
1 Ground
2 +12V
3 Rotation detection
CN1, CN2, CN3, CN4: SATA HDD Connector
Pin # Signal Name
1 Ground
2 TX+
3 TX4 Ground
5 RX6 RX+
7 Ground
14 IB935 User’s Manual
N
t
N
t
y
IDE1: Primary IDE Connector
Signal NamePin # Pin # Signal Name
Reset IDE12Ground
Host data 734Host data 8
Host data 656Host data 9
Host data 578Host data 10
Host data 4910Host data 11
Host data 31112Host data 12
Host data 21314Host data 13
Host data 11516Host data 14
Host data 01718Host data 15
Ground1920Protect pin
DRQ02122Ground
Host IOW2324Ground
Host IOR2526Ground
IOCHRDY2728Host ALE
DACK02930Ground
IRQ143132
IDE1
Address 13334
Address 03536Address 2
Chip select 03738Chip select 1
Activit
FDC1: Floppy Drive Connector
Signal NamePin # Pin #Signal Name
Ground 1 2 RM/LC
Ground 3 4 No connect
Ground 5 6 No connect
Ground 7 8 Index
Ground 9 10 Motor enable 0
Ground 11 12 Drive select 1
Ground 13 14 Drive select 0
Ground 15 16 Motor enable 1
Ground 17 18 Direction
Ground 19 20 Step
Ground 21 22 Write data
Ground 23 24 Write gate
Ground 25 26 Track 00
J8 provides connectors for system indicators that provide light i ndication
of the computer activities and switches to change the computer status.
18 IB935 User’s Manual
INSTALLATIONS
Speaker: Pins 1 - 4
This connector provides an interface to a speaker for audio
tone generation. An 8-ohm speaker is recommended.
Pin # Signal Name
1 Speaker out
2 No connect
3 Ground
4 +5V
Power LED: Pins 11 - 13
The power LED indicates the status of the main power
switch.
Pin # Signal Name
11 Power LED
12 No connect
13 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 will force the
system to power on. When pressed again, it will force the
system to power off.
Reset Switch: Pins 9 and 19
The reset switch allows the user to reset the system without
turning the main power switch off and then on again.
Orientation is not required when making a connection to
IB935 User’s Manual 19
this header.
INSTALLATIONS
Hard Disk Drive LED Connector: Pins 10 and 20
This connector connects to the hard drive activity LED on
control panel. This LED will flash when the HDD is being
accessed.
Pin # Signal Name
10 HDD Active
20 5V
J9: PS/2 Keyboard and Mouse Connector
J9 uses a Y-cable with dual D-connectors for a PS/2 keyboard and a PS/2
mouse.
Pin # Signal Name
1 Keyboard data
2 Mouse data
3 Ground
4 Vcc
5 Keyboard Clock
J9
6 Mouse Clock
J10, J11: External PS/2 Mouse and Keyboard Connector
Pin # J10 J11
1 KB clock Mouse data
2 KB data N.C.
3 N.C. Ground
4 Ground Vcc
5 Vcc Mouse clock
J12: Wake On LAN Connector
J12 is a 3-pin header for the Wake On LAN function on the
motherboard. The following table shows the pin out assignments of this
connector. Wake On LAN will function properly only with an ATX
power supply with 5VSB that has 1A.
Pin # Signal Name
1 +5VSB
2 Ground
3 LAN Wakeup
20 IB935 User’s Manual
INSTALLATIONS
J13: USB Connector
The following table shows the pin outs of the USB pin header.
Signal NamePin PinSignal Name
Vcc 1 5 Ground
USB0- 2 6 USB1+
J13
USB0+ 3 7 USB1Ground 4 8 Vcc
J14: USB Connector
The following table shows the pin outs of the USB pin header.
Signal NamePin PinSignal Name
Vcc 1 5 Ground
USB2- 2 6 USB3+
J14
USB2+ 3 7 USB3Ground 4 8 Vcc
J15, J17: Gigabit LAN RJ45 Connector
J15, J17 are Gigabit LAN RJ45 connectors.
J16: SPI Debug Tools Port
IB935 User’s Manual 21
(Factory use only)
INSTALLATIONS
This page is intentionally left blank.
22 IB935 User’s Manual
BIOS SETUP
BIOS Setup
This chapter describes the different settings available in the Award
BIOS that comes with the board. The topics covered in this chapter are
as follows:
Set Supervisor Password ..................................................................... 44
Save & Exit Setup ............................................................................... 44
Exit Without Saving ............................................................................ 44
IB935 User’s Manual 23
BIOS SETUP
BIOS Introduction
The Award BIOS (Basic Input/Output System) installed in your
computer system’s ROM supports Intel processors. The BIOS provides
critical low-level support for a standard device such as disk drives, serial
ports and parallel ports. It also adds virus and password protection as
well as special support for detailed fine-tuning of the chipset controlling
the entire system.
BIOS Setup
The Award BIOS provides a Setup utility program for specifying the
system configurations and settings. The BIOS ROM of the system stores
the Setup utility. When you turn on the computer, the Award BIOS 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 routines, thus
preventing you from invoking the Setup. If you still wish to enter Setup,
restart the system by pressing the ”Reset” button or simultaneously
pressing the <Ctrl>, <Alt> and <Delete> keys. You can also restart by
turning the system off and back on again. The following message will
appear on the screen:
Press <DEL> to Enter Setup
In general, you press the arrow keys to highlight items, <Enter> to
select, the <PgUp> and <PgDn> keys to change entries, <F1> for help
and <Esc> to quit.
When you enter the Setup utility, the Main Menu screen will appear on
the screen. The Main Menu allows you to select from various setup
functions and exit choices.
24 IB935 User’s Manual
BIOS SETUP
Standard CMOS Features Frequency/Voltage Control
Advanced BIOS Features Load Fail-Safe Defaults
Advanced Chipset Features Load Optimized Defaults
Integrated Peripherals Set Supervisor Password
Power Management Setup Set User Password
PnP/PCI Configurations Save & Exit Setup
PC Health Status Exit Without Saving
ESC : Quit Ç È Æ Å : Select Item
F10 : Save & Exit Setup
Phoenix - AwardBIOS CMOS Setup Utility
Time, Date, Hard Disk Type…
The section below the setup items of the Main Menu 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 list.
Note:
If the system cannot boot after making and saving system
changes with Setup, the Award BIOS supports an override to
the CMOS settings that resets your system to its default.
Warning:
It is strongly recommended that you avoid making any
changes to the chipset defaults. These defaults have been
carefully chosen by both Award and your system
manufacturer to provide the absolute maximum performance
and reliability. Changing the defaults could cause the system
to become unstable and crash in some cases.
IB935 User’s Manual 25
BIOS SETUP
Standard CMOS Setup
“Standard CMOS Setup” choice allows you to record some basic
hardware configurations in your computer system and set the system
clock and error handling. If the motherboard is already installed in a
working system, you will not need to select this option. You will need to
run the Standard CMOS option, however, if you change your system
hardware configurations, the onboard battery fails, or the configuration
stored in the CMOS memory was lost or damaged.
Date (mm:dd:yy) Wed, Oct 3, 2007 Item Help
Time (hh:mm:ss) 16 : 11 : 00 Menu Level >
IDE Channel 0 Master None Change the day, month,
IDE Channel 1 Master None
IDE Channel 1 Slave
Drive A 1.44M, 3.5 in.
Drive B None
Video EGA/VGA
Halt On All , But Keyboard
Base Memory 640K
Extended Memory 2086912K
Total Memory 2087936K
At the bottom of the menu are the control keys for use on this menu. If
you need any help in each item field, you can press the <F1> key. It will
display the relevant information to help you. The memory display at the
lower right-hand side of the menu is read-only. It will adjust
automatically according to the memory changed. The following
describes each item of this menu.
Date
The date format is:
Day : Sun to Sat
Month : 1 to 12
Date : 1 to 31
Year : 1999 to 2099
To set the date, highlight the “Date” field and use the PageUp/
PageDown or +/- keys to set the current time.
Phoenix - AwardBIOS CMOS Setup Utility
Standard CMOS Features
None
Year and century IDE Channel 0 Slave None
26 IB935 User’s Manual
BIOS SETUP
Time
The time format is:
Minute : 00 to 59
Second : 00 to 59
Hour : 00 to 23
To set the time, highlight the “Time” field and use the <PgUp>/ <PgDn>
or +/- keys to set the current time.
IDE Channel Master/Slave
The onboard Serial ATA connectors provide Primary and Secondary
channels for connecting up to four Serial ATA hard disks . Each channel
can support up to two hard disks; the first is the “Master” and the second
is the “Slave”.
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.
Capacity : Capacity/size of the hard disk drive
Cylinder : Number of cylinders
Head : Number of read/write heads
Precomp : Write precompensation
Landing Zone : Landing zone
Sector : Number of sectors
The Access Mode selections are as follows:
CHS (HD < 528MB)
LBA (HD > 528MB and supports Logical Block Addressing)
Large (for MS-DOS only)
Auto
Drive A / Drive B
These fields identify the types of floppy disk drive A or drive B that has
been installed in the computer. The available specifications are:
360KB
5.25 in.
1.2MB
5.25 in.
720KB
3.5 in.
1.44MB
3.5 in.
2.88MB
3.5 in.
IB935 User’s Manual 27
BIOS SETUP
Video
This field selects the type of video di splay card instal led i n your syst em .
You can choose the following video display cards:
EGA/VGA For EGA, VGA, SEGA, SVGA
or PGA monitor adapters. (default)
CGA 40 Power up in 40 column mode.
CGA 80 Power up in 80 column mode.
MONO For Hercules or MDA adapters.
Halt On
This field determines whether or 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 error,
the system will stop and you will be prompted.
All, But Keyboard The system boot will not be halted for a
keyboard error; it will stop for all other errors
All, But Diskette The system boot will not be halted for a disk
error; it will stop for all other errors.
All, But Disk/Key The system boot will not be halted for a key-
board or disk error; it will stop for all others.
28 IB935 User’s Manual
BIOS SETUP
Advanced BIOS Features
This section allows you to configure and improve your system and
allows you to set up some system features according to your preference.
CPU Feature Press Enter ITEM HELP
Hark Disk Boot Priority Press Enter Menu Level >
Virus Warming Disabled
CPU L3 Cache Enabled
Quick Power On Self Test Enabled
First Boot Device CDROM
Second Boot Device Legacy LAN
Third Boot Device Hard Disk
Boot Other Device Enabled
Swap Floppy Drive Disabled
Boot Up Floppy Seek Disabled
Boot Up NumLock Status On
Gate A20 Option Fast
Typematic Rate Setting Disabled
Typematic Rate (Chars/Sec) 6
Typematic Delay (Msec) 250
Security Option Setup
APIC Mode Enabled
MPS Version Control for OS 1.4
OS Select For DRAM>64MB Non-OS2
Report No FDD For WIN 95 No
Small Logo (EPA) Show Disabled
CPU Feature
Press Enter to configure the settings relevant to CPU Feature.
Hard Disk Boot Priority
Press Enter to configure the settings.
Virus Warming
If this option is enabled, an alarm message will be displayed when trying
to write on the boot sector or on the partition table on the disk, which is
typical of the virus.
CPU L3 Cache
Cache memory is additional memory much faster than conventional
DRAM (system memo ry). CPUs from 486-type on up contain internal
cache memory, and most, but not all, modern PCs have additional
(external) cache memory. When the CPU requests data, the system
transfers the requested data from the main DRAM into cache memory,
for even faster access by the CPU. By default, these items are enabled.
Quick Power On Self Test
When enabled, this field speeds up the Power On Self Test (POST) after
the system is turned on. If it is set to Enabled, BIOS will skip some
items.
Phoenix - AwardBIOS CMOS Setup Utility
Advanced BIOS Features
IB935 User’s Manual 29
BIOS SETUP
First/Second/Third Boot Device
These fields determine the drive that the system searches first for an
operating system.
Boot Other Device
These fields allow the system to search for an OS from other devices
other than the ones selected in the First/Second/Third Boot Device.
Swap Floppy Drive
This item allows you to determi ne whether or not to enable Swap Floppy
Drive. When enabled, the BIOS swaps floppy drive assignments so that
Drive A becomes Drive B, and Drive B becomes Drive A. By default,
this field is set to Disabled.
Boot Up Floppy Seek
This feature controls whether the BIOS checks for a floppy drive while
booting up. If it cannot detect one (either due to improper configuration
or its absence), it will flash an error message.
Boot Up NumLock Status
This allows you to activate the NumLock function after you power up
the system.
Gate A20 Option
This field allows you to select how Gate A20 is worked. Gate A20 is a
device used to address memory above 1 MB.
Typematic Rate Setting
When disabled, continually holding dow n a key on your keyboard will
generate only one instance. When enabled, you can set the two typematic
controls listed next. By default, this field is set to Disabled.
Typematic Rate (Chars/Sec)
When the typematic rate is enabled, the system registers repeated
keystrokes speeds. Settings are from 6 to 30 characters per second.
Typematic Delay (Msec)
When the typematic rate is enabled, this item allows you to set the time
interval for displaying the first and second characters. By default, this
item is set to 250msec.
30 IB935 User’s Manual
BIOS SETUP
Security Option
This field allows you to limit access to the System and Setup. The default
value is Setup. When you select System, the system 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.
APIC Mode
APIC stands for Advanced Programmable Interrupt Controller. The
default setting is Enabled.
MPS Version Control for OS
This option is specifies the MPS (Multiprocessor Specification) version
for your operating system. MPS version 1.4 added extended
configuration tables to improve support for multiple PCI bus
configurations and improve future expand ability. The default setting is
1.4.
OS Select for DRAM > 64MB
This option allows the system to access greater than 64MB of DRAM
memory when used with OS/2 that depends on certain BIOS calls to
access memory. The default setting is Non-OS/2.
Report No FDD For WIN 95
If you are using Windows 95/98 without a floppy disk drive, select
Enabled to release IRQ6. This is required to pass Windows 95/98' s SCT
test. You should also disable the Onboard FDC Controller in the
Integrated Peripherals screen when there's no floppy drive i n the system.
If you set this feature to Disabled, the BIOS will not report the missing
floppy drive to Win95/98.
Small Logo (EPA) Show
The EPA logo appears at the right side of the monitor screen when the
system is boot up. The default setting is Disabled.
IB935 User’s Manual 31
BIOS SETUP
Advanced Chipset Features
This Setup menu controls the configuration of the chipset.
DRAM Timing Selectable By SPD ITEM HELP
CAS Latency Time Auto Menu Level >
DRAM RAS# to CAS# Delay
DRAM RAS# Precharge
Precharge dealy (tRAS)
System Memory Frequency
System BIOS Cacheable
Memory Hole at 15M-16M
PCI Express Root Port Func
** VGA Setting **
PEG/On Chip VGA Control Auto
On-Chip Frame Buffer Size 8MB
DVMT Mode DVMT
DVMT/FIXED memory Size
SDVO Device Setting
SDVO LVDS Protocol
SDVO Panel Number
Boot Display
Panel Scaling
Panel Number
Onboard Lan Boot ROM
Onboard IT8211F IDE ROM
DRAM Timing Selectable
This option refers to the method by which the DRAM timi ng is selected.
The default is By SPD.
CAS Latency Time
You can select CAS latency time in HCLKs of 3/3 or 4/4. The system
board designer should set the values in this field, depending on the
DRAM installed. Do not change the values in this field unless you
change specifications of the installed DRAM or the installed CPU. Th e
choices are 3, 4 and 5.
DRAM RAS# to CAS# Delay
This option allows you to insert a delay between the RAS (Row Address
Strobe) and CAS (Column Address Strobe) signals. This delay occurs
when the SDRAM is written to, read from or refreshed. Reducing the
delay improves the performance of the SDRAM.
DRAM RAS# Precharge
This option sets the number of cycles required for the RAS to
accumulate its charge before the SDRAM refreshes.
Phoenix - AwardBIOS CMOS Setup Utility
Advanced Chipset Features
Auto
Auto
Auto
By SPD
Enabled
Disabled
Press Enter
128MB
None
1 Ch 18bit
852 x 480
Auto
Auto
1024 x 768 18bit SC
Enabled
Enabled
32 IB935 User’s Manual
BIOS SETUP
Precharge delay (tRAS)
The default setting for the Active to Precharge Delay is Auto.
System Memory Frequency
This field sets the frequency of the DRAM memory installed. The
default setting is Auto. The other settings are DDR667 and DDR800.
System BIOS Cacheable
The setting of Enabled allows caching of the system BIOS ROM at
F000h-FFFFFh, resulting in better system performance. However, if
any program writes to this memory area, a system error may result.
Memory Hole At 15M-16M
In order to improve performance, certain space in memory can be
reserved for ISA cards. This memory must be mapped into the memory
space below 16 MB. The choices are Enabled and Disabled.
PCI Express Root Port Func
Press Enter to configure this field.
VGA Setting
The fields under the On-Chip VGA Setting and their default settings are:
To use the single DVI setting, install the IBP192-R DVI module; to
use the dual DVI setting, install the IBP192D-R DVI module; and
to use the LVDS+TV or LVDS or TV-out setting, install the IBP190
module.
SDVO LVDS Protocol: 1Ch 18bit
SDVO Panel Number: 852 x 480
Boot Display: Auto
Panel Scaling: Auto
Panel Number: 1024 x 768 18bit SC
Onboard Lan Boot ROM: Enabled
Onboard IT8211F IDE ROM: Enabled
IB935 User’s Manual 33
BIOS SETUP
Integrated Peripherals
This section sets configurations for your hard disk and other integrated
peripherals. The first screen shows three main items for user to select.
Once an item selected, a submenu appears. Details follow.
OnChip IDE Device
SuperIO Device
USB Device Setting
IDE HDD Block Mode
IDE DMA transfer access
IDE Primary Master PIO
IDE Primary Slave PIO
IDE Primary Master UDMA
IDE Primary Slave UDMA
On-Chip Secondary PCI IDE
IDE Secondary Master PIO
IDE Secondary Slave PIO
IDE Secondary Master UDMA
IDE Secondary Slave UDMA
SATA Mode
LEGACY Mode Support
POWER ON Function BUTTON ONLY
KB Power ON Password Enter
Hot Key power ON Ctrl-F1
Onboard FDC Controller Enabled
Onboard Serial Port 1 3F8/IRQ4
Onboard Serial Port 2 2F8/IRQ3
UART Mode Select Normal
RxD , TxD Active Hi, Lo
IR Transmission Delay Enabled
UR2 Duplex Mode
Use IR Pins
Onboard Parallel Port
Parallel Port Mode
EPP Mode Select
ECP Mode Use DMA
PWRON After PWR-Fail
Phoenix - AwardBIOS CMOS Setup Utility
Integrated Peripherals
Press Enter ITEM HELP
Press Enter Menu Level >
Press Enter
Phoenix - AwardBIOS CMOS Setup Utility
OnChip IDE Device
Enabled ITEM HELP
Enabled
Auto Menu Level >
Auto
Auto
Auto
Enabled
Auto
Auto
Auto
Auto
IDE
Enabled
Phoenix - AwardBIOS CMOS Setup Utility
Onboard Device
Half
IR-Rx2Tx2
378/IRQ7
SPP
EPP1.7
3
Off
ITEM HELP
Menu Level >
34 IB935 User’s Manual
BIOS SETUP
Phoenix - AwardBIOS CMOS Setup Utility
USB 1.0 Controller
USB 2.0 Controller
USB Keyboard Function
USB Mouse Function
USB Storage Function Enabled
*** USB Mass Storage Device Boot Setting ***
USB Device Setting
Enabled ITEM HELP
Enabled Menu Level >
Disabled
Disabled
IDE HDD Block Mode
This field allows your hard disk controller to use the fast block mode to
transfer data to and from your hard disk drive.
IDE DMA Transfer Access
This field, by default, is enabled
OnChip Secondary PCI IDE
This field, by default, is enabled
IDE Primary/Secondary Master/Slave PIO
These fields allow your system hard disk controller to work faster.
Rather than have the BIOS issue a series of commands that transfer to or
from the disk drive, PIO (Programmed Input /Output) allows the BIOS to
communicate with the controller and CPU directly.
The system supports five modes, numbered from 0 (default) to 4, which
primarily differ in timing. When Auto is selected, the BIOS will select
the best available mode.
IDE Primary/Secondary Master/Slave UDMA
These fields allow your system to improve disk I/O throughput to
33Mb/sec with the Ultra DMA/33 feature. The options are Auto and
Disabled.
SATA Mode
The setting choices for the SATA Mode are IDE, RAID and AHCI
Mode. Select [IDE] if you want to have SATA function as IDE.
Select [AHCI] for Advanced Host Controller Interface (AHCI) feature,
with improved SATA performance with native command queuing &
native hot plug. Select [RAID] to use SATA as RAID function. RAID
function is supported on the board if it uses ICH9R, but this is optional.
IB935 User’s Manual 35
BIOS SETUP
LEGACY Mode Support
When the Serial ATA (SATA) is set with the legacy mode enabled, then
the SATA is set to the conventional IDE mode. Legacy mode is
otherwise known as compatible mode.
Power ON Function
This field is related to how the system is powered on – such as with th e
use of conventional power button, keyboard or hot keys. The default is
BUTTON ONLY.
KB Power ON Password
This field allows users to set the password when keyboard power on is
the mode of the Power ON function.
Hot Key Power ON
This field sets certain keys, also known as hot keys, on the keyboard that
can be used as a ‘switch’ to power on the system.
Onboard FDC Controller
Select Enabled if your system has a floppy disk controller (FDC)
installed on the motherboard and you wish to use it. If you install an
add-in FDC or the system has no floppy drive, select Disabled in this
field. This option allows you to select the onboard FDD port.
Onboard Parallel/Serial Port
These fields allow you to select the onboard serial and parallel ports and
their addresses. The default values for these ports are:
Serial Port 1 3F8/IRQ4
Serial Port 2 2F8/IRQ3
Parallel Port 378H/IRQ7
UART Mode Select
This field determines the UART 2 mode in your computer. The default
value is Normal.
36 IB935 User’s Manual
BIOS SETUP
Parallel Port Mode
This field allows you to determine parallel port mode function.
SPP Standard Printer Port
EPP Enhanced Parallel Port
ECP Extended Capabilities Port
ECP+EPP Combination of ECP and EPP capabilitiesNormal Normal function
PWRON After PWR-Fail
This field sets the system power status whether on or off when power
returns to the system from a power failure situation.
USB 1.0 Controller
The options for this field are Enabled and Disabled. By default, this field
is set to Enabled.
USB 2.0 Controller
The options for this field are Enabled and Disabled. By default, this field
is set to Enabled. In order to use USB 2.0, necessary OS drivers must be
installed first. Please update your system to Windows 2000 SP4 or Windows XP SP1.
USB Keyboard Support
The options for this field are Enabled and Disabled. By default, this field
is set to Disabled.
USB Mouse Support
The options for this field are Enabled and Disabled. By default, this field
is set to Disabled.
USB Storage Function
The options for this field are Enabled and Disabled. By default, this field
is set to Disabled.
IB935 User’s Manual 37
BIOS SETUP
Power Management Setup
The Power Management Setup allows you to save energy of your system
effectively.
ACPI Function
ACPI Suspend Type
Power Management
Video Off Method
Video Off In Suspend
Suspend Type
Modem Use IRQ
Suspend Mode
HDD Power Down
Soft-Off by PWR-BTTN
CPU THRM-Throttling
Wake-Up by PCI Card
Power On by Ring
USB KB Wake-up From S3
Resume by Alarm
Date (of Month) Alarm 0
Time (hh:mm:ss) Alarm 0 : 0 : 0
** Reload Global Timer Events **
Primary IDE 0
Primary IDE 1
Secondary IDE 0
Secondary IDE 1
FDD, COM, LPT Port
PCI PIRQ[A-D] #
HPET Support
HPET Mode
ACPI Function
Enable this function to support ACPI (Advance Configuration and
Power Interface).
ACPI Suspend
The default setting of the ACPI Suspend mode is S3(STR).
Power Management
This field allows you to select the type of power saving management
modes. There are four selections for Power Management.
Min. Power Saving Minimum power management
Max. Power Saving Maximum power management.
User Define Each of the ranges is from 1 min. to
Phoenix - AwardBIOS CMOS Setup Utility
Power Management Setup
Enabled ITEM HELP
S3(STR)
User Define Menu Level >
DPMS
Yes
Stop Grant
3
Disabled
Disabled
1hr. Except for HDD Power Down
which ranges from 1 min. to 15 min.
38 IB935 User’s Manual
BIOS SETUP
Video Off Method
This field defines the Video Off features. There are three options.
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.
Video Off In Suspend
When enabled, the video is off in suspend mode. The default setting is
Yes.
Suspend Type
The default setting for the Suspend Type field is Stop Grant.
Modem Use IRQ
This field sets the IRQ used by the Modem. By default, the setting is 3.
Suspend Mode
When enabled, and after the set time of system inactivity, all devices
except the CPU will be shut off.
HDD Power Down
When enabled, and after the set time of system inactivity, the hard disk
drive will be powered down while all other devices remain active.
Soft-Off by PWR-BTTN
This field defines the power-off mode when using an ATX power
supply. The Instant Off mode allows powering off immediately upon
pressing the power button. In the Delay 4 Sec mode, the system powers
off when the power button is pressed for more than four seconds or
enters the suspend mode when pressed for less than 4 seconds.
CPU THRM-Throttling
When the system enters Doze mode, t he CPU clock runs only part of the
time. You may select the percent of time that the clock runs.
Wake up by PCI Card
By default, this field is disabled.
IB935 User’s Manual 39
BIOS SETUP
Power On by Ring
This field enables or disables the power on of the system through the
modem connected to the serial port or LAN.
Resume by Alarm
This field enables or disables the resumption of the system operation.
When enabled, the user is allowed to set the Date and Time.
Reload Global Timer Events
The HDD, FDD, COM, LPT Ports, and PCI PIRQ are I/O events that can
prevent the system from entering a power saving mode or can awaken
the system from such a mode. When an I/O device wants to gain the
attention of the operating system, it signals this by causing an IRQ to
occur. When the operating system is ready to respond to the request, it
interrupts itself and performs the service.
40 IB935 User’s Manual
BIOS SETUP
PNP/PCI Configurations
This option configures the PCI bus system. All PCI bus systems on the
system use INT#, thus all installed PCI cards must be set to this value.
PNP OS Installed
Init Display First
Reset Configuration Data
Resources Controlled By
IRQ Resources
DMA Resources
PCI/VGA Palette Snoop
**PCI Express relative items**
Maximum Payload Size
PNP OS Installed
Enable the PNP OS Install option if it is supported by the
operating system installed. The default value is No.
Init Display First
The default setting is PCI Card.
Reset Configuration Data
This field allows you to determine whether to reset the con figuration
data or not. The default value is Disabled.
Resources Controlled by
This PnP BIOS can configure all of the boot and compatible devices
automatically with the use of a use a PnP operating system such as
Windows 95.
PCI/VGA Palette Snoop
Some non-standard VGA display cards may not show colors properly.
This field allows you to set whether or not MPEG ISA/VESA VGA
cards can work with PCI/VGA. When this field is enabled, a PCI/VGA
can work with an MPEG ISA/VESA VGA card. When this field is
disabled, a PCI/VGA cannot work with an MPEG ISA/VESA card.
Maximum Payload Size
The default setting of the PCI Express Maximum Payload Size is 128.
Phoenix - AwardBIOS CMOS Setup Utility
PnP/PCI Configurations
No
PCI Slot ITEM HELP
Disabled
Menu Level >
Auto (ESCD)
Press Enter
Press Enter
Disabled
128
IB935 User’s Manual 41
BIOS SETUP
PC Health Status
This section shows the parameters in determining the PC Health Status.
These parameters include temperatures, fan speeds and voltages.
Shutdown Temperature
CPU Warning Temperature
Current System Temp. 34°C/93°F
Current CPU1 Temperature
Current CPU2 Temperature
FAN1 Speed 0 RPM
This field allows the user to set the temperature by which the system
automatically shuts down once the threshold temperature is reached.
This function can help prevent damage to the system that is caused by
overheating.
CPU Warning Temperature
This field allows the user 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/Voltages
These fields are the parameters of the hardware monitoring function
feature of the board. The values are read-only values as monitored by the
system and show the PC health status.
Smart Fan Temperature
This field enables or disables the smart fan feature. At a certain
temperature, the fan starts turning. Once the temperature drops to a
certain level, it stops turning again.
Phoenix - AwardBIOS CMOS Setup Utility
PC Health Status
Disabled
Disabled
27°C/80°F
0°C/32°F
Disabled
4
Menu Level >
ITEM HELP
42 IB935 User’s Manual
BIOS SETUP
Frequency/Voltage Control
This section shows the user how to configure the processor frequency.
CPU Clock Ratio
Auto Detect PCI Clk
Spread Spectrum
Auto Detect PCI Clk
This field enables or disables the auto detection of the PCI clock.
Spread Spectrum
This field sets the value of the spread spectrum. The default setting is
Disabled. This field is for CE testing use only
Phoenix - AwardBIOS CMOS Setup Utility
Frequency/Voltage Control
8 X
Disabled
Disabled Menu Level >
.
ITEM HELP
IB935 User’s Manual 43
BIOS SETUP
Load Fail-Safe Defaults
This option allows you to load the troubleshooting default values
permanently stored in the BIOS ROM. These default settings are
non-optimal and disable all high-performance features.
Load Optimized Defaults
This option allows you to load the default values to your system
configuration. These default settings are optimal and enable all high
performance features.
Set Supervisor Password
These two options set the system password. Supervisor Password sets a
password that will be used to protect the system and Setup utility. User
Password sets a password that will be used exclusively on the system. To
specify a password, highlight the type you want and press <Enter>. The
Enter Password: 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 screen automatically returns to the main screen.
To disable a password, just press the <Enter> key when you are
prompted to enter the password. A message will confirm the password to
be disabled. Once the password is disabled, the system will boot and you
can enter Setup freely.
Save & Exit Setup
This option allows you to determine whether or not to accept the
modifications. If you type “Y”, you will quit the setup utility and save all
changes into the CMOS memory. If you type “N”, you will return to
Setup utility.
Exit Without Saving
Select this option to exit the Setup utility without saving the changes you
have made in this session. Typing “Y” will quit the Setup utility without
saving the modifications. Typing “N” will return you to Setup utility.
44 IB935 User’s Manual
DRIVERS INSTALLATION
Drivers Installation
This section describes the installation procedures for software and
drivers under the Windows 98SE, Windows ME, Windows 2000 and
Windows XP. The software and drivers are included with the
motherboard. If you find the items missing, please contact the vendor
where you made the purchase. The contents of this section include the
following:
Realtek HD Code Audio Driver Installation .............................. 49
Intel PRO LAN Drivers Installation .......................................... 50
IDE Controller Driver Installation……………………………..52
IMPORTANT NOTE:
1. After installing your Windows operating system(Windows
98SE/ME/2000/XP), you must install first the Intel Chipset Software
Installation Utility before proceeding with the drivers installation.
2. How to create an AHCI driver disk, when your board supports the
RAID/AHC function:
1. Put an empty disc into your floppy disk drive
2. Execute the f6flpy32.exe that is in the Driver CD you have received.
The path is 8.1D\Intel\Q35\Raid\
3.When IDE Device (HDD, CDROM, etc.) is to be used, one must use a
USB-FDD device (with the IDE device driver floppy diskette inserted)
to install the drivers when Windows is initializing. When Windows is
starting, press F6 and follow the proceeding instructions. The IDE
device drivers can be found in the driver DVD disc that is provided with
the motherboard with location in E:\SCSI\ ITE8211\DISK\ (assum ing E:
is the DVD ROM drive).
IB935 User’s Manual 45
DRIVER INSTALLATION
Intel Chipset Software Intallation Utility
The Intel Chipset Drivers should be installed first before the software
drivers to enable Plug & Play INF support for Intel chipset component s.
Follow the instructions below to complete the installation under
Windows 98SE/ME/2000/XP. (Before installed Intel Chipset Software
Installation Utility,Please update your system to Windows 2000 SP4 or
Windows XP SP1A)
1. Insert the CD that comes with the board. Click Intel Chipsets and then
Intel(R) Bearlake Chipset Family Drivers.
3. When the Welcome screen appears, click Next to continue.
46 IB935 User’s Manual
DRIVERS INSTALLATION
4. Click Yes to accept the software license agreement and proceed with
the installation process.
5. On the Readme Information screen, click Next to continue the
installation.
6. When the Setup Progress screen appears, click Next to continue.
7. The Setup process is now complete. Click Finish then restart the
computer and for changes to take effect.
IB935 User’s Manual 47
DRIVER INSTALLATION
Intel Graphics Driver Installation
To install the Graphics drivers, follow the steps below to proceed with
the installation.
1. Insert the DVD that comes with the board. Click Intel Chipsets and
then Intel(R) Bearlake Chipset Family Drivers.
2. Click Intel(R) Bearlake Chipset Family Graphics Driver.
3. When the Welcome screen appears, click Next to continue.
4. Click Yes to accept the software license agreement and proceed with
the installation process.
5. On Readme File Information screen, click Next to continue.
6. On Setup Progress screen, click Next to continue the installation.
7. The Setup process is now complete. Click Finish to restart the
computer and for changes to take effect.
48 IB935 User’s Manual
DRIVERS INSTALLATION
Realtek HD Code Audio Driver Installation
Follow the steps below to install the Realtek High Definition Codec
Audio Driver.
1. Insert the DVD that comes with the board. Click Intel Chipsets and
then Intel(R) Bearlake Chipset Family Drivers.
2. Click Realtek High Definition Codec Audio Driver.
3. When the Welcome screen appears, click Next to continue.
4. The Setup process is now complete. Restart the computer when
prompted for changes to take effect.
IB935 User’s Manual 49
DRIVER INSTALLATION
Intel PRO LAN Drivers Installation
Follow the steps below to start installing the Intel 82566DM or Intel
82574L drivers.
1. Insert the DVD that comes with the board. Click Intel Chipsets and
then Intel(R) Bearlake Chipset Family Drivers.
2. Click Intel(R) PRO LAN Network Drivers.
3. On the next screen, click Install Drivers to start the drivers
installation.
4. When the Welcome screen appears, click Next to continue.
5. In the License Agreement screen, click I accept the terms in license agreement and Next to accept the software license agreement and
proceed with the installation process.
6. When the Setup Options appears, click Install Drivers only and Next
to continue.
7. When the Ready to Install the Program screen appears, click Install to
continue.
8. The Setup process is now complete (InstallShield Wizard Completed).
Click Finish to restart the computer and for changes to take effect.
50 IB935 User’s Manual
DRIVERS INSTALLATION
Follow the steps below to use the wake up function by Intel 82566DM or
Intel 82574L.
1. The BIOS Setup item “Wake-Up by PCI card” has to be set as
[Enabled] .
2. Go to the Device Manager under Windows and select Network
adapters. The following window will appear (Intel(R) 82566DM Gigabit
Network Connection Properties). Click Power Management and select
Wake on Magic Packet from power off states .
3. Turn off computer .
IB935 User’s Manual 51
DRIVER INSTALLATION
IDE Controller Drivers Installation
Follow the steps below to install IDE Controller Drivers.
1. Insert the CD that comes with the motherboard. Click ITE8211 Chip
and then IDE Controller Drivers . When the Welcome screen appears,
click Next to continue.
2. Select Type as ‘Typical’ and click Next to continue. Restart when
promoted and finish the installation process.
52 IB935 User’s Manual
APPENDIX
Appendix
A. I/O Port Address Map
Each peripheral device in the system is assigned a set of I/O port
addresses which also becomes the identity of the device. The fo llowing
table lists the I/O port addresses used.
Address Device Description
000h - 01Fh DMA Controller #1
020h - 03Fh Interrupt Controller #1
040h - 05Fh 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
0F1h Reset Math Coprocessor
1F0h - 1F7h IDE Interface
278 - 27F Parallel Port #2(LPT2)
2F8h - 2FFh Serial Port #2(COM2)
2B0 - 2DF Graphics adapter Controller
378h - 3FFh Parallel Port #1(LPT1)
360 - 36F Network Ports
3B0 - 3BF Monochrome & Printer adapter
3C0 - 3CF EGA adapter
3D0 - 3DF CGA adapter
3F0h - 3F7h Floppy Disk Controller
3F8h - 3FFh Serial Port #1(COM1)
IB935 User’s Manual 53
APPENDIX
B. Interrupt Request Lines (IRQ)
Peripheral devices use interrupt request lines to notify CPU for the
service required. The following 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 Controller
IRQ7 Parallel Port #1
IRQ8 Real Time Clock
IRQ9 Reserved
IRQ10 Reserved
IRQ11 Reserved
IRQ12 PS/2 Mouse
IRQ13 80287
IRQ14 Primary IDE
IRQ15 Secondary IDE
54 IB935 User’s Manual
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 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.
;[]================================================
; Name : Enable_And_Set_Watchdog
; IN : AL - 1sec ~ 255sec
; OUT : None
;[]================================================
Enable_And_Set_Watchdog Proc Near
push ax ;save time interval
call Unlock_Chip
mov cl, 2Bh
call Read_Reg
and al, NOT 10h
call Write_Reg ;set GP24 as WDTO
call Lock_Chip
ret
Enable_And_Set_Watchdog Endp
;[]===============================================
; Name : Disable_Watchdog
; IN : None
; OUT : None
;[]===============================================
Disable_Watchdog Proc Near
call Unlock_Chip
xor al, al
mov cl, 30h
call Write_Reg ;watchdog disabled
call Lock_Chip
ret
Disable_Watchdog Endp
;[]===============================================
56 IB935 User’s Manual
APPENDIX
; Name : Unlock_Chip
; IN : None
; OUT : None
;[]===============================================
Unlock_Chip Proc Near
Mov dx, 4Eh
mov al, 87h
out dx, al
out dx, al
ret
Unlock_Chip Endp
;[]================================================
; Name : Lock_Chip
; IN : None
; OUT : None
;[]================================================
Unlock_Chip Proc Near
mov dx, 4Eh
mov al, 0AAh
out dx, al
ret
Unlock_Chip Endp
;[]================================================
; Name : Write_Reg
; IN : CL - register index
; AL - Value to write
; OUT : None
;[]================================================
Write_Reg Proc Near
push ax
mov dx, 4Eh
mov al,cl
out dx,al
pop ax
inc dx
out dx,al
ret
Write_Reg Endp
;[]================================================
IB935 User’s Manual 57
APPENDIX
; Name : Read_Reg
; IN : CL - register index
; OUT : AL - Value to read
;[]=================================================
==
Read_Reg Proc Near
Mov al, cl
mov dx, 4Eh
out dx, al
inc dx
in al, dx
ret
Read_Reg Endp
;[]================================================
58 IB935 User’s Manual
APPENDIX
D. Digital I/O Sample Code
Filename: W627hf.h
//=====================================================================
//
// 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.
//
//=====================================================================
#ifndef __W627HF_H
#define __W627HF_H 1
//=====================================================================
#define W627_IOBASE 0x4E
//=====================================================================
#define W627HF_INDEX_PORT (W627_IOBASE+0)
#define W627HF_DATA_PORT (W627_IOBASE+1)
//=====================================================================
#define W627HF_REG_LD 0x07
//=====================================================================
#define W627HF_UNLOCK 0x87
#define W627HF_LOCK 0xAA
//=====================================================================
void Set_W627HF_LD( unsigned char);
void Set_W627HF_Reg( unsigned char, unsigned char);
unsigned char Get_W627HF_Reg( unsigned char);
//=====================================================================
#endif //__W627HF_H
IB935 User’s Manual 59
APPENDIX
Filename: W627hf.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 "W627HF.H"
#include <dos.h>
//=====================================================================
void Unlock_W627HF (void);
void Lock_W627HF (void);
//=====================================================================
void Unlock_W627HF (void)
{
outportb(W627HF_INDEX_PORT, W627HF_UNLOCK);
outportb(W627HF_INDEX_PORT, W627HF_UNLOCK);
}
//=====================================================================
void Lock_W627HF (void)
{
outportb(W627HF_INDEX_PORT, W627HF_LOCK);
}
//=====================================================================
void Set_W627HF_LD( unsigned char LD)
{
Unlock_W627HF();
outportb(W627HF_INDEX_PORT, W627HF_REG_LD);
outportb(W627HF_DATA_PORT, LD);
Lock_W627HF();
}
//=====================================================================
void Set_W627HF_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_W627HF();
outportb(W627HF_INDEX_PORT, REG);
outportb(W627HF_DATA_PORT, DATA);
Lock_W627HF();
}
//=====================================================================
unsigned char Get_W627HF_Reg( unsigned char REG)
{
unsigned char Result;
Unlock_W627HF();
outportb(W627HF_INDEX_PORT, REG);
Result = inportb(W627HF_DATA_PORT);
Lock_W627HF();
return Result;
}
//=====================================================================
File of the Main.cpp
60 IB935 User’s Manual
APPENDIX
//=====================================================================
// 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 "W627HF.H"
//=====================================================================
void ClrKbBuf(void);
int main (int argc, char *argv[]);
//=====================================================================
int main (int argc, char *argv[])
{
unsigned char ucDO = 0; //data for digital output
unsigned char ucDI; //data for digital input
unsigned char ucBuf;