IBASE IB825 User Manual

IB825
Intel® Atom 945GSE
Half Size PISA CPU Card
USER’S MANUAL
Version 1.0
Acknowledgments
Award is a registered trademark of Award Software International, Inc. PS/2 is a trademark of International Business Machines Corporation. Intel® and Atom™ are registered trademark and trademark 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.
IB825 User’s Manual
Table of Contents
Introduction ...................................................... 1
Product Description ............................................................ 1
Checklist ............................................................................. 2
IB825 Specifications .......................................................... 3
Board Dimensions .............................................................. 4
Installations ...................................................... 5
Installing the Memory......................................................... 6
Setting the Jumpers............................................................. 7
Connectors on IB825 ........................................................ 13
BIOS SETUP ....................................................21
Drivers Installation ......................................43
Intel Chipset Software Installation Utility ......................... 44
VGA Drivers Installation .................................................. 46
Realtek High Definition Audio Driver Installation ........... 48
LAN Drivers Installation .................................................. 49
Appendix ...........................................................53
A. I/O Port Address Map .................................................. 53
B. Interrupt Request Lines (IRQ) ...................................... 54
C. Watchdog Timer Configuration ................................... 55
D. Digital I/O Sample Code ............................................. 60
IB825 User’s Manual iii
This page is intentionally left blank.
iv
IB825 User’s Manual
INTRODUCTION
Introduction
Product Description
IB825 is a Half Size CPU card single board computer that is configured with the Intel® Atom processor N270 at 1.6GHz, FSB533 and the Mobile Intel 945GSE Express Chipset with the ICH7M.
This Half Size single board computer provides greater flexibility for developers of embedded computing solutions. It is ideally suited for communication and compact designs as in telephone exchange and applications in automation, industrial control, data acquisition, client and other industrial PC applications.
IB825 features the Intel's Graphics Media Accelerator 950 core, making it compatible with Windows Vista Premium, and Chrontel CH7308 for 24-bit dual LVDS channel. ONE DDR2 DIMM sockets on board implement up to 2GB of system memory. Dual Gigabit LAN is also available.
The main features of the board are:
Supports Intel Atom processor N270 at 1.6GHz, FSB533 One DDR2 SoDIMM, Max. 2GB memory Onboard Dual Intel 82583V Gigabit LAN Intel® 945GSE Express VGA for CRT / LVDS 2x SATA, 6x USB 2.0, 4x COM, Watchdog timer 1x Mini PCI-E(x1) Socket Type 2 CF socket on board Dimensions: 186mm x 129mm
IB825 User’s Manual 1
INTRODUCTION
Checklist
Your IB825 package should include the items listed below.
The IB825 Half Size CPU Card This User’s Manual 1 CD containing chipset drivers and flash memory utility Cables include:, KBMS-3, SATA-5,USB29K, PK1-20BK Cable optional: AUDIO-18K, PK1-20BK, PK3-2K3
2
IB825 User’s Manual
Product Name
IB825
Form Factor
PCI+ ISA (half size CPU card)
CPU Type
Intel® AtomTM N270 processor, 45nm(TDP=2.5W)
1.6GHz, 22 x 22 mm, PBGA437
CPU FSB
533 MHz FSB
L2 Cache
512KB
Chipset
Intel® 945GSE (Calistoga) chipset GMCH: 82945GSE 998-pin FCBGA,27x27 mm(TDP=3.5W) ICH7M: 82801GBM 652-pin PBGA,31 x 31mm(TDP=1.5W)
BIOS
AMI BIOS, supports ACPI Function
Memory
DDR II 400/533 DIMM x1 (w/o ECC), Max. 2GB
VGA & LVDS
945GSE built-in Intel® GMA950 Graphics Core
- Supports CRT
- Chrontel CH7308 x 1 for 24-bit dual channel LVDS
LAN
Intel® 82583V x 2
USB
ICH7M built-in USB 2.0 host controller, supports 6 ports
Serial ATA
ICH7M built-in SATA controller, supportss 2 ports
Parallel IDE
ICH7M built-in one channel Ultra DMA 33/66/100, CF Type II
PCI-to-ISA bridge
ITE IT8888G x1 for high drive ISA bus
Audio
ICH7M built-in High Definition Audio controller + HDA Codec
Realtek ALC662 w/ 5.1 channels
LPC I/O
Winbond W83627UHG: COM1(RS232/422/485), COM2~4(RS232 only) Hardware monitor (3 thermal inputs, 4 voltage monitor inputs, VID0-4 & 1 fan header)
Digital IO
4 in & 4 out
Expansion Slots
Mini PCI-Express socket x1 @ solder side
Edge Connector (the same location w/ IB825s bracket)
PS/2 connector x1 for keyboard/mouse (KB priority) USB X 1 (Vertical type); DB15 x1 for VGA; RJ45 x 2 for LAN
On Board Header/Connector
Compact Flash type II socket x1 @ solder side 2x13 pin header x1 for parallel port 2x10 pin DF11 box-header x2 for COM1~4 2x5 pin header x1 for Digital I/O 2x4 pin header x2 for USB 3~6 DF13-20 connector x2 for LVDS 4-pin box-header x 1 for brightness control 2x6 pin header x1 for audio Line-Out, Line-In & Mic SATA connector x2 for SATA ports 3-pin header x1 for system fan
Watchdog Timer
Yes (256 segments, 0, 1, 2…255 sec/min)
System Voltage
+5V, +12V, 5VSB (2A)
Power
AT/ATX function supported, 4-pin power connector on board(input)
Other
LAN Wakeup ( Single LAN) EuP/ErP ( 0.5W & extra 0.7W for WOL)
Board Size
186mm x 129mm
IB825 Specifications
INTRODUCTION
IB825 User’s Manual 3
INTRODUCTION
[
Board Dimensions
4
IB825 User’s Manual
INSTALLATIONS
Installations
This section provides information on how to use the jumpers and connectors on the IB825 in order to set up a workable system. The topics covered are:
Installing the Memory ................................................................. 6
Setting the Jumpers .................................................................... 7
Connectors on IB825 ................................................................ 13
IB825 User’s Manual 5
INSTALLATIONS
Installing the Memory
The IB825 board supports two DDR2 memory sockets to support up to 2GB memory, DDR2 400/533 (w/o ECC function).
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 aligns
with that on the memory slot. Insert the module into the socket at a slight angle. Note that the socket and module are both keyed, which means that the module can be installed only in one direction.
2. To seat the memory module into the socket, apply firm and even
pressure to each end of the module until you feel it slip down into the socket.
3. With the module properly seated in the socket, push the module
downward. Continue pressing downward until the clips at each end lock into position.
4. To remove the DDR2 module, press the clips with both hands.
6
IB825 User’s Manual
INSTALLATIONS
Setting the Jumpers
Jumpers are used on IB825 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 IB825 and their respective functions.
Jumper Locations on IB825 ................................................................. 8
JP8: ATX or AT Power Selection ........................................................ 9
JP6: LCD Panel Power Selection ......................................................... 9
JP9: Clear CMOS Setting .................................................................... 9
JP1, JP2, JP3: RS232/422/485 (COM2) Selection .............................. 10
JP4: COM1 RS232 +5V/+12V Power Setting .................................... 11
JP5: COM2 RS232 +5V/+12V Power Setting .................................... 11
IB825 User’s Manual 7
INSTALLATIONS
Jumper Locations on IB825
8
IB825 User’s Manual
INSTALLATIONS
JP8
ATX Power
ATX
AT
JP6
LCD Panel Power
3.3V 5V
JP9
Setting
Normal
Clear CMOS
JP8: ATX or AT Power Selection
REMARKS: EuP/ErP is supported with ATX power only.
JP6: LCD Panel Power Selection
JP9: Clear CMOS Setting
IB825 User’s Manual 9
INSTALLATIONS
COM1
Function
RS-232
RS-422
RS-485
Jumper Setting
(pin closed)
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
Pin #
Signal Name
RS-232
R2-422
RS-485
01
DCD
TX-
DATA-
03
RX
TX+
DATA+
05
TX
RX+
NC
07
DTR
RX-
NC
09
Ground
Ground
Ground
02
DSR
NC
NC
04
RTS
NC
NC
06
CTS
NC
NC
08
RI
NC
NC
10
NC
NC
NC
JP1, JP2, JP3: RS232/422/485 (COM2) Selection
COM2 is fixed for RS-232 use only. COM1 is selectable for RS232, RS-422 and RS-485.The following describes the settings for COM1.
COM1 is jumper selectable for RS-232, RS-422 and RS-485.
10
IB825 User’s Manual
JP4
Setting
Function
Pin 1-2
Short/Closed
+12V
Pin 3-4
Short/Closed
Normal
Pin 5-6
Short/Closed
+5V
JP5
Setting
Function
Pin 1-2
Short/Closed
+12V
Pin 3-4
Short/Closed
Normal
Pin 5-6
Short/Closed
+5V
JP4: COM1 RS232 +5V/+12V Power Setting
JP5: COM2 RS232 +5V/+12V Power Setting
INSTALLATIONS
IB825 User’s Manual 11
INSTALLATIONS
This page is intentionally left blank.
12
IB825 User’s Manual
Connectors on IB825
FAN1: CPU Fan Power Connector ................................................... 15
J1: System Function Connector .......................................................... 15
J2, J3: SATA Connectors................................................................... 15
CN4: Power Input Connector ............................................................ 15
J4: COM1~COM2 Serial Port(DF11Connector) ................................ 16
J5: Digital I/O .................................................................................... 16
J6: COM3, COM4 Serial Port(DF11 Connector) ............................... 17
J7: LCD Backlight Connector (DC type) ............................................ 17
J9, J8: LVDS Connectors (DF13 type) ............................................... 17
J11: USB2/USB3 Connector(DF11 Connector) ................................. 18
J12: USB4/USB5 Connector(DF11 Connector) ................................. 18
J13: Parallel Port Connector .............................................................. 18
J14: ATX- Power Signal Connector ................................................... 18
J15: SPI Flash Connector (factory use only) ....................................... 19
J16: External Keyboard Connector ..................................................... 19
J17: PS/2 Keyboard and Mouse Connector ........................................ 19
J18: Audio Connector (DF11 type) .................................................... 19
J19: CF Socket .................................................................................. 19
CN1, J20: USB1/0 Ports .................................................................... 19
VGA1: VGA Connector (D-sub, 15-pin)............................................ 20
CN2, CN3: GbE RJ45 Ports .............................................................. 20
INSTALLATIONS
IB825 User’s Manual 13
INSTALLATIONS
Connectors on IB825
14
IB825 User’s Manual
Pin #
Signal Name
1
Ground
2
+12V
3
Rotation detection
Pin #
Signal Name
3
Vcc
4
Ground
Pin #
Signal Name
6
HDD Active
5
Vcc
Pin #
Signal Name
1
+12V
2
Ground
3
Ground
4
+5V
FAN1: CPU Fan Power Connector
J1: System Function Connector
INSTALLATIONS
ATX Power ON Switch: Pins 1 and 2
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.
Power LED: Pins 3 and 4
Hard Disk Drive LED Connector: Pins 5 and 6
Reset Switch: Pins 7 and 8
J2, J3: SATA Connectors
CN4: Power Input Connector
Remarks: It is strongly recommended that this power connector is used in order to have more current available to 12V devices.
IB825 User’s Manual 15
INSTALLATIONS
Signal Name
Pin #
Pin #
Signal Name
DSR1
Data set ready
2 1 DCD1
Data carrier detect
RTS1
Request to send
4 3 RXD1
Receive data
CTS1
Clear to send
6 5 TXD1
Transmit data
RI1
Ringing indicator
8 7 DTR1
Data terminal ready
Not used
10 9 Ground
DSR2
12
11
DCD2
RTS2
14
13
RXD2
CTS2
16
15
TXD2
RI2
18
17
DTR2
Not used
20
19
Ground
Pin #
Signal Name
RS-232
R2-422
RS-485
01
DCD
TX-
DATA-
03
RX
TX+
DATA+
05
TX
RX+
NC
07
DTR
RX-
NC
09
Ground
Ground
Ground
02
DSR
NC
NC
04
RTS
NC
NC
06
CTS
NC
NC
08
RI
NC
NC
10
NC
NC
NC
Signal Name
Pin
Pin
Signal Name
GND
1 2 VCC
OUT3
3 4 OUT1
OUT2
5 6 OUT0
IN3
7 8 IN1
IN2
9
10
IN0
J4: COM1~COM2 Serial Port(DF11Connector)
COM1 is jumper selectable for RS-232, RS-422 and RS-485.
J5: Digital I/O
16
IB825 User’s Manual
INSTALLATIONS
Signal Name
Pin #
Pin #
Signal Name
DSR3
2 1 DCD3
RTS3
4 3 RXD3
CTS3
6 5 TXD3
RI3
8 7 DTR3
NA
10 9 Ground
DSR4
12
11
DCD4
RTS4
14
13
RXD4
CTS4
16
15
TXD4
RI4
18
17
DTR4
NA
20
19
Ground
Pin #
Signal Name
1
+12V
2
Backlight Enable
3
*Backlight Adj (DC type)
4
Ground
Signal Name
Pin #
Pin #
Signal Name
TX0-
2 1 TX0+
Ground
4 3 Ground
TX1-
6 5 TX1+
*5V/3.3V
8 7 Ground
TX3-
10 9 TX3+
TX2-
12
11
TX2+
Ground
14
13
Ground
TXC-
16
15
TXC+
*5V/3.3V
18
17
ENABKL
+12V
20
19
+12V
J6: COM3, COM4 Serial Port(DF11 Connector)
J7: LCD Backlight Connector (DC type)
* LCD backlight brightness can be adjusted by the OS or in the BIOS setup. In the BIOS setup, both backlight enable/disable and backlight brightness can be configured. Also, the backlight voltage can be set to 3.3V or 5V.
J9, J8: LVDS Connectors (DF13 type)
Remarks: These connectors support 24-bit. J9 is 1st channel. J8 is 2nd channel. JP6 can be used to set 1-2 3.3V or 2-3 5V.
IB825 User’s Manual 17
INSTALLATIONS
Signal Name
Pin
Pin
Signal Name
Ground
2 1 Vcc
D2+
4 3 D3-
D2-
6 5 D3+
Vcc
8 7 Ground
Signal Name
Pin
Pin
Signal Name
Ground
2 1 Vcc
D4+
4 3 D5-
D4-
6 5 D5+
Vcc
8 7 Ground
Signal Name
Pin #
Pin #
Signal Name
Line printer strobe
1 2 AutoFeed
PD0, parallel data 0
3 4 Error
PD1, parallel data 1
5 6 Initialize
PD2, parallel data 2
7 8 Select
PD3, parallel data 3
9
10
Ground
PD4, parallel data 4
11
12
Ground
PD5, parallel data 5
13
14
Ground
PD6, parallel data 6
15
16
Ground
PD7, parallel data 7
17
18
Ground
ACK, acknowledge
19
20
Ground
Busy
21
22
Ground
Paper empty
23
24
Ground
Select
25
26
N/A
Pin #
Signal Name
1
Ground
2
PS-ON
3
5VSB
J11: USB2/USB3 Connector(DF11 Connector)
J12: USB4/USB5 Connector(DF11 Connector)
J13: Parallel Port Connector
J14: ATX- Power Signal Connector
18
IB825 User’s Manual
INSTALLATIONS
Pin #
Signal Name
1
KB clock
2
KB data
3
N.C.
4
Ground
5
Vcc
J17
Pin #
Signal Name
1
Keyboard data
2
Mouse data
3
Ground
4
Vcc
5
Keyboard Clock
6
Mouse Clock
Signal Name
Pin #
Pin #
Signal Name
LINEOUT_R
2 1 LINEOUT_L
Ground
4 3 JD_FRONT
LINEIN_R
6 5 LINEIN
Ground
8 7 JD_LINEIN
MIC-In
10 9 MIC_L
Ground
12
11
JD_MIC1
J15: SPI Flash Connector (factory use only)
J16: External Keyboard Connector
J17: PS/2 Keyboard and Mouse Connector
J17 uses a Y-cable for a PS/2 keyboard and a PS/2 mouse.
J18: Audio Connector (DF11 type)
J19: CF Socket
CN1, J20: USB1/0 Ports
IB825 User’s Manual 19
INSTALLATIONS
Signal Name
Pin #
Pin #
Signal Name
Red
1 2 Green
Blue
3 4 N.C.
GND
5 6 GND
GND
7 8 GND
VCC
9
10
GND
N.C.
11
12
DDCDATA
HSYNC
13
14
VSYNC
DDCCLK
15
VGA1: VGA Connector (D-sub, 15-pin)
CN2, CN3: GbE RJ45 Ports
REMARKS: For EuP/ErP WOL, only - CN2 can be used.
20
IB825 User’s Manual
BIOS SETUP
BIOS SETUP
This chapter describes the different settings available in the AMI (American Megatrends, Inc.) BIOS that comes with the board. The topics covered in this chapter are as follows:
BIOS Introduction ................................................................ ............. 21
BIOS Setup ....................................................................................... 22
Main BIOS Setup .............................................................................. 23
Advanced Settings ............................................................................. 24
Advanced PCI/PnP Settings ............................................................... 34
Boot Settings ..................................................................................... 35
Security Settings ................................................................................ 37
Advanced Chipset Settings ................................................................. 38
Exit Options ...................................................................................... 42
IMPORTANT:
Wake up functions such as wake on LAN, etc. need standby power. The functions will not work if the standby power on S5’ is ‘all disabled.
IB825 User’s Manual 21
BIOS SETUP
BIOS Introduction
The 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 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 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.
22
IB825 User’s Manual
BIOS SETUP
Main Advanced PCIPnP Boot Security Chipset Exit
System Overview
Use[ENTER], [TAB] or [SHIFT-TAB] to select a field.
Use [+] or [-] to configure system Time.
<- Select Screen ↑↓ Select Item
+- Change Field Tab Select Field F1 General Help F10 Save and Exit ESC Exit
Processor
Intel(R) Atom (TM) CPU N270
@ 1.60GHz
Speed : 1600MHz
Count : 1
System Memory
Size : 1015MB
System Time
[17:00:00]
System Date
[Fri 12/18/2009]
Note:
If the system cannot boot after making and saving system changes with Setup, the AMI 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 AMI 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.
Main BIOS Setup
This setup allows you to record some basic hardware configurations in your computer system and set the system clock.
BIOS SETUP UTILITY
IB825 User’s Manual 23
BIOS SETUP
Main Advanced PCIPnP Boot Security Chipset Exit
Advanced Settings
Configure CPU.
<- Select Screen ↑↓ Select Item
Enter Go to Sub Screen F1 General Help F10 Save and Exit ESC Exit
WARNING: Setting wrong values in below sections
may cause system to malfunction.
CPU Configurations
IDE Configuration
Super IO Configuration
Hardware Health Configuration
ACPI Configuration
APM Configuration
EuP/ErP Power Saving Controller
USB Configuration
Lan Configuration
Advanced Settings
This section allows you to configure and improve your system and allows you to set up some system features according to your preference.
The Advanced BIOS Settings contains the following sections:
CPU Configurations IDE Configuration Super IO Configuration Hardware Health Configuration ACPI Configuration AHCI Configuration APM Configuration EuP/ErP Power Saving Controller USB Configuration Lan Configuration
The fields in each section are shown in the following pages, as seen in the computer screen. Please note that setting the wrong values may cause the system to malfunction. If unsure, please contact technical support of your supplier.
24
BIOS SETUP UTILITY
IB825 User’s Manual
Advanced
Configure advanced CPU settings
Module Version:3F.0E
Disabled for WindowsXP
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
Manufacturer: Intel
Intel(R) Atom (TM) CPU N270
@ 1.60GHz
Frequency : 1.60GHz
FSB Speed : 532MHz
Cache L1 : 24KB
Cache L2 : 512KB
Ratio Actual Value : 12
Max CPUID Value Limit
[Disabled]
Execute-Disable Bit Capability
[Enabled]
Hyper Threading Technology
[Enabled]
Intel SpeedStep(tm) tech
[Enabled]
Intel C-STATE tech
[Enabled]
Enhanced C-States
[Enabled]
The CPU Configuration menu shows the following CPU details:
Manufacturer: the name of the CPU manufacturer Brand String: the brand name of the CPU being used Frequency: the CPU processing speed FSB Speed: the FSB speed Cache L1: the CPU L1 cache size Cache L2: the CPU L2 cache
Max CPUID Value Limit
Disabled for WindowsXP.
Execute-Disable Bit Capability
XD can prevent certain classes of malicious buffer overflow attacks when combined with a supporting OS.
Hyper Threading Technology
Enabled for Windows XP and Linux (OS optimized for Hyper-Threading Technology) and Disabled for other OS (OS not optimized for Hyper-Threading Technology). When Disabled, only one thread per enabled core is enabled.
Intel SpeedStep(tm) tech
Disabled: Disable GV3 Enabled: Enable GV3
Intel C-STATE tech
CState: CPU idle is set to C2 C3 C4 State .
Enhanced C-States
CState: CPU idle is set to Enhanced C-States.
IB825 User’s Manual 25
BIOS SETUP
BIOS SETUP UTILITY
BIOS SETUP
Advanced
IDE Configuration
Options
Disabled Compatible Enhanced
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
ATA/IDE Configuration
[Compatible]
Legacy IDE Channels
[SATA Pri, PATA Sec]
Primary IDE Master
: [Not Detected]
Primary IDE Slave
: [Not Detected]
Secondary IDE Master
: [Not Detected]
Secondary IDE Slave
: [Not Detected]
Hard Disk Write Protect
[Disabled]
IDE Detect Time Out (Sec)
[35]
ATA(PI) 80Pin Cable Detection
[Host & Device]
Advanced
Configure Win627UHG Super IO Chipset
Allows BIOS to Select
Serial Port Base Addresses
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
Serial Port1 Address
[3F8/IRQ4]
Serial Port2 Address
[2F8/IRQ3]
Serial Port2 Mode
[Normal]
Serial Port3 Address
[3E8]
Serial PortC IRQ
[IRQ11]
Serial Port4 Address
[2E8]
Serial PortD IRQ
[IRQ10]
Parallel port Address
378
Parallel Port Mode
Normal
Parallel Port IRQ
IRQ7
Restore on AC Power Loss
[Power Off]
Power On Function
None
BIOS SETUP UTILITY
The IDE Configuration menu is used to change and/or set the configuration of the IDE devices installed in the system.
ATA/IDE Configuration
(1) Disabled. (2) Compatible. (3) Enhanced
Legacy IDE Channels
(1) SATA Only. (2) SATA Pri, PATA Sec. (3) PATA Only
BIOS SETUP UTILITY
26
IB825 User’s Manual
BIOS SETUP
Onboard Serial/Parallel Port
The default values are: Serial Port 1: 3F8/IRQ4 Serial Port 2: 2F8/IRQ3 Serial Port 3: 3E8/IRQ11 Serial Port 4: 2E8/IRQ10 Parallel Port 378H/IRQ7
Parallel Port Mode
This field allows you to Select Parallel Port Mode.
(1) Normal
(2) Bi-Directional (3) ECP (4) EPP (5) ECP& EPP
Restore on AC Power Loss
This field sets the system power status whether Power On or Power Off when power returns to the system from a power failure situation.
Power On Function
This field is related to how the system is powered on . The options are None, Mouse Left, Mouse Right, and Any Key.
IB825 User’s Manual 27
BIOS SETUP
Advanced
Hardware Health Configuration
Options
Disabled 70°C/158°F 75°C/167°F 80°C/176°F 85°C/185°F 90°C/194°F 95°C/203°F
<- Select Screen ↑↓ Select Item
+- Change Field Tab Select Field F1 General Help F10 Save and Exit ESC Exit
System Temperature
:51°C/123°F
CPU Temperature
:47°C/116°F
FAN1 Speed
:0 RPM
Vcore
:1.096 V
5 V
:5.056 V
3.3V
:3.340 V
12V
:11.704 V
1.8V
:1.848V
VSB
:4.988V
ACPI Shutdown Temperature
[Disabled]
The Hardware Health Configuration menu is used to show the operating temperature, fan speeds and system voltages.
ACPI Shutdown Temperature
The system will shut down automatically under OS with ACPI mode, when the CPU temperature reaches the configured temperature.
28
BIOS SETUP UTILITY
IB825 User’s Manual
BIOS SETUP
Advanced
ACPI Settings
General ACPI Configuration settings
<- Select Screen ↑↓ Select Item
Enter Go to Sub Screen F1 General Help F10 Save and Exit ESC Exit
General ACPI Configuration
Advanced ACPI Configuration
Chipset ACPI Configuration
Advanced
General ACPI Configuration
Select the ACPI state used for
System Suspend.
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
Suspend mode
[S1 (POS)]
BIOS SETUP UTILITY
BIOS SETUP UTILITY
Suspend Mode
The options of this field are S1, S3 and Auto.
IB825 User’s Manual 29
BIOS SETUP
Advanced
Advance ACPI Configuration
Enable RSDP pointers to 64-bit Fixed System
Description Tables. Different ACPI version Has some addition
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
ACPI Version Features
[ACPI v1.0]
ACPI APIC support
[Enabled]
Advanced
Chipset ACPI Configuration
Options
Enabled Disabled
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
Energy Lake Feature
[Disabled]
APIC ACPI SCI IRQ
[Disabled]
BIOS SETUP UTILITY
BIOS SETUP UTILITY
30
IB825 User’s Manual
BIOS SETUP
Advanced
APM Configuration
Enable or disable APM.
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
Power Management/APM
[Enabled]
Power Button Mode
[On/Off]
Resume On Ring
Disabled
Resume by PCI-E Device (PME)
Disabled
Resume On RTC Alarm
Disabled
BIOS SETUP UTILITY
Power Management/APM
By default, this field is set to Enabled.
Power Button Mode
Go into On/Off, or Suspend when power button is pressed.
Resume on Ring
This option is used to enable activity on the RI (ring in) modem line to wake up the system from a suspend or standby state. That is, the system will be awakened by an incoming call on a modem.
Resume by PCI-E Device (PME)
This option is used enable activity on the PCI-E PME (power managementevent) controller to wake up the system from a suspend or standby state
Resume On RTC Alarm
This option is used to specify the time the system should be awakened from a suspended state
IB825 User’s Manual 31
BIOS SETUP
Advanced
EuP/ErP Power Saving Controller
[All Enabled] Provide the Standby Power for Device.
[Enabled WOL] Enabled Ethernet Power for WOL.
[All Disabled] Shutdown the Standby Power.
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
Standby Power on S5
[All Enabled]
Advanced
USB Configuration
Enables support for legacy USB. AUTO option disables legacy support if no USB devices are connected.
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
Module Version – 2.24.3-13.4
USB Devices Enabled:
None
Legacy USB Support
[Enabled]
Port 64/60 Emulation
[Disabled]
USB 2.0 Controller Mode
[HiSpeed]
BIOS EHCI Hand-Off
[Enabled]
BIOS SETUP UTILITY
The USB Configuration menu is used to read USB configuration information and configure the USB settings.
Legacy USB Support
Enables support for legacy USB. AUTO option disables legacy support if no USB devices are connected.
32
BIOS SETUP UTILITY
IB825 User’s Manual
BIOS SETUP
Advanced
Lan Configuration
Disabled Enabled
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
Onboard LAN Option ROM
[Disabled]
Port 64/60 Emulation
Enables I/O port 60h/64h emulation support. This should be enabled for the complete USB keyboard legacy support for non-USB aware OSes.
USB 2.0 Controller Mode
Configures the USB 2.0 controller in HiSpeed (480Mbps) or FullSpeed (12Mbps).This option is enabled by HiSpeed.
BIOS EHCI Hand-Off
Enabled/Disabled. This is a workaround for Oses without EHCI hand-off support. The EHCI ownership change should be claimed by EHCI driver.
Legacy USB1.1 HC Support
Support USB1.1 HC.
BIOS SETUP UTILITY
IB825 User’s Manual 33
BIOS SETUP
Main Advanced PCIPnP Boot Security Chipset Exit
Advanced PCI/PnP Settings
Clear NVRAM during System Boot.
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
WARNING: Setting wrong values in below sections
may cause system to malfunction.
Clear NVRAM
[No]
Plug & Play O/S
[No]
PCI Latency Timer
[64]
Allocate IRQ to PCI VGA
[Yes]
Palette Snooping
[Disabled]
PCI IDE BusMaster
[Enabled]
OffBoard PCI/ISA IDE Card
[Auto]
IRQ3
[Available]
IRQ4
[Available]
IRQ5
[Available]
IRQ7
[Available]
IRQ9
[Available]
IRQ10 IRQ11 IRQ14 IRQ15
DMA Channel 0 DMA Channel 1 DMA Channel 3 DMA Channel 5 DMA Channel 6 DMA Channel 7
Reserved Memory Size
[Available] [Available] [Available] [Available]
[Available] [Available] [Available] [Available] [Available] [Available]
[Disabled]
PCIPnP Settings
This option configures the PCI/PnP settings.
BIOS SETUP UTILITY
Clear NVRAM
This item is used for clearing NVRAM during system boot.
Plug & Play O/S
This lets BIOS configure all devices in the system or lets the OS configure PnP devices not required for boot if your system has a Plug and Play OS.
PCI Latency Timer
This item sets value in units of PCI clocks for PCI device latency timer register. Options are: 32, 64, 96, 128, 160, 192, 224, 248.
34
IB825 User’s Manual
BIOS SETUP
Main Advanced PCIPnP Boot Security Chipset Exit
Boot Settings
Configure Settings during System Boot.
<- Select Screen ↑↓ Select Item
+- Change Field Enter Go to Sub Screen F1 General Help F10 Save and Exit ESC Exit
Boot Settings Configuration
Allocate IRQ to PCI VGA
This assigns IRQ to PCI VGA card if card requests IRQ or doesn't assign IRQ to PCI VGA card even if card requests an IRQ.
Palette Snooping
This informs the PCI devices that an ISA graphics device is installed in the system so the card will function correctly.
PCI IDE BusMaster
This uses PCI busmastering for BIOS reading / writing to IDE devices.
OffBoard PCI/ISA IDE Card
Some PCI IDE cards may require this to be set to the PCI slot number that is holding the card.
IRQ#
Use the IRQ# address to specify what IRQs can be assigned to a particular peripheral device.
Boot Settings
BIOS SETUP UTILITY
IB825 User’s Manual 35
BIOS SETUP
Boot
Boot Settings Configuration
Allows BIOS to skip certain tests while booting. This will decrease the time needed to boot the system.
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
Quick Boot
[Enabled]
Quiet Boot
[Disabled]
AddOn ROM Display Mode
[Force BIOS]
Bootup Num-Lock
[On]
PS/2 Mouse Support
[Auto]
Wait for ‘F1’ If Error
[Enabled]
Hit ‘DEL’ Message Display Interrupt 19 Capture
[Enabled] [Disabled]
Quick Boot
This allows BIOS to skip certain tests while booting. This will decrease the time needed to boot the system.
Quite Boot
When disabled, this displays normal POST messages. When enabled, this displays OEM Logo instead of POST messages.
AddOn ROM Display Mode
This allows user to force BIOS/Option ROM of add-on cards to be displayed during quiet boot.
Bootup Num-Lock
This select the power-on state for numlock.
PS/2 Mouse Support
This select support for PS/w mouse.
Wait for F1 If Error
When set to Enabled, the system waits for the F1 key to be pressed when error occurs. This allows option ROM to trap interrupt 19.
Hit <DEL> Message Display
This displays Press <DEL> to run Setup in POST.
Interrupt 19 Capture
This allows option ROMs to trap interrupt 19.
36
IB825 User’s Manual
BIOS SETUP UTILITY
BIOS SETUP
Main Advanced PCIPnP Boot Security Chipset Exit
Security Settings
Install or Change the Password.
<- Select Screen ↑↓ Select Item
Enter Change F1 General Help F10 Save and Exit ESC Exit
Supervisor Password : Not Installed User Password : Not Installed
Change Supervisor Password
Change User Password
Boot Sector Virus Protection [Disabled]
Security Settings
This setting comes with 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 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.
BIOS SETUP UTILITY
IB825 User’s Manual 37
BIOS SETUP
Main Advanced PCIPnP Boot Security Chipset Exit
Advanced Chipset Settings
Configure North Bridge features.
<- Select Screen ↑↓ Select Item
Enter Go to Sub Screen F1 General Help F10 Save and Exit ESC Exit
WARNING: Setting wrong values in below sections
may cause system to malfunction.
North Bridge Configuration South Bridge Configuration
Chipset
North Bridge Chipset Configuration
Auto 400 MHz 533 MHz
<- Select Screen ↑↓ Select Item
Enter Go to Sub Screen F1 General Help F10 Save and Exit ESC Exit
DRAM Frequency [Auto]
Configure DRAM Timing by SPD [Enabled] Memory Hole [Disabled]
Boots Graphics Adapter Priority [PCI/IGD] Internal Graphics Mode Select [Enabled, 8MB]
Video Function Configuration
Advanced Chipset Settings
This setting configures the north bridge, south bridge and the ME subsystem. WARNING! Setting the wrong values may cause the system to malfunction.
BIOS SETUP UTILITY
BIOS SETUP UTILITY
DRAM Frequency
This option is, by default, set to Auto.
Configure DRAM Timing by SPD
When this item is enabled, the DRAM timing parameters are set according to the DRAM SPD (Serial Presence Detect). When disabled, you can manually set the DRAM timing parameters through the DRAM sub-items.
38
IB825 User’s Manual
BIOS SETUP
Chipset
Video Function Configuration
Options
Fixed Mode DVMT Mode
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
DVMT Mode Select [DVMT Mode]
DVMT/FIXED Memory [128MB]
Boot Display Device [CRT] Local Flat Panel Scaling [Auto] SDVO LVDS Protocol [1 Ch OpenLDI, 18bi] SDVO Panel Number [1024x768] Back Light Voltage Control [3.3v] LVDS Back Light Control [7(Max)]
Memory Hole This option is used to reserve memory space between 15MB and 16MB for ISA expansion cards that require a specified area of memory to work properly.
Boots Graphics Adapter Priority
Select which graphics controller to use as the primary boot device. This option, by default, is set to PCI/IGD.
Internal Graphics Mode Select
Use the feature to set the amount of system memory to be used by the Internal. graphics device. expansion cards that require a specified area of memory to work properly.
BIOS SETUP UTILITY
DVMT Mode Select
Select the control mode of memory built-in graphics capabilities. This option, by default, is set to DVMT Mode.
DVMT/FIXED Memory
Sets the maximum memory size assigned to the integrated graphics capabilities. This option, by default, is set to 128MB.
Boot Display Device
This option is used to select the display device used by the system when it boots.
Local Flat Panel Scaling
The options are Auto, Forced Scaling and Disabled.
IB825 User’s Manual 39
BIOS SETUP
SDVO LVDS Protocol
The options are:
1Ch SPGW, 24bit 2Ch SPGW, 24bit 1Ch Open LDI, 24bit 2Ch Open LDI, 24bit 1Ch Open LDI, 18bit 2Ch Open LDI, 18bit
SDVO Panel Number
This option is used to select the type of flat panel connected to the system. Options include: 640x480 / 800x600 / 1024x768 / 1280x768 / 1280x800 / 1280x600.
Back Light Voltage Control
The options are 3.3v and 5v.
LVDS Back Light Control
The options are 7(Max), 6, 5, 4, 3, 2, 1, 0(Min).
40
IB825 User’s Manual
BIOS SETUP
Main Advanced PCIPnP Boot Security Chipset Exit
South Bridge Chipset Configuration
Options
Disabled 2 USB Ports 4 USB Ports
6 USB Ports 8 USB Ports
<- Select Screen ↑↓ Select Item
+- Change Field F1 General Help F10 Save and Exit ESC Exit
USB Function [8 USB Ports]
USB 2.0 Controller [Enabled] Audio Controller [Auto] SMBUS Controller [Enabled]
PCIE Ports Configuration PCIE Port 0 [Auto] PCIE Port 1 [Auto] PCIE Port 2 [Auto] PCIE Port 3 [Auto] PCIE Port 4 [Auto] PCIE Port 5 [Auto] PCIE High Priority Port [Disabled]
PCIE Port 0 IOxAPIC Enable [Disabled] PCIE Port 1 IOxAPIC Enable [Disabled] PCIE Port 2 IOxAPIC Enable [Disabled] PCIE Port 3 IOxAPIC Enable [Disabled] PCIE Port 4 IOxAPIC Enable [Disabled] PCIE Port 5 IOxAPIC Enable [Disabled]
BIOS SETUP UTILITY
USB Function
This option enables the number of USB ports desired or disables the USB function.
USB 2.0 Controller
This option is disabled by default.
Audio Controller
This option is used to enable the Southbridge high definition audio controller.
SMBUS Controller
This option is enabled by default.
ASP Support
This option is disabled by default.
IB825 User’s Manual 41
BIOS SETUP
Main Advanced PCIPnP Boot Security Chipset Exit
Exit Options
Exit system setup after saving the changes.
F10 key can be used for this operation
<- Select Screen ↑↓ Select Item
Enter Go to Sub Screen F1 General Help F10 Save and Exit ESC Exit
Save Changes and Exit
Discard Changes and Exit Discard Changes
Load Optimal Defaults Load Failsafe Defaults
Exit Setup
The exit setup has the following settings which are:
BIOS SETUP UTILITY
Save Changes and Exit
This option allows you to determine whether or not to accept the modifications and save all changes into the CMOS memory before exit.
Discard Changes and Exit
This option allows you to exit the Setup utility without saving the changes you have made in this session.
Discard Changes
This option allows you to discard all the changes that you have made in this session.
Load Optimal 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.
Load Failsafe 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.
42
IB825 User’s Manual
DRIVERS INSTALLATIONS
Drivers Installation
This section describes the installation procedures for software and drivers under the Windows XP, Windows Vista and Windows 7. 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:
Intel Chipset Software Installation Utility ........................................... 44
VGA Drivers Installation ................................................................... 46
Realtek High Definition Audio Driver Installation .............................. 48
LAN Drivers Installation .................................................................... 49
IMPORTANT NOTE:
After installing your Windows operating system (Windows XP/ Vista/ 7), you must install first the Intel Chipset Software Installation Utility before proceeding with the drivers installation.
IB825 User’s Manual 43
DRIVERS INSTALLATIONS
Intel Chipset Software Installation Utility
The Intel Chipset Drivers should be installed first before the software drivers to enable Plug & Play INF support for Intel chipset components.
1. Insert the CD that comes with the board. Click Intel Chipsets and then Intel(R) I945GM/GME/GSE Chipset Drivers.
2. Click Intel(R) Chipset Software Installation Utility.
44
IB825 User’s Manual
DRIVERS INSTALLATIONS
3. When the Welcome screen to the Intel(R) Chipset Software Installation Utility appears, click Next to continue.
4. Click Yes to accept the software license agreement and proceed with the installation process.
5. In the Readme File Information window, click Next to continue to proceed with the installation process.
6. The utility setup is now complete. Click Finish to restart the computer.
IB825 User’s Manual 45
DRIVERS INSTALLATIONS
VGA Drivers Installation
To install the VGA drivers, follow the steps below to proceed with the installation.
1. Insert the CD that comes with the board. Click Intel Chipsets and then
Intel(R) I945GM/GME/GSE Chipset Drivers. Then, click Intel(R) I945GM/GME/GSE Chipset Family Graphics Driver.
2. When the Welcome screen to the Setup Program appears, click Next to continue.
3. Click Yes to to agree with the license agreement and continue the installation process.
4. On Readme File Information screen, click Next to continue.
46
IB825 User’s Manual
DRIVERS INSTALLATIONS
5. In the Setup Progress screen, click Next to continue the installation.
6. Setup is now complete. Click Finish to restart the computer.
IB825 User’s Manual 47
DRIVERS INSTALLATIONS
Realtek High Definition Audio Driver Installation
Follow the steps below to install the Realtek AC97 Codec Audio Drivers.
1. Insert the CD that comes with the motherboard. Click Intel Chipsets and then Intel(R) I945GM/GME/GSE Chipset Drivers. Click Realtek
Audio Driver.
2. Click Realtek Audio Driver and then Realtek High Definition Codec Audio Driver
3. When the Welcome to the InstallShield Wizard to Realtek High Definition Audio Driver screen appears, click Next to continue.
4. Setup has finished installing Realtek High Definition Audio Driver on your computer. Click Finish to restart the computer.
48
IB825 User’s Manual
DRIVERS INSTALLATIONS
LAN Drivers Installation
Follow the steps below to install the Intel 82583V LAN Drivers.
1. Insert the CD that comes with the board. Click LAN Card and then Intel(R) PRO 82583V LAN Drivers.
2. In the Intel® Network Connections screen*, click Install Drivers and Software.
3. In the welcome screen of the InstallShield Wizard for Intel(R) Network Connections, click Next.
IB825 User’s Manual 49
DRIVERS INSTALLATIONS
50
IB825 User’s Manual
DRIVERS INSTALLATIONS
4. In the License Agreement, Select I accept the terms in the license agreement and click Next.
5. In the Setup Options, click the checkbox as shown below and click Next.
IB825 User’s Manual 51
DRIVERS INSTALLATIONS
6. In the InstallShield Wizard screen, click Install to begin the installation.
7. InstallShield Wizard is completed. Click Finish to exit the Wizard.
52
IB825 User’s Manual
APPENDIX
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
2B0h - 2DFh
Graphics adapter Controller
2E8h - 2EFh
Serial Port #4(COM4)
2F8h - 2FFh
Serial Port #2(COM2)
360h - 36Fh
Network Ports
3B0h - 3BFh
Monochrome & Printer adapter
3C0h - 3CFh
EGA adapter
3D0h - 3DFh
CGA adapter
3E8h - 3EFh
Serial Port #3(COM3)
3F8h - 3FFh
Serial Port #1(COM1)
Appendix
A. I/O Port Address Map
Each peripheral device in the system is assigned a set of I/O port addresses that also becomes the identity of the device. The following table lists the I/O port addresses used.
IB825 User’s Manual 53
APPENDIX
Level
Function
IRQ0
System Timer Output
IRQ1
Keyboard
IRQ2
Interrupt Cascade
IRQ3
Serial Port #2
IRQ4
Serial Port #1
IRQ5
Reserved
IRQ6
Reserved
IRQ7
Reserved
IRQ8
Real Time Clock
IRQ9
Reserved
IRQ10
Serial Port #4
IRQ11
Serial Port #3
IRQ12
PS/2 Mouse
IRQ13
80287
IRQ14
Primary IDE
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.
54
IB825 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 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:
File of the W627UHG.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 "W627UHG.H" #include <dos.h> //--------------------------------------------------------------------------­unsigned int W627UHG_BASE; void Unlock_W627UHG (void); void Lock_W627UHG (void); //--------------------------------------------------------------------------­unsigned int Init_W627UHG(void) { unsigned int result; unsigned char ucDid;
W627UHG_BASE = 0x4E; result = W627UHG_BASE;
ucDid = Get_W627UHG_Reg(0x20); if (ucDid == 0xA2) //W83627UHG?? { goto Init_Finish; }
W627UHG_BASE = 0x2E; result = W627UHG_BASE;
ucDid = Get_W627UHG_Reg(0x20); if (ucDid == 0xA2) //W83627UHG?? { goto Init_Finish; }
W627UHG_BASE = 0x00; result = W627UHG_BASE;
Init_Finish: return (result); } //--------------------------------------------------------------------------­void Unlock_W627UHG (void)
IB825 User’s Manual 55
APPENDIX
{ outportb(W627UHG_INDEX_PORT, W627UHG_UNLOCK); outportb(W627UHG_INDEX_PORT, W627UHG_UNLOCK); } //--------------------------------------------------------------------------­void Lock_W627UHG (void) { outportb(W627UHG_INDEX_PORT, W627UHG_LOCK); } //--------------------------------------------------------------------------­void Set_W627UHG_LD( unsigned char LD) { Unlock_W627UHG(); outportb(W627UHG_INDEX_PORT, W627UHG_REG_LD); outportb(W627UHG_DATA_PORT, LD); Lock_W627UHG(); } //--------------------------------------------------------------------------­void Set_W627UHG_Reg( unsigned char REG, unsigned char DATA) { Unlock_W627UHG(); outportb(W627UHG_INDEX_PORT, REG); outportb(W627UHG_DATA_PORT, DATA); Lock_W627UHG(); } //--------------------------------------------------------------------------­unsigned char Get_W627UHG_Reg(unsigned char REG) { unsigned char Result; Unlock_W627UHG(); outportb(W627UHG_INDEX_PORT, REG); Result = inportb(W627UHG_DATA_PORT); Lock_W627UHG(); return Result; } //---------------------------------------------------------------------------
56
IB825 User’s Manual
APPENDIX
File of the W627UHG.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 __W627UHG_H #define __W627UHG_H 1 //--------------------------------------------------------------------------­#define W627UHG_INDEX_PORT (W627UHG_BASE) #define W627UHG_DATA_PORT (W627UHG_BASE+1) //--------------------------------------------------------------------------­#define W627UHG_REG_LD 0x07 //--------------------------------------------------------------------------­#define W627UHG_UNLOCK 0x87 #define W627UHG_LOCK 0xAA //--------------------------------------------------------------------------­unsigned int Init_W627UHG(void); void Set_W627UHG_LD( unsigned char); void Set_W627UHG_Reg( unsigned char, unsigned char); unsigned char Get_W627UHG_Reg( unsigned char); //--------------------------------------------------------------------------­#endif //__W627UHG_H
IB825 User’s Manual 57
APPENDIX
File of the 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 <dos.h> #include <conio.h> #include <stdio.h> #include <stdlib.h> #include "W627UHG.H" //--------------------------------------------------------------------------­int main (void);
void WDTInitial(void); void WDTEnable(unsigned char); void WDTDisable(void);
//--------------------------------------------------------------------------­int main (void) { char SIO;
SIO = Init_W627UHG(); if (SIO == 0) {
.............................................. printf("Can not detect Winbond 83627UHG, program abort.\n");
................................................................................................................................... return(1);
}
WDTInitial();
WDTEnable(10);
WDTDisable();
return 0; } //--------------------------------------------------------------------------­void WDTInitial(void) { unsigned char bBuf;
Set_W627UHG_LD(0x08);................................................................. //switch to logic device 8
bBuf = Get_W627UHG_Reg(0x30); bBuf &= (~0x01);
Set_W627UHG_Reg(0x30, bBuf); ................................................................... //Enable WDTO
} //--------------------------------------------------------------------------­void WDTEnable(unsigned char NewInterval) { unsigned char bBuf;
Set_W627UHG_LD(0x08);........................................................................................................ //switch to logic device 8
Set_W627UHG_Reg(0x30, 0x01); ....................................................................... //enable timer
58
IB825 User’s Manual
APPENDIX
bBuf = Get_W627UHG_Reg(0xF5); bBuf &= (~0x08);
Set_W627UHG_Reg(0xF5, bBuf); ......................................................... //count mode is second
Set_W627UHG_Reg(0xF6, NewInterval); ................................................................. //set timer
} //--------------------------------------------------------------------------­void WDTDisable(void) {
Set_W627UHG_LD(0x08);........................................................................................................ //switch to logic device 8
Set_W627UHG_Reg(0xF6, 0x00);.......................................................... //clear watchdog timer
Set_W627UHG_Reg(0x30, 0x00); ............................................................................................. //watchdog disabled
} //---------------------------------------------------------------------------
IB825 User’s Manual 59
APPENDIX
D. Digital I/O Sample Code
File of the W627UHG.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 __W627UHG_H #define __W627UHG_H 1 //--------------------------------------------------------------------------­#define W627UHG_INDEX_PORT (W627UHG_BASE) #define W627UHG_DATA_PORT (W627UHG_BASE+1) //--------------------------------------------------------------------------­#define W627UHG_REG_LD 0x07 //--------------------------------------------------------------------------­#define W627UHG_UNLOCK 0x87 #define W627UHG_LOCK 0xAA //--------------------------------------------------------------------------­unsigned int Init_W627UHG(void); void Set_W627UHG_LD( unsigned char); void Set_W627UHG_Reg( unsigned char, unsigned char); unsigned char Get_W627UHG_Reg( unsigned char); //--------------------------------------------------------------------------­#endif //__W627UHG_H
60
IB825 User’s Manual
APPENDIX
File of the W627UHG.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 "W627UHG.H" #include <dos.h> //--------------------------------------------------------------------------­unsigned int W627UHG_BASE; void Unlock_W627UHG (void); void Lock_W627UHG (void); //--------------------------------------------------------------------------­unsigned int Init_W627UHG(void) { unsigned int result; unsigned char ucDid;
W627UHG_BASE = 0x4E; result = W627UHG_BASE;
ucDid = Get_W627UHG_Reg(0x20); if (ucDid == 0xA2) //W83627UHG?? { goto Init_Finish; }
W627UHG_BASE = 0x2E; result = W627UHG_BASE;
ucDid = Get_W627UHG_Reg(0x20); if (ucDid == 0xA2) //W83627UHG?? { goto Init_Finish; }
W627UHG_BASE = 0x00; result = W627UHG_BASE;
Init_Finish: return (result); } //--------------------------------------------------------------------------­void Unlock_W627UHG (void) { outportb(W627UHG_INDEX_PORT, W627UHG_UNLOCK); outportb(W627UHG_INDEX_PORT, W627UHG_UNLOCK); } //--------------------------------------------------------------------------­void Lock_W627UHG (void) { outportb(W627UHG_INDEX_PORT, W627UHG_LOCK); } //--------------------------------------------------------------------------­void Set_W627UHG_LD( unsigned char LD)
IB825 User’s Manual 61
APPENDIX
{ Unlock_W627UHG(); outportb(W627UHG_INDEX_PORT, W627UHG_REG_LD); outportb(W627UHG_DATA_PORT, LD); Lock_W627UHG(); } //--------------------------------------------------------------------------­void Set_W627UHG_Reg( unsigned char REG, unsigned char DATA) { Unlock_W627UHG(); outportb(W627UHG_INDEX_PORT, REG); outportb(W627UHG_DATA_PORT, DATA); Lock_W627UHG(); } //--------------------------------------------------------------------------­unsigned char Get_W627UHG_Reg(unsigned char REG) { unsigned char Result; Unlock_W627UHG(); outportb(W627UHG_INDEX_PORT, REG); Result = inportb(W627UHG_DATA_PORT); Lock_W627UHG(); return Result; } //---------------------------------------------------------------------------
62
IB825 User’s Manual
APPENDIX
File of the 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 <dos.h> #include <conio.h> #include <stdio.h> #include <stdlib.h> #include "W627UHG.H" //--------------------------------------------------------------------------­int main (void);
void Dio5Initial(void); void Dio5SetOutput(unsigned char); unsigned char Dio5GetInput(void); void Dio5SetDirection(unsigned char); unsigned char Dio5GetDirection(void); //--------------------------------------------------------------------------­int main (void) { char SIO;
SIO = Init_W627UHG(); if (SIO == 0) { printf("Can not detect Winbond 83627UHG, program abort.\n"); return(1); }
Dio5Initial();
//for GPIO50..57 Dio5SetDirection(0x0F); //GP50..53 = input, GP54..57=output printf("Current DIO direction = 0x%X\n", Dio5GetDirection());
printf("Current DIO status = 0x%X\n", Dio5GetInput());
printf("Set DIO output to high\n"); Dio5SetOutput(0x0F);
printf("Set DIO output to low\n"); Dio5SetOutput(0x00);
return 0;
IB825 User’s Manual 63
APPENDIX
} //--------------------------------------------------------------------------­void Dio5Initial(void) { unsigned char ucBuf;
Set_W627UHG_LD(0x08); //switch to logic device 8 //enable the GP5 group ucBuf = Get_W627UHG_Reg(0x30); ucBuf |= 0x02; Set_W627UHG_Reg(0x30, ucBuf); } //--------------------------------------------------------------------------­void Dio5SetOutput(unsigned char NewData) { Set_W627UHG_LD(0x08); //switch to logic device 8 Set_W627UHG_Reg(0xE1, NewData); } //--------------------------------------------------------------------------­unsigned char Dio5GetInput(void) { unsigned char result;
Set_W627UHG_LD(0x08); //switch to logic device 8 result = Get_W627UHG_Reg(0xE1); return (result); } //--------------------------------------------------------------------------­void Dio5SetDirection(unsigned char NewData) { //NewData : 1 for input, 0 for output Set_W627UHG_LD(0x08); //switch to logic device 8 Set_W627UHG_Reg(0xE0, NewData); } //--------------------------------------------------------------------------­unsigned char Dio5GetDirection(void) { unsigned char result;
Set_W627UHG_LD(0x08); //switch to logic device 8 result = Get_W627UHG_Reg(0xE0); return (result); } //---------------------------------------------------------------------------
64
IB825 User’s Manual
Loading...