This hardcopy is designed to be placed into a standard 3-ring binder. Provided below is a title block that
G
can be copied and cut out and placed into the slip or taped onto the edge of the binder.
iPAQ Internet Device
TR
Reader Feedback
Please feel free to send any questions, suggestions, corrections, or comments regarding this
document please to the following email address:
Desktop.training.feedback@Compaq.com
When responding, please state the title of the referenced document.
Technical Reference Guide
NOTICE
The information in this document is subject to change without notice.
COMPAQ COMPUTER CORPORATION SHALL NOT BE LIABLE FOR TECHNICAL OR
EDITORIAL ERRORS OR OMISSIONS HEREIN; NOR FOR INCIDENTAL OR
CONSEQUENTIAL DAMAGES RESULTING FROM THE FURNISHING, PERFORMANCE,
OR USE OF THIS MATERIAL. IT IS THE RESPONSIBILITY OF MANUFACTURERS TO
ENSURE THAT DEVICES DESIGNED TO BE USED WITH COMPAQ PRODUCTS
COMPLY WITH FCC CLASS B EMISSIONS REQUIREMENTS.
This guide contains information protected by copyright. Except for use as a reference for the
described Compaq product, no part of this document may be photocopied or reproduced in any
form without prior written consent from Compaq Computer Corporation.
2000 Compaq Computer Corporation
All rights reserved.
Compaq and the Compaq logo are regiserted in the U.S. Patent and Trademark Office.
iPAQ is a trademark of Compaq Information Technologies Group, L.P.
Microsoft, Windows, Windows NT, and other names of Microsoft products referenced herein are trademarks or registered
trademarks of Microsoft Corporation.
Intel and Pentiu m are registered trademarks of Intel Corporation. Celeron and MMX are trademarks of Intel Corporation.
Product names mentioned in this document may be trademarks and/or registered trademarks of other companies.
For more information regarding specifications and Compaq-specific parts please contact Compaq
Computer Corporation at http://www.compaq.com .
Technical Reference Guide
For the
Compaq iPAQ Internet Device
First Edition – March 2000
Document Number 127M-0300A-WWEN
This guide provides technical information about the Compaq iPAQ Family of Internet Devices.
This document includes information regarding system design, function, and features that can be
used by programmers, engineers, technicians, and system administrators.
This guide and any applicable addendum are available online at the following location:
The chapters of this guide primarily describe the hardware and firmware elements and primarily
deal with the system board and the power supply assembly. The appendices contain general
information about standard peripheral devices such as the keyboard.
1.1.2 ADDITIONAL INFORMATION SOURCES
For more information on chipset components mentioned in this guide refer to the indicated
manufacturers’ documentation, which may be available at the following online sources:
Standard Microsystems Corporation: http://www.smsc.com
1.2 MODEL NUMBERING CONVENTION
The model numbering convention for Compaq iPAQ units is as follows:
iPAQ/XNNN/Nb/N/NNN
Memory (in MB)
Operating system: 4 = Win NT 4.0; 9 = Win95/98
Chipset type (b = 810e)
Hard drive size (in GB)
Processor speed (in MHz)
Processor type: C = Celeron; P = Pentium
Compaq iPAQ Family of Internet Devices
1-1
First Edition - March 2000
Chapter 1 Introduction
1.3 NOTATIONAL CONVENTIONS
1.3.1 VALUES
Hexadecimal values are indicated by a numerical or alpha-numerical value followed by the letter
“h.” Binary values are indicated by a value of ones and zeros followed by the letter “b.”
Numerical values that have no succeeding letter can be assumed to be decimal.
1.3.2 RANGES
Ranges or limits for a parameter are shown using the following methods:
Example A:Bits <7..4> = bits 7, 6, 5, and 4.
Example B:IRQ3-7, 9 = IRQ signals 3 through 7, and IRQ signal 9
1.3.3 SIGNAL LABELS
Signal names are indicated using abbreviations, acronyms, or, if possible, the full signal name in
all capital letters. Signals that are meant to be active (asserted) low are indicated with a dash
immediately following the name.
1.3.4 REGISTER NOTATION AND USAGE
This guide uses standard Intel naming conventions in discussing the microprocessor’s (CPU)
internal registers. Registers that are accessed through programmable I/O using an indexing
scheme are indicated using the following format:
03C5.17h
Index port
Data port
In the example above, register 03C5.17h is accessed by writing the index port value 17h to the
index address (03C4h), followed by a write to or a read from port 03C5h.
1.3.5 BIT NOTATION
Bit values are labeled with bit <0> representing the least-significant bit (LSb) and bit <7>
representing the most-significant bit (MSb) of a byte. Bytes, words, double words, and quad
words are typically shown with most-significant portions on the left or top and the leastsignificant portions on the right or bottom respectively.
1-2
Compaq iPAQ Family of Internet Devices
First Edition – March 2000
1.4 COMMON ACRONYMS AND ABBREVIATIONS
Table 1-1 lists the acronyms and abbreviations used in this guide.
Technical Reference Guide
Table 1–1.
Acronyms and Abbreviations
Table 1-1.
Acronyms and Abbreviations
Acronym/AbbreviationDescription
Aampere
ACalternating current
ACPIAdvanced Configuration and Power Interface
A/Danalog-to-digital
AGPAccelerated graphics port
APIapplication programming interface
APMadvanced power management
AOLAlert-ON-LAN
ASICapplication-specific integrated circuit
AT1) attention (modem commands) 2) 286-based PC architecture
ATAAT attachment (IDE protocol)
ATAPIAT attachment w/packet interface extensions
AVIaudio-video interleaved
AVGAAdvanced VGA
BATBasic assurance test
BCDbinary-coded decimal
BIOSbasic input/output system
bissecond/new revision
BitBLTbit block transfer
BNCBayonet Neill-Concelman (connector)
bps or b/sbits per second
BSPBootstrap processor
BTOBuilt to order
CAScolumn address strobe
CDcompact disk
CD-ROMcompact disk read-only memory
CDScompact disk system
CFcarry flag
CGAcolor graphics adapter
Chchannel
cmcentimeter
CMCcache/memory controller
CMOScomplimentary metal-oxide semiconductor (configuration memory)
Cntlrcontroller
Cntrlcontrol
codec compressor/decompressor
CPQCompaq
CPUcentral processing unit
CRTcathode ray tube
CSMCompaq system management / Compaq server management
CTOConfigure to order
DAAdirect access arrangement
DACdigital-to-analog converter
DCdirect current
DCHDOS compatibility hole
DDCDisplay Data Channel
DFdirection flag
Continued
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
1-3
Chapter 1 Introduction
Table 1-1.
Acronym/AbbreviationDescription
DIMMdual inline memory module
DINDeutche IndustriNorm (connector standard)
DIPdual inline package
DMAdirect memory access
DMIDesktop management interface
dpidots per inch
DRAMdynamic random access memory
DRQdata request
EDIDextended display identification data
EDOextended data out (RAM type)
EEPROMelectrically eraseable PROM
EGAenhanced graphics adapter
EIAElectronic Industry Association
EISAextended ISA
EPPenhanced parallel port
EIDEenhanced IDE
ESCDExtended System Configuration Data (format)
EVEnvironmental Variable (data)
ExCAExchangeable Card Architecture
FIFOfirst in / first out
FLflag (register)
FMfrequency modulation
FPMfast page mode (RAM type)
FPUFloating point unit (numeric or math coprocessor)
FPSFrames per second
ftfoot
GBgigabyte
GMCHGraphics/memory controller hub
GNDground
GPIOgeneral purpose I/O
GPOCgeneral purpose open-collector
GARTGraphics address re-mapping table
GUIgraphics user interface
hhexadecimal
HWhardware
hexhexadecimal
Hzhertz
ICHI/O controller hub
IDEintegrated drive element
IEEEInstitute of Electrical and Electronic Engineers
IFinterrupt flag
I/Finterface
ininch
INTinterrupt
I/Oinput/output
IPLinitial program loader
IrDAInfraRed Data Association
IRQinterrupt request
ISAindustry standard architecture
JEDECJoint Electron Device Engineering Council
Kb / KBkilobits / kilobytes (x 1024 bits / x 1024 bytes)
Kb/skilobits per second
kgkilogram
KHzkilohertz
kvkilovolt
Acronyms and Abbreviations
Continued
Continued
1-4
Compaq iPAQ Family of Internet Devices
First Edition – March 2000
Technical Reference Guide
Table 1-1.
Acronym/AbbreviationDescription
lbpound
LANlocal area network
LCDliquid crystal display
LEDlight-emitting diode
LIFlow insertion force (socket)
LPCLow pin count
LSIlarge scale integration
LSb / LSBleast significant bit / least significant byte
LUNlogical unit (SCSI)
MCHMemory controller hub
MMXmultimedia extensions
MPEGMotion Picture Experts Group
msmillisecond
MSb / MSBmost significant bit / most significant byte
muxmultiplex
MVAmotion video acceleration
MVWmotion video window
n
NICnetwork interface card/controller
NiCadnickel cadmium
NiMHnickel-metal hydride
NMInon-maskable interrupt
NRZINon-return-to-zero inverted
nsnanosecond
NTnested task flag
NTSCNational Television Standards Committee
NVRAMnon-volatile random access memory
OEMoriginal equipment manufacturer
OSoperating system
PAL1. programmable array logic 2. phase altering line
PCInternet Device
PCIperipheral component interconnect
PCMpulse code modulation
PCMCIAInternet Device Memory Card International Association
PFparity flag
PINpersonal identification number
PIOProgrammed I/O
POSTpower-on self test
PROMprogrammable read-only memory
PTRpointer
RAMrandom access memory
RASrow address strobe
rcvrreceiver
RFresume flag
RGBred/green/blue (monitor input)
RHRelative humidity
RIMMRDRAM inline memory module
RMSroot mean square
ROMread-only memory
RPMrevolutions per minute
RTCreal time clock
R/Wread/write
Acronyms and Abbreviations
variable parameter/value
Continued
Continued
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
1-5
Chapter 1 Introduction
1-6
Compaq iPAQ Family of Internet Devices
First Edition – March 2000
Technical Reference Guide
Table 1-1.
Acronym/AbbreviationDescription
SCSIsmall computer system interface
SDRAMSynchronous Dynamic RAM
SECSingle Edge-Connector
SECAMsequential colour avec memoire (sequential color with memory)
SFsign flag
SGRAMSynchronous Graphics RAM
SIMDSingle instruction multiple data
SIMMsingle in-line memory module
SITsystem information table
SMARTSelf Monitor Analysis Report Technology
SMIsystem management interrupt
SMMsystem management mode
SMRAMsystem management RAM
SPDserial presence detect
SPPstandard parallel port
SRAMstatic RAM
SSEStreaming SIMD extensions
STNsuper twist pneumatic
SVGAsuper VGA
SWsoftware
TADtelephone answering device
TAFITemperature-sensing And Fan control Integrated circuit
TAMtelephone answering machine
TCPtape carrier package
TFtrap flag
TFTthin-film transistor
TIATelecommunications Information Administration
TPEtwisted pair ethernet
TPItrack per inch
TTLtransistor-transistor logic
TVtelevision
TXtransmit
UARTuniversal asynchronous receiver/transmitter
UDMAUltra DMA
URLUniform resource locator
us / µsmicrosecond
USBUniversal Serial Bus
UTPunshielded twisted pair
Vvolt
VESAVideo Electronic Standards Association
VGAvideo graphics adapter
vibvibrato
VLSIvery large scale integration
VRAMVideo RAM
Wwatt
WOLWake on LAN
WRAMWindows RAM
ZFzero flag
ZIFzero insertion force (socket)
Acronyms and Abbreviations
Continued
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
1-7
Chapter 2
SYSTEM OVERVIEW
2.Chapter 2 SYSTEM OVERVIEW
2.1 INTRODUCTION
The Compaq iPAQ Family of Internet Devices provides affordable business solutions with the
focus on internet access and mainstream performance. Based on an Intel Celeron or Pentium III
processor with the Intel 810e chipset, these systems are designed to maximize the effectiveness of
internet and intranet usage while simplifying system management.
Technical Reference Guide
Figure 2–1.
This chapter includes the following topics:
♦
Features and options (2.2)page 2-2
♦
Mechanical design (2.3)page 2-4
♦
System architecture (2.4)page 2-8
♦
Specifications (2.5)page 2-13
Compaq iPAQ Family of Internet Devices
Compaq iPAQ Internet Device with Monitor
First Edition - March 2000
2-1
Chapter 2 System Overview
2.2 FEATURES AND OPTIONS
This section describes the standard features and available options.
2.2.1 STANDARD FEATURES
The following standard features are available on all models:
♦
Celeron or Pentium III processor
♦
810e Chipset
♦
Two DIMM sockets for system memory
♦
AC’97 audio subsystem w/Compaq Premier Sound and front panel mic and headphone jacks
♦
MuliBay device mount w/hot-swap support
♦
Extended IDE controller supporting UATA/66 mode
♦
Hard drive fault prediction
♦
Two USB ports on front panel
♦
Network interface controller
♦
VGA analog output (1600 x 1200 max resolution)
♦
APM 1.2 power management support
♦
Plug ’n Play compatible (with ESCD support)
♦
Intelligent Manageability support
♦
Energy Star compliant
♦
Security features including:
•
Setup and power-on passwords
•
DriveLock for MultiBay hard drive
•
I/O interface disabling
•
Administrator password
•
Network service boot
•
Asset tracking tag
•
UUID
•
Cable lock provision
♦
Compaq Easy-Access keyboard w/Windows support
♦
Mouse
Table 2-1 shows the differences in features between the iPAQ models:
Table 2-1.
4-MB Display cacheNoYesNoYes
Rear panel USB ports3300
Serial port0011
Parallel port0011
Keyboard/mouse connectionUSBUSBPS/2PS/2
The Compaq iPAQ Internet Device uses a minitower form factor featuring a smaller footprint
and reduced height than previous minitowers, allowing easy floor or desktop positioning.
Commonly used audio and USB connections are accessible from the front panel. There are slight
differences between the legacy-light and legacy-free models, most notably in the rear panel
layouts.
NOTE:
For detailed information on servicing the Internet Device refer to the applicable
Maintenance and Service Guide.
2.3.1 CABINET LAYOUTS
2.3.1.1 Front View
1
4
7
2
3
5
6
ItemDescription
1Power Button
2Power LED
3Hard drive activity LED
4MultiBay device bay (accepts 5.25”/12.7 mm storage device)
5Microphone In Jack
6Headphone Out Jack
7USB port 3 jack
8USB port 4 jack
Figure 2–2.
2-4
Compaq iPAQ Family of Internet Devices
Compaq iPAQ Internet Device, Front View
8
First Edition – March 2000
2.3.1.2 Rear Views
Technical Reference Guide
1
3
5
7
11
13
ItemDescriptionItemDescription
1Audio line output2Audio line input
3Network activity LED indicator4Network I/F jack
5Network speed LED indicator6VGA monitor connector
7Parallel I/F connector8Serial I/F connector
9USB port connectors (left-to-right; 0,1, 2)10MultiBay device eject button
11PS/2 mouse connector12PS/2 keyboard connector
13AC line in connector14Line voltage select switch
2
4
6
8
10
12
14
13
1
3
5
9
2
4
6
10
14
Legacy-FreeLegacy-Light
Figure 2–3.
Compaq iPAQ Internet Device, Rear Views
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
2-5
Chapter 2 System Overview
2.3.2 CHASSIS LAYOUT
The internal assemblies are accessible from the right side of the system unit. The right side
(carbon-colored) cover is easily removable allowing quick access to the DIMM sockets through
an access opening and to the hard drive. Access to the system board and processor requires
removing the right chassis access panel.
NOTE:
For a detailed description on servicing the unit refer to the applicable
Compaq iPAQ Internet Device Chassis Layout, Ride Side View
First Edition – March 2000
2.3.3 SYSTEM BOARD LAYOUTS
The Compaq iPAQ Internet Device uses a FlexATX-type (9.0 x 7.5 inch) system board. Two
variations are available; a legacy-light board and a legacy-free board.
Technical Reference Guide
124
22
21
20
19
18
171516
Legacy Light (PCA# 161014)
Refer to Chapter 7 “Power and Signal Distribution” for header pinouts.
NOTE:
3
ItemDescription
1USB ports 3 and 4 (front panel) header
2Battery
3BIOS ROM configuration jumper
4Speaker connector
5Audio microphone/headphone header
6Audio line out jack
7Audio line in jack
8Network connector
The Compaq iPAQ Internet Device features an Intel Celeron or Pentium III processor and the
810e chipset. As indicated in the following table and shown in Figure 2-6, four architectural
configurations are available:
♦
Legacy-free with Celeron processor
♦
Legacy-free with Pentium III processor
♦
Legacy-light with Celeron processor
♦
Legacy-light with Pentium III processor
Legacy-free systems provide five Universal Serial Bus (USB) ports for connecting peripherals
(including the supplied USB mouse and USB keyboard). Legacy light systems provide two USB
ports along with the traditional PS/2 connectors for the supplied mouse and keyboard as well as
parallel and serial port connectors.
All systems use the 810e chipset. The 810e chipset includes the 82810e-DC100 GMCH designed
to provide control for SDRAM and also integrates an AGP 2X graphics controller. Pentium IIIbased systems come with an additional 4-MB display cache to compliment the graphics
controller.
The 810e chipset also includes an 82801 I/O Controller Hub (ICH) that provides two IDE
interfaces, two USB interfaces, and a PCI bus controller. The 82802 Firmware Hub (FWH)
component is loaded with Compaq BIOS
Table 2-1 lists differences between system architectures:
4-MB Display Cache?NoYesNoYes
PS/2 Mouse/Keyboard?NoNoYesYes
Serial port?NoNoYesYes
Parallel port?NoNoYesYes
# of USB ports5522
NOTES:
[1] As configured with 500-MHz processor.
Legacy FreeLegacy Light
2-8
Compaq iPAQ Family of Internet Devices
First Edition – March 2000
Celeron or
y
gacy
y
Pentium III
Processor
66-/100-/133- MHz FSB
Technical Reference Guide
Displa
Monitor
4-MB
Cache
Hard Drive
MultiBay
Subsystem
IDE
Device
Audio
RGB
AGP
2X
Cntlr.
Pri.
IDE I/F
Sec.
IDE I/F
Beep
Audio
AC’97
Audio Bus
810e Chipset
82810e-DC100
GMCH
Hub Link
Bus
82801
ICH
82802
FWH
33-MHz
32-Bit PCI Bus
82559
Ethernet
Controller
SDRAM
Cntlr.
USB
I/F
PC100
Memory
Bus
LPC
Bus
SDRAM
System
Memory
USB
Port 0
LPC47B277 I/O Controller
Serial
I/F
Power
Supply
USB
Port 1
Keyboard/
Mouse I/F
Parallel
I/F
USB
Port 2
USB Hub
USB
Port 3
USB
Port 4
..................
LEGEND:
Legacy-light systems only.
-free systems only.
Le
Pentium III-based s
Figure 2–6.
Compaq iPAQ Architecture, Block diagram
Compaq iPAQ Family of Internet Devices
stems only.
2-9
First Edition - March 2000
Chapter 2 System Overview
2.4.1 PROCESSORS
The Compaq iPAQ family includes models based on Celeron and Pentium III processors. These
processors are backward-compatible with software written for the Pentium II, Pentium MMX,
Pentium Pro, Pentium, and x86 microprocessors. Both processor architectures include a floatingpoint unit and first and secondary caches providing enhanced performance for multimedia
applications.
2.4.1.1 Celeron Processor
Select Compaq iPAQ systems use the Intel Celeron processor. The Celeron processor provides
economical performance and is compatible with software written for previous generation
processors such as Pentium II, Pentium MMX, Pentium, and x86 processors. Featuring a
Pentium-type core architecture, the Celeron processor integrates a dual-ALU CPU with a
floating-point unit, 32-KB first-level cache, and 128-KB second level cache, all of which operate
at full processing (CPU) speed. The Celeron processor includes MMX technology for enhanced
multimedia performance.
The Celeron processor uses a PGA370 package with a heat sink.
2.4.1.2 Pentium III Processor
The Intel Pentium III processor used on select systems represents the maximum performance
processor for Compaq iPAQs. The Pentium III processor is compatible with software written for
Celeron, Pentium II, Pentium MMX, Pentium, and x86 processors.
The Pentium III processor core integrates a dual-ALU CPU with a floating-point unit and 32-KB
first-level cache operating at processing (CPU) speed. Featuring .18-micron technology, the
Pentium III processor features 256 kilobytes of secondary cache included on the CPU die and
operating at full processor speed.
The Pentium III processor includes MMX technology for enhanced multimedia performance.
Also included are 70 additional streaming SIMD extensions (SSE) for enhancing 3D graphics
and speech processing performance and a serial number function useful for asset tracking.
The Pentium III processor employed in these systems uses a Flip-Chip (FC) PGA370 package
and heat sink.
2-10
Compaq iPAQ Family of Internet Devices
First Edition – March 2000
2.4.1.3 Processor Upgrading
All models of the Compaq iPAQ use the PGA370 zero-insertion force (ZIF) socket for processor
mounting as shown in Figure 2-7. Raising the Lock/Unlock handle of the socket in the vertical
position allows the processor to be removed or inserted into the socket. Lowering the
Lock/Unlock handle in the down (horizontal) position locks the processor in place. Factory
configurations use processors fitted with passive heat sinks. Upgrade (boxed) processors may be
fitted with a heat sink/fan assembly with a power cable that attaches to the fan power header
provided on the system board.
Technical Reference Guide
Heat Sink
Processor
PPGA370
Socket
Lock/Unlock
Figure 2–7.
Heat Sink
Retaining Clip
Handle
Processor Assembly and Mounting
The processor clock frequency is automatically set by chipset logic, eliminating the need for
setting DIP switches when upgrading the processor.
WARNING:
!
of 18 amps. Installing a replacement processor that draws more than 18 amps of current
The system board is designed handle a maximum processor current load
may damage the processor and/or the system board.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
2-11
Chapter 2 System Overview
2.4.2 CHIPSET
The Compaq iPAQ employs the Intel 810e chipset, which is designed to compliment the
processor and provide the central point for the system’s data transactions.
The chipset is composed of a graphics memory controller hub (GMCH), an I/O controller hub
(ICH), and a firmware hub (FWH). Table 2-3 shows the functions provided by the components of
the chipset.
Table 2-3.
Intel 810eChipset Comparison
Table 2-3.
Intel 810e Chipset Components
Component TypeFunction
82810e-DC100 Graphics/Memory
Controller Hub(GMCH)
82801AA I/O Controller Hub (ICH)LPC bus I/F
82802 Firmware Controller Hub (FWH)Loaded with Compaq BIOS
SMBus I/F
IDE I/F with UATA/66 support
AC ’97 audio controller
RTC/CMOS
IRQ controller
Power management logic
USB I/F (2)
Random number generator
2-12
Compaq iPAQ Family of Internet Devices
First Edition – March 2000
2.4.3 SUPPORT COMPONENTS
Input/output functions not provided by the chipset are handled by other support components.
Some of these components also provide “housekeeping” and various other function s as well.
Table 2-4 shows the functions provided by the support components.
Technical Reference Guide
Table 2-4.
Support Component Functions
Table 2-4.
Support Component Functions
Component NameFunctionNotes
LPC47B277 I/O ControllerKeyboard and pointing device I/F
[1] Implemented on legacy-light models only.
[2] Not available for actual use but may be enabled to satisfy OS requirements.
Diskette I/F
Serial I/F
Parallel I/F
AGP, PCI reset generation
ISA serial IRQ converter
Power button logic
Slow speed detection
S3 regulator controller
GPIO ports
Digital-to-analog converter
Analog-to-digital converter
Analog I/O:
Mic input
Line input
CD input
Line output
PHY interface
[1]
[2]
[1]
[1]
2.4.4 SYSTEM MEMORY
These systems utilize Synchronous DRAM (PC100 SDRAM, non-ECC only). Two DIMM
sockets are provided and accessible through an access opening once the right side cover has been
removed.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
2-13
Chapter 2 System Overview
2.4.5 MASS STORAGE
In a standard configuration the Compaq iPAQ supports two mass storage devices; one internal
IDE hard drive mounted on the right side and a removeable-media IDE device (CD-ROM, DVD,
or LS-120 Power Drive, etc.) mounted in the MultiBay on the left side. This system uses SMART
drives for the internal IDE device. An adapter is available that allows a secondary IDE hard drive
to be installed in the MultiBay. The MultiBay supports hot-swapping of mass storage devices
except for hard drives
drives, providing enhanced security for removeable hard drives.
. The Compaq iPAQ supports the DriveLock feature for MultiBay hard
2.4.6 SERIAL AND PARALLEL INTERFACES
The legacy-light models include a serial port and a parallel port accessible at the rear of the
chassis. The serial port is RS-232-C/16550-compatible and supports standard baud rates up to
115,200 as well as two high-speed baud rates of 230K and 460K , and utilize a DB-9 connector.
The parallel interface is Enhanced Parallel Port (EPP1.9) and Enhanced Capability Port (ECP)
compatible, and supports bi-directional data transfers through a DB-25 connector. These
interfaces may be disabled through Setup for enhanced security
2.4.7 UNIVERSAL SERIAL BUS INTERFACE
Legacy-light models feature two front panel-accessible Universal Serial Bus (USB) ports that
provide a 12Mb/s interface for peripherals. Legacy-free models also include three additional USB
ports on the rear panel to accommodate the USB keyboard and mouse supplied with those
models. The USB provides hot plugging/unplugging (Plug ’n Play) functionality.
2.4.8 GRAPHICS SUBSYSTEM
All models use the graphics controller integrated into the 82810e/DC-100 GMCH component of
the 810e chipset. This graphics controller is the equivalent of the Intel i740 controller and
provides up to 1600 x 1200 2D resolution using the AGP 2X interface. Pentium III-based systems
also include 4 megabytes of local display cache for higher 3D performance.
2-14
Compaq iPAQ Family of Internet Devices
First Edition – March 2000
2.4.9 AUDIO SUBSYSTEM
The audio subsystem features an AC’97 specification-based design and uses the integrated AC97
audio controller of the chipset and an AC’97-compliant audio codec. Microphone and
headphone jacks are accessible on the front panel and line input and output jacks are provided on
the rear panel. A low-distortion 5-watt amplifier drives a long-excursion speaker for optimum
sound.
2.5 SPECIFICATIONS
This section includes the environmental, electrical, and physical specifications for the Compaq
iPAQ Series Internet Devices. Where provided, metric statistics are given in parenthesis. All
specifications subject to change without notice.
Technical Reference Guide
Table 2-5.
Environmental Specifications
Table 2-5.
Environmental Specifications
ParameterOperatingNonoperating
Air Temperature50
ShockN/A60.0 g for 2 ms half-sine pulse
Vibration0.000215g^ 2/Hz, 10-300 Hz [1]0.0005g^ 2/Hz, 10-500 Hz [1]
Humidity90% RH @ 36
Maximum Altitude10,000 ft (3048 m)30,000 ft (9,144 m)
NOTE:
Table 2-6.
[1] 0.5 grms nominal
Electrical Specifications
o
to 95o F (10o to 35o C)-24o to 140o F (-30o to 60o C)
o
C (no hard drive)95% RH @ 36o C
Table 2-6.
Electrical Specifications
ParameterU.S.International
Input Line Voltage:
Nominal:
Maximum:
Input Line Frequency Range:
Nominal:
Maximum:
Power Supply:
Maximum Continuous Power
Maximum Line Current Draw
110 - 120 VAC
90 - 132 VAC
50 - 60 Hz
47 - 63 Hz
90 watts
2.5 amps
200 - 240 VAC
180 - 264 VAC
50 - 60 Hz
47 - 63 Hz
90 watts
1.25 amps
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
2-15
Chapter 2 System Overview
Table 2-7.
Physical Specifications
Table 2-7.
Physical Specifications
ParameterStandardMetric
Height11.80 in29.97 cm
Width5.66 in14.38 cm
Depth9.44 in23.98 cm
Weight10.7 lb4.8 kg
Table 2-8.
MultiBay 24x CD-ROM Drive Specifications
Table 2-8.
MultiBay 24x CD-ROM Drive Specifications
(SP# 161685-B21)
ParameterMeasurement
Interface Type / ProtocolIDE / ATAPI
Transfer Rate:
Max. Sustained
Burst
Media TypeMode 1,2, Mixed Mode, CD-DA,
Capacity:
Mode 1, 12 cm
Mode 2, 12 cm
8 cm
Center Hole Diameter15 mm
Disc Diameter8/12 cm
Disc Thickness1.2 mm
Track Pitch1.6 um
Laser
Beam Divergence
Output Power
Type
Wave Length
Average Access Time:
Random
Full Stroke
Audio Output Level0.7 Vrms
Cache Buffer128 KB
3.6 MB/s
16.6 MB/s
Photo CD, Cdi, CD-XA
550 MB
640 MB
180 MB
53.5 +/- 1.5
53.6 0.14 mW
790 +/- 25 nm
140 ms
300 ms
°
GaAs
2-16
Compaq iPAQ Family of Internet Devices
First Edition – March 2000
Technical Reference Guide
Table 2-9.
MultiBay 24x CD-ROM Drive Specifications
Table 2-9.
MultiBay 4x DVD-ROM Drive Specifications
(SP# 161685-B21)
ParameterMeasurement
Interface Type / ProtocolIDE / ATAPI
Transfer Rate:
Max. Sustained (off disk)
Data Bus Burst
Media TypesDVD (single/double layer),
CD-ROM Modes 1 or 2, CD-DA,
Capacity:
Mode 1, 12 cm
Mode 2, 12 cm
8 cm
Center Hole Diameter15 mm
Disc Diameter8 or 12 cm
Disc Thickness1.2 mm
Track Pitch1.6 um
Average Access Time:
DVD:
Random
Full Stroke
CD:
Random
Full stroke
Audio Output Level0.7 Vrms
Cache Buffer512 KB
5.41 MB/s
16.6 MB/s
DVD-5, DVD-9, DVD-10,
Photo CD, Cdi, CD-XA
550 MB
640 MB
180 MB
<170 ms
<280 ms
<130 ms
<225 ms
Table 2-10.
Hard Drive Specifications
Table 2-10.
Hard Drive Specifications
Parameter4.3 GB6.0 GB [1]8.4 GB
P/N158738161684158739
Interface / Protocol TypeIDE / UATA-4IDE / UATA-4IDE / UATA-4
Drive Type656565
Drive Size3.5/5.25 in2.5/5.25 in5.25 in
Interface Transfer Rate (max.)66.6 MB/s66.6 MB/s66.6 MB/s
Max. Seek Time (w/settling)
Single Track
Average
Full Stroke (max)
Disk Format (logical):
# of Cylinders
# of Data Heads
# of Sectors per Track
Rotation Speed5400 RPM4200 RPM5400 RPM
Drive Fault PredictionSMART IISMART IISMART III
NOTE:
[1] For use in MultiBay.
2.0 ms
9.5 ms
19.0 ms
8419
15
63
4.0 ms
12.0 ms
23.0 ms
13424
15
63
4.75 ms
14.9 ms
27 ms
16383
16
63
Compaq iPAQ Family of Internet Devices
2-17
First Edition - March 2000
Chapter 2 System Overview
This page is intentionally blank.
2-18
Compaq iPAQ Family of Internet Devices
First Edition – March 2000
Chapter 3
PROCESSOR/
MEMORY SUBSYSTEM
3.
3.1 INTRODUCTION
Chapter 3 PROCESSOR/MEMORY SUBSYSTEM
This chapter describes the processor/cache memory subsystem of the Compaq iPAQ Internet
Device featuring a Celeron or Pentium III processor and the 810e chipset (Figure 3-1). The 810e
chipset supports up to two SDRAM DIMMs and integrates an i740 3D graphics controller
(covered in Chapter 6).
Processor
64-Bit FSB
Cntl
System Memory
J1
32-MB
DIMM
In
Socket
Technical Reference Guide
J2
Socket
FSB I/F
i740
Graphics
Cntlr.
May be populated with optional DIMM
Covered in Chapter 6
Covered in Chapter 4
Figure 3–1.
82810e-DC100
GMCH
Hub I/F
SDRAM
Cntlr.
Processor/Memory Subsystem Architecture
This chapter includes the following topics:
♦
Processor [3.2]page 3-2
♦
Memory subsystem [3.3]page 3-5
♦
Subsystem configuration {3.4] page 3-8
100-MHz
Memory Bus
Compaq iPAQ Family of Internet Devices
3-1
First Edition - March 2000
Chapter 3 Processor/Memory Subsystem
3.2 PROCESSOR
The Compaq iPAQ is configured as either a Celeron-based or Pentium III-based system.
3.2.1 CELERON PROCESSOR
The Celeron processor (Figure 3-2) uses a dual-ALU CPU with branch prediction and MMX
support, floating point unit (FPU) for math coprocessing, a 32-KB primary (L1) cache, and a
128-KB secondary (L2) cache. All internal functions, except for the front side bus interface (FSB
I/F), operate at processor speed.
Celeron Processor
CPU
Core processing speedHost bus speed
Figure 3–2.
Celeron Processor Internal Architecture
FPU
FSB
I/F
32-KB
L1
Cache
128-KB
L2
Cache
The Celeron processor is software-compatible with earlier generation Pentium II, Pentium MMX,
Pentium, and x86 processors. The MMX support provided by the Celeron consists of 57 special
instructions for accelerating multimedia communications applications. Such applications often
involve computing-intensive loops that can take up as much as 90 percent of the CPU’s execution
time. Using a parallel-processing technique called single-instruction multiple-data (SIMD),
MMX logic processes data 64 bits at a time. Specific applications that can benefit from MMX
technology include 2D/3D graphics, audio, speech recognition, video codecs, and data
compression.
The Celeron-based systems ship with a Celeron 500 installed. The 82810-DC100 GMCH
supports the processors listed in the following table:
The Pentium III processor’s architecture (Figure 3-3) includes the same core functionality as
described previously for the Celeron processor but includes a larger L2 cache and additional
processing features.
Technical Reference Guide
Pentium III 500E
CPU
Full processing speedHost bus speed
Figure 3–3.
Table 3–2.
Pentium III Processor Internal Architecture
Pentium III Processor Statistical Comparison
FPU
FSB
I/F
32-KB
L1
Cache
256-KB
L2
Cache
or
Table 3-2.
Pentium III Processor Statistical Comparison
Processor
Pentium III 500E500 MHz256 KB @ 500 MHz1.60 VDC100 MHz
Pentium III 533533 MHz512 KB @ 266 MHz2.00 VDC100 MHz
Pentium III 533B533 MHz512 KB @ 266 MHz2.05 VDC133 MHz
Pentium III 533EB533 MHz256 KB @ 533 MHz1.65 VDC133 MHz
Pentium III 550550 MHz512 KB @ 275 MHz2.00 VDC100 MHz
Pentium III 550E550 MHz256 KB @ 550 MHz1.60 VDC100 MHz
Pentium III 600600 MHz512 KB @ 300 MHz2.05 VDC100 MHz
Pentium III 600B600 MHz512 KB @ 300 MHz2.05 VDC133 MHz
Pentium III 600E600 MHz256 KB @ 600 MHz1.65 VDC100 MHz
Pentium III 600EB600 MHz256 KB @ 600 MHz1.65 VDC133 MHz
Pentium III 667667 MHz256 KB @ 667 MHz1.65 VDC133 MHz
Pentium III 700700 MHz256 KB @ 700 MHz1.65 VDC100 MHz
Pentium III 733733 MHz256 KB @ 733 MHz1.65 VDC133 MHz
CPU/L1
Speed
L2
Size / Speed
Core
Voltage
FSB
Speed
The Pentium III processor is software-compatible with Celeron, Pentium II, Pentium MMX,
Pentium, and x86 processors. The Pentium III processor also features 70 FPU-based streaming
SIMD extensions (SSE) that, when implemented by appropriate software, can enhance 3D
transforming and speech processing operations. Operating system requirements for SSE support
are as follows:
Operating SystemLevel of SSE Support
Windows 95No SSE support
Windows 98, OSR0 SSE support though ISV and OpenGL 6.1 applications only
Windows 98, OSR1SSE support though ISV, OpenGL, and DirectX applications
Windows 2000SSE support with ISV, OpenGL, and DirectX applications
Windows NT 4.0SSE support requires driver and Service Pack 4 (SP5 recommended)
Compaq iPAQ Family of Internet Devices
3-3
First Edition - March 2000
Chapter 3 Processor/Memory Subsystem
3.2.3 PROCESSOR UPGRADING
All units use the PGA370 ZIF mounting socket and ship with either a Celeron 500E or a Pentium
III 500E installed. To replace the processor, use the following procedure:
1. Power down the system and disconnect the power cord.
2. Remove the right outer (carbon) panel.
3. Disconnect and remove the hard drive.
4. Remove the right chassis access panel.
5. After insuring that you have been properly grounded, remove the heatsink retaining clip and
then the heatsink itself.
6. Lift the release arm of the PGA370 socket to the upright position.
7. Lift the processor package from the socket.
Replacement of the new processor is a reversal of steps 1-7. The use of “boxed” processors may
also require the connection of a power cable from the processor’s heatsink-mounted fan to a
header on the system board. When replacing the processor it is recommended that the
replacement processor be of the same family as the existing processor (i.e., Celeron for Celeron,
or Pentium for Pentium).
WARNING: Upgrading to a faster processor is possible provided that the new
!
processor does not draw more than 18 amps of current. Using a processor that
draws in excess of 18 amps may create a thermal condition and damage the system
board
The processor core voltage and operating frequency are automatically set early in power cycle
process. No DIP switch settings are involved in replacing the processor.
3-4
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
3.3 MEMORY SUBSYSTEM
The 810e chipset supports PC100 SDRAM for system memory. The memory interface consists of
a 64-bit data bus operating at 100 MHz providing a maximum throughput rate of 800 MB/s. The
system board provides two 168-pin SDRAM DIMM sockets that accommodate single- or doublesided DIMMs.
If using memory modules from third party suppliers the following DIMM type is recommended:
100-MHz unbuffered RAM supporting CAS latency (CL) 2 or 3 with a data access time
(clock-to-data out) of 9.0 ns or less @ CL=2 or CL=3
This system is designed for using non-ECC DIMMs only
Technical Reference Guide
.
.
NOTE:
The 82810/82810e GMCH performs memory accesses at 100 MHz regardless of
the FSB frequency.
The RAM type and operating parameters are detected during POST by the system BIOS using the
serial presence detect (SPD) method. This method employs an I
2
C bus to communicate with an
EEPROM on each installed DIMM. The EEPROM holds the type and operating parameter data.
The supported format complies with the JEDEC specification for 128-byte EEPROMs. This
system also provides support for 256-byte EEPROMs to include additional Compaq-added
features such as part number and serial number. The SPD format as supported in this system is
shown in Table 3-3.
The key SPD bytes that BIOS checks for compatibility are 2, 9, 10, 18, 23, and 24.
If BIOS
detects EDO DIMMs a “memory incompatible” message will be displayed and the system
will halt.
If ECC DIMMs are used, all DIMMs installed must be ECC for ECC benefits (error
logging) to be realized.
Once BIOS determines the DIMM type the DRAM speed and CAS latency is checked based on
the following criteria:
Access
from
Bus SpeedCycle Time
Clock
100 MHz 10 ns 6 ns @ 50 pf loading
NOTE:
Refer to chapter 8 for a description of the BIOS procedure of interrogating
DIMMs.
Only CAS latencies of 2 or 3 are supported. If DIMMs with unequal CAS latencies are installed
then operation will occur based on the DIMM with the greatest latency.
If an incompatible DIMM is detected the NUM LOCK will blink for a short period of time during
POST and an error message may or may not be displayed before the system hangs.
Compaq iPAQ Family of Internet Devices
3-5
First Edition - March 2000
Chapter 3 Processor/Memory Subsystem
The SPD address map is shown below.
Table 3–3.
SPD Address Map (SDRAM DIMM)
Table 3-3.
SPD Address Map (SDRAM DIMM)
ByteDescriptionNotesByteDescriptionNotes
0No. of Bytes Written Into EEPROM[1]27Min. Row Prechge. Time[7]
1Total Bytes (#) In EEPROM[2]28Min. Row Active to Delay[7]
2Memory Type29Min. RAS to CAS Delay[7]
3No. of Row Addresses On DIMM[3]30, 31Reserved
4No. of Column Addresses On DIMM32..61Superset Data[7]
5No. of Module Banks On DIMM62SPD Revision[7]
6, 7Data Width of Module63Checksum Bytes 0-62
8Voltage Interface Standard of DIMM64-71JEP-106E ID Code[8]
9Cycletime @ Max CAS Latency (CL)[4]72DIMM OEM Location[8]
10Access From Clock[4]73-90OEM’s Part Number[8]
11Config. Type (Parity, Nonparity, etc.)91, 92OEM’s Rev. Code[8]
12Refresh Rate/Type[4] [5]93, 94Manufacture Date[8]
13Width, Primary DRAM95-98OEM’s Assembly S/N[8]
14Error Checking Data Width99-125OEM Specific Data[8]
15Min. Clock Delay[6]126, 127Reserved
16Burst Lengths Supported128-131Compaq header “CPQ1”[9]
17No. of Banks For Each Mem. Device[4]132Header checksum[9]
18CAS Latencies Supported[4]133-145Unit serial number[9] [10]
19CS# Latency[4]146DIMM ID[9] [11]
20Write Latency[4]147Checksum[9]
21DIMM Attributes148-255Reserved[9]
22Memory Device Attributes
23Min. CLK Cycle Time at CL X-1[7]
24Max. Acc. Time From CLK @ CL X-1[7]
25Min. CLK Cycle Time at CL X-2[7]
26Max. Acc. Time From CLK @ CL X-2[7]
NOTES:
[1] Programmed as 128 bytes by the DIMM OEM
[2] Must be programmed to 256 bytes.
[3] High order bit defines redundant addressing: if set (1), highest order RAS# address must be
re-sent as highest order CAS# address.
[4] Refer to memory manufacturer’s datasheet
[5] MSb is Self Refresh flag. If set (1), assembly supports self refresh.
[6] Back-to-back random column addresses.
[7] Field format proposed to JEDEC but not defined as standard at publication time.
[8] Field specified as optional by JEDEC but required by this system.
[9] Compaq usage. This system requires that the DIMM EEPROM have this
space available for reads/writes.
[10] Serial # in ASCII format (MSB is 133). Intended as backup identifier in case vender data is invalid.
Can also be used to indicate s/n mismatch and flag system adminstrator of possible system
Tampering.
[11] Contains the socket # of the module (first module is “1”). Intended as backup identifier (refer to
note [10]).
3-6
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
Figure 3-4 shows the system memory map.
(
)
(
)
Technical Reference Guide
Host,
PCI, AGP Area
Host, PCI,
ISA Area
DOS Compatibility
Area
FFFF FFFFh
FFE0 0000h
FFDF FFFFh
FEC1 0000h
FEC0 FFFFh
FEC0 0000h
FEBF FFFFh
4000 0000h
3FFF FFFFh
0100 0000h
00FF FFFFh
0010 0000h
000F FFFFh
000F 0000h
000E FFFFh
000E 0000h
000D FFFFh
000C 0000h
000B FFFFh
000A 0000h
0009 FFFFh
0008 0000h
0007 FFFFh
High BIOS Area
2 MB
PCI Memory
(18 MB)
APIC Config. Space
(64 KB)
PCI Memory
Expansion
(2548 MB)
Host/PCI Memory
Expansion
(1008 MB)
Extended Memory
15 MB
System BIOS Area
(64 KB)
Extended BIOS Area
(64 KB)
Option ROM
(128 KB)
Graphics/SMRAM
RAM (128 KB)
Fixed Mem. Area
(128 KB)
4 GB
1 GB
16 MB
1 MB
640 KB
512 KB
Base Memory
(512 KB)
0000 0000h
NOTE: All locations in memory are cacheable. Base memory is always mapped to DRAM. The next 128 KB fixed
memory area can, through the north bridge, be mapped to DRAM or to PCI space. Graphics RAM area is mapped
to PCI or AGP locations.
Figure 3–4.
Compaq iPAQ Family of Internet Devices
System Memory Map
3-7
First Edition - March 2000
Chapter 3 Processor/Memory Subsystem
3.4 SUBSYSTEM CONFIGURATION
The 82810e-DC100 GMCH component provides the configuration function for the
processor/memory subsystem. Table 3-4 lists the configuration registers used for setting and
checking such parameters as memory control and PCI bus operation. These registers reside in the
PCI Configuration Space and accessed using the methods described in Chapter 4, section 4.2.
Table 3–4.
Host/PCI Bridge Configuration Registers (GMCH, Function 0)
Table 3-4.
Host/PCI Bridge Configuration Registers (GMCH, Function 0)
60..67hDRAM Row Boundary01hBChAperture I/F Timer00h
68hFixed DRAM Hole00hBDhLow Priority Timer00h
NOTES:
Refer to Intel Inc. documentation for detailed description of registers.
Assume unmarked locations/gaps as reserved.
Reset
Value
PCI Config.
Addr.Register
Reset
Value
3-8
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
Chapter 4
SYSTEM SUPPORT
4.Chapter 4 SYSTEM SUPPORT
4.1 INTRODUCTION
This chapter covers subjects dealing with basic system architecture and support functions. Topics
covered are:
♦
PCI bus overview (4.2)page 4-2
♦
AGP bus overview (4.3)page 4-10
♦
Interrupts (4.4)page 4-13
♦
Interval timer (4.5)page 4-16
♦
System clock distribution (4.6)page 4-16
♦
Real-time clock and configuration memory (4.7) page 4-17
♦
System management (4.8)page 4-27
♦
System I/O map (4.9)page 4-29
This chapter covers functions provided by off-the-shelf chipsets and therefore describes only basic
aspects of these functions as well as information unique to Compaq iPAQ Internet Devices. For
detailed information on specific components, refer to the applicable manufacturer’s
documentation.
Technical Reference Guide
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
4-1
Chapter 4 System Support
4.2 PCI BUS OVERVIEW
NOTE:
This section describes the PCI bus in general and highlights bus
implementation in this particular system. For detailed information regarding PCI bus
operation, refer to the PCI Local Bus Specification Revision 2.2.
This system implements a 32-bit Peripheral Component Interconnect (PCI) bus (spec. 2.2)
operating at 33 MHz. The PCI bus handles address/data transfers through the identification of
devices and functions on the bus. A device is typically defined as a component that resides on the
PCI bus (although some components such as the GMCH and ICH are organized as multiple
devices). A function is defined as the end source or target of the bus transaction. A device may
contain one or more functions.
This system use two PCI buses. The PCI bus #0 is internal to the 810e chipset and divided by the
hub link bus. The PCI bus #1 is used by the NIC function (Figure 4-1). As this system is designed
for simplicity of system management,
82810e GMCH
Component
Memory
Controller
Function
PCI Bus #0
Hub Link Bus
the PCI buses are not available for expansion purposes.
AGP
Bridge
Function
82801 ICH Component
Hub Link/PCI
Bridge
Function
PCI Bus #1
82559
NIC
I/F
Function
Figure 4-1.
Compaq iPAQ Family of Internet Devices
4-2
PCI Bus Devices and Functions
EIDE
Controller
Function
USB
I/F
Function
PCI Bus #0
Controller
Function
SMBus
LPC
Bridge
Function
AC97
Audio
Function
First Edition - March 2000
4.2.1 PCI BUS TRANSACTIONS
The PCI bus consists of a 32-bit path (AD31-00 lines) that uses a multiplexed scheme for
handling both address and data transfers. A bus transaction consists of an address cycle and one
or more data cycles, with each cycle requiring a clock (PCICLK) cycle. High performance is
realized during burst modes in which a transaction with contiguous memory locations requires
that only one address cycle be conducted and subsequent data cycles are completed using autoincremented addressing. Four types of address cycles can take place on the PCI bus; I/O,
memory, configuration, and special. Address decoding is distributed (left up to each device on the
PCI bus).
4.2.1.1 I/O and Memory Cycles
For I/O and memory cycles, a standard 32-bit address decode (AD31..0) for byte-level addressing
is handled by the appropriate PCI device. For memory addressing, PCI devices decode the
AD31..2 lines for dword-level addressing and check the AD1,0 lines for burst (linearincrementing) mode. In burst mode, subsequent data phases are conducted a dword at a time with
addressing assumed to increment accordingly (four bytes at a time).
Technical Reference Guide
4.2.1.2 Configuration Cycles
Devices on the PCI bus must comply with PCI protocol that allows configuration of that device
by software. In this system, configuration mechanism #1 (as described in the PCI Local Bus
specification Rev. 2.1) is employed. This method uses two 32-bit registers for initiating a
configuration cycle for accessing the configuration space of a PCI device. The configuration
address register (CONFIG_ADDRESS) at 0CF8h holds a value that specifies the PCI bus, PCI
device, and specific register to be accessed. The configuration data register (CONFIG_DATA) at
0CFCh contains the configuration data.
15..11PCI Device Number. Selects PCI
device for access
10..8Function Number. Selects function of
selected PCI device.
7..2Register Index. Specifies config. reg.
1,0Configuration Cycle Type ID.
00 = Type 0
01 = Type 1
PCI Configuration Data Register
I/O Port 0CFCh, R/W, (8-, 16-, 32-bit access)
31..0Configuration Data.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
4-3
Chapter 4 System Support
Figure 4-2 shows how the loading of 0CF8h results in a Type 0 configuration cycle on the PCI
bus. The Device Number (bits <15..11> determines which one of the AD31..11 lines is to be
asserted high for the IDSEL signal, which acts as a “chip select” function for the PCI device to be
configured. The function number (CF8h, bits <10..8>) is used to select a particular function
within a PCI component.
Register 0CF8h
Results in:
AD31..0
w/Type 0
Config. Cycle
Figure 4-2.
31 3024 23
Reserved
31
IDSEL (only one signal line asserted)
Type 0 Configuration Cycle
16 1511 108 721 0
Bus
Number
Device
Number
Function
Number
11 108
Function
Number
Register
Index
721 0
Register
Index
0 0
Type 0 configuration cycles are used for configuring devices on PCI bus # 0. Type 1
configuration cycles (reg. 0CF8h bits <1,0> = 01b) are passed on to PCI bus # 1. Table 4-1 shows
the standard configuration of device numbers for components and slots residing on a PCI bus.
The register index (CF8h, bits <7..2>) identifies the 32-bit location within the configuration
space of the PCI device to be accessed. All PCI devices can contain up to 256 bytes of
configuration data (Figure 4-3), of which the first 64 bytes comprise the configuration space
header.
Register
31
24 2316 158 70
Device-Specific Area
Index
FCh
40h
3Ch
0Ch
08h
04h
00h
Configuration
Space
Header
Data required by PCI protocol
Figure 4-3.
Base Address Registers and Exp. ROM Address
BIST
Header Type
Status
Device ID
PCI Configuration Space Map
Latency Timer
Not required
Interrupt LineInterrupt PinMin_GNTMin_Lat
Cache Line Size
Revision IDClass Code
Command
Vender ID
Each PCI device is identified with a vender ID (assigned to the vender by the PCI Special Interest
Group) and a device ID (assigned by the vender). The device and vender IDs for the devices on
the system board are listed in Table 4-2.
The PCI bus provides for four interrupt signals; INTA-, INTB-, INTC-, and INTD-. These
signals may be generated by on-board PCI devices or by devices installed in the PCI slots. In
order to minimize latency, INTx- signal routing from the interrupt controller of the ICH to PCI
slots/devices is distributed evenly as shown below:
Interrupts generated by PCI devices can be configured to share the standard AT (IRQn) interrupt lines.
Two devices that share a single PCI interrupt must also share the corresponding AT interrupt.
AGP
Cntlr.
Audio
Cntlr.
NIC I/FUSB I/F
4.2.3 PCI POWER MANAGEMENT SUPPORT
This system complies with the PCI Power Management Interface Specification (rev 1.0). The PCI
Power Management Enable (PME-) signal is supported by the 810 and 820 chipsets and allows
compliant PCI and AGP peripherals to initiate the power management routine.
4.2.4 PCI SUB-BUSSES
The 810e chipset implements two data busses that supplement the PCI bus:
♦
Hub Link Bus
♦
LPC Bus
4.2.4.1 Hub Link Bus
The 810e chipset implements a Hub Link bus between the GMCH and the ICH. The Hub Link
bus handles transactions at a 66-MHz rate using PCI-type protocol. This bus is transparent to
software and not accessible for expansion purposes.
4.2.4.2 LPC Bus
The 82801 ICH implements a Low Pin Count (LPC) bus for handling transactions to and from
the 47B277 Super I/O Controller as well as the 82802 FWH. The LPC bus transfers data a nibble
(4 bits) at a time at a 33-MHz rate. This bus is transparent to software and not accessible for
expansion purposes.
Compaq iPAQ Family of Internet Devices
4-6
First Edition - March 2000
4.2.5 PCI CONFIGURATION
PCI bus operations, especially those that involve ISA bus interaction, require the configuration of
certain parameters such as PCI IRQ routing, DMA channel configuration, RTC control, port
decode ranges, and firmware hub (FWH) access control. These parameters are handled by the
LPC I/F bridge function (PCI function #0, device 31) of the ICH component and configured
through the PCI configuration space registers listed in Table 4-3. Configuration is provided by
BIOS at power-up but re-configurable by software.
Technical Reference Guide
Table 4-3.
LPC Bridge Configuration Registers (ICH, Function 0)
This section provides a brief overview of AGP bus operation. For a detailed
description of AGP bus operations refer to the AGP Interface Specification available at
the following AGP forum web site: http://www.agpfor um.org/index.htm
The Accelerated Graphics Port (AGP) bus is specifically designed as an economical yet highperformance interface for graphics adapters, especially those designed for 3D operations. The
AGP interface is designed to give graphics adapters dedicated pipelined access to system memory
for the purpose of off-loading texturing, z-buffering, and alpha blending used in 3D graphics
operations. By off-loading a large portion of 3D data to system memory the AGP graphics
adapter only requires enough memory for frame buffer (display image) refreshing.
As this system is designed for simplicity of system management,
for expansion purposes.
4.3.1 BUS TRANSACTIONS
The operation of the AGP bus is based on the 66-MHz PCI specification but includes additional
mechanisms to increase bandwidth. During the configuration phase the AGP bus acts in
accordance with PCI protocol. Once graphics data handling operation is initiated, AGP-defined
protocols take effect. The AGP graphics adapter acts generally as the AGP master, but can also
behave as a “PCI” target during fast writes from the GMCH or MCH.
the AGP bus is not available
Key differences between the AGP interface and the PCI interface are as follows:
♦
Address phase and associated data transfer phase are disconnected transactions. Addressing
and data transferring occur as contiguous actions on the PCI bus. On the AGP bus a request
for data and the transfer of data may be separated by other operations.
♦
Commands on the AGP bus specify system memory accesses only. Unlike the PCI bus,
commands involving I/O and configuration are not required or allowed. The system memory
address space used in AGP operations is the same linear space used by PCI memory space
commands, but is further specified by the graphics address re-mapping table (GART) of the
north bridge component.
♦
Data transactions on the AGP bus involve eight bytes or multiples of eight bytes. The AGP
memory addressing protocol uses 8-byte boundaries as opposed to PCI’s 4-byte boundaries. If
a transfer of less than eight bytes is needed, the remaining bytes are filled with arbitrary data
that is discarded by the target.
♦
Pipelined requests are defined by length or size on the AGP bus. The PCI bus defines
transfer lengths with the FRAME- signal.
There are two basic types of transactions on the AGP bus: data requests (addressing) and data
transfers. These actions are separate from each other.
Compaq iPAQ Family of Internet Devices
4-8
First Edition - March 2000
4.3.1.1 Data Request
3
Requesting data is accomplished in one of two ways; either multiplexed addressing (using the
AD lines for addressing/data) or demultiplexed (“sideband”) addressing (using the SBA lines for
addressing only and the AD lines for data only). Even though there are only eight SBA lines (as
opposed to the 32 AD lines) sideband addressing maximizes efficiency and throughput by
allowing the AD lines to be exclusively used for data transfers. Sideband addressing occurs at
the same rate (1X or 2X) as data transfers. The differences in rates will be discussed in the next
section describing data transfers. Note also that sideband addressing is limited to 48 bits (address
bits 48-63 are assumed zero). The GMCH and MCH components support both SBA and AD
addressing, but the method and rate is selected by the AGP graphics adapter.
4.3.1.2 Data Transfers
Data transfers use the AD lines and occur as the result of data requests described previously.
Each transaction resulting from a request involves at least eight bytes, requiring the 32 AD lines
to handle at least two transfers per request. The 82810e MCH supports two transfer rates: 1X and
2X. Regardless of the rate used, the speed of the bus clock is constant at 66 MHz. The following
subsections describe how the use of additional strobe signals makes possible higher transfer rates.
Technical Reference Guide
AGP 1X Transfers
During a AGP 1X transfer the 66-MHz CLK signal is used to qualify the control and data
signals. Each 4-byte data transfer is synchronous with one CLK cycle so it takes two CLK cycles
for a minimum 8-byte transfer (Figure 4-4 shows two 8-byte transfers). The GNT- and TRDYsignals retain their traditional PCI functions. The ST0..3 signals are used for priority encoding,
with “000” for low priority and “001” indicating high priority. The signal level for AGP 1X
transfers may be 3.3 or 1.5 VDC.
CLK
AD
-
-
ST0..2
Figure 4-4.
T1T2T
D1A
00x
xxx
AGP 1X Data Transfer (Peak Transfer Rate: 266 MB/s)
T4T5
xxx
xxx
xxx
T7
xxx
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
4-9
Chapter 4 System Support
AGP 2X Transfers
During AGP 2X transfers, clocking is basically the same as in 1X transfers except that the 66MHz CLK signal is used to qualify only the control signals. The data bytes are latched by an
additional strobe (AD_STBx) signal so that an 8-byte transfer occurs in one CLK cycle (Figure 4-
5). The first four bytes (DnA) are latched by the receiving agent on the falling edge of AD_STBx
and the second four bytes (DnB) are latched on the rising edge of AD_STBx. The signal level for
AGP 2X transfers may be 3.3 or 1.5 VDC.
T1T2T3T4T5T6T7
CLK
AD
AD_STBx
-
-
ST0..2
Figure 4-5.
00x
xxx
xxx
xxx
xxx
AGP 2X Data Transfer (Peak Transfer Rate: 532 MB/s)
xxx
Compaq iPAQ Family of Internet Devices
4-10
First Edition - March 2000
4.3.2 AGP CONFIGURATION
AGP bus operations require the configuration of certain parameters involving system memory
access by the AGP graphics adapter. The AGP bus interface is configured as a PCI device
integrated within the north bridge (MCH, device 1) component. The AGP function is, from the
PCI bus perspective, treated essentially as a PCI/PCI bridge and configured through PCI
configuration registers (Table 4-4). Configuration is accomplished by BIOS during POST.
Technical Reference Guide
NOTE:
Configuration of the AGP bus interface involves functions 0 and 1 of the
MCH. Function 0 registers (listed in Table 3-4) include functions that affect basic
control (GART) of the AGP.
Table 4-4.
PCI/AGP Bridge Configuration Registers (MCH, Function 1)
Table 4-4.
PCI/AGP Bridge Function Configuration Registers
(GMCH, Function 1)
PCI Config.
Addr.Register
00, 01hVender ID8086h1BhSec. Master Latency Timer00h
02, 03hDevice ID7191h1ChI/O Base AddressF0h
04, 05hCommand0000h1DhI/O Limit Address00h
06, 07hStatus0220h1E, 1FhSec. PCI/PCI Status02A0h
08hRevision ID00h20, 21hMemory Base AddressFFF0h
0A, 0BhClass Code0406h22, 23hMemory Limit Address0000h
0EhHeader Type01h24, 25hPrefetch Mem. Base Addr.FFF0h
18hPrimary Bus Number00h26, 27hPrefetch Mem. Limit Addr.0000h
19hSecondary Bus Number00h3EhPCI/PCI Bridge Control80h
1AhSubordinate Bus Number00h3F-FFhReserved00h
NOTE:
Assume unmarked locations/gaps as reserved. Refer to Intel documentation for detailed
register descriptions.
Reset
Value
PCI Config.
Addr.Register
Reset
Value
The AGP graphics adapter (actually its resident controller) is configured as a standard PCI
device.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
4-11
Chapter 4 System Support
4.4 INTERRUPTS
The microprocessor uses two types of interrupts; maskable and nonmaskable. A maskable
interrupt can be enabled or disabled within the microprocessor by the use of the STI and CLI
instructions. A nonmaskable interrupt cannot be masked off within the microprocessor but may
be inhibited by hardware or software means external to the microprocessor.
4.4.1 MASKABLE INTERRUPTS
The maskable interrupt is a hardware-generated signal used by peripheral functions within the
system to get the attention of the microprocessor. Peripheral functions produce a unique INTA-D
(PCI) or IRQ0-15 (ISA) signal that is routed to interrupt processing logic that asserts the
interrupt (INTR-) input to the microprocessor. The microprocessor halts execution to determine
the source of the interrupt and then services the peripheral as appropriate.
Figure 4-6 shows the routing of PCI and ISA interrupts. Most IRQs are routed through the I/O
controller, which contains a serializing function. A serialized interrupt stream is applied to the
82801 ICH.
LPC47B277
I/O Cntlr.
Interrupt
Serializer
Serial IRQ
82801
ICH
Interrupt
Processing
INTR-
Microprocessor
I/O and
SM Functions
Hard Drive
PCI Peripherals
Figure 4-6.
IRQ3..7,
9..12,
14,15
IDE
IRQ14,15
INTA-..D-
Maskable Interrupt Processing, Block Diagram
The 82801 ICH component, which includes the equivalent of two 8259 interrupt controllers
cascaded together, handles the decoding of the serial interrupt stream (Serial IRQ signal) as well
as interrupts IRQ14 and 15 from the IDE hard drives. The ICH also receives the PCI interrupt
signals (INTA-..INTD-) from PCI devices. The PCI interrupts can be configured by PCI
Configuration Registers 60h..63h to share the standard ISA interrupts (IRQn). The power-up
default configuration has the PIRQn disabled. Table 4-13 lists the standard source configuration
for maskable interrupts and their priorities. If more than one interrupt is pending, the highest
priority (lowest number) is processed first.
The 82801 ICH is configured to handle interrupts in 8259-mode.
--IRQ2NOT AVAILABLE (Cascade from interrupt controller 2)
NOTE:
[1] Legacy-light models only
Interrupts generated by PCI devices can be configured to share the standard AT (IRQn) interrupt
lines. Also, PCI interrupts are hardwired for even distribution to minimize latency (see section
4.2.2 “PCI Interrupt Mapping”).
Maskable Interrupt processing is controlled and monitored through standard AT-type I/Omapped registers. These registers are listed in Table 4-6.
The initialization and operation of the interrupt control registers follows standard AT-type
protocol.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
4-13
Chapter 4 System Support
4.4.2 NON-MASKABLE INTERRUPTS
Non-maskable interrupts cannot be masked (inhibited) within the microprocessor itself but may
be maskable by software using logic external to the microprocessor. There are two non-maskable
interrupt signals: the NMI- and the SMI-. These signals have service priority over all maskable
interrupts, with the SMI- having top priority over all interrupts including the NMI-.
4.4.2.1 NMI- Generation
The Non-Maskable Interrupt (NMI-) signal can be generated by one of the following actions:
♦
Parity errors detected on the ISA bus (activating IOCHK-).
♦
Parity errors detected on a PCI bus (activating SERR- or PERR-).
♦
Microprocessor internal error (activating IERRA or IERRB)
The IOCHK-, SERR-, and PERR- signals are routed through the ICH component, which in turn
activates the NMI to the microprocessor.
The NMI Status Register at I/O port 061h contains NMI source and status data as follows:
NMI Status Register 61h
BitFunction
7NMI Status:
0 = No NMI from system board parity error.
1 = NMI requested, read only
6IOCHK- NMI:
0 = No NMI from IOCHK-
1 = IOCHK- is active (low), NMI requested, read only
5Interval Timer 1, Counter 2 (Speaker) Status
4Refresh Indicator (toggles with every refresh)
3IOCHK- NMI Enable/Disable:
0 = NMI from IOCHK- enabled
1 = NMI from IOCHK- disabled and cleared (R/W)
2System Board Parity Error (PERR/SERR) NMI Enable:
0 = Parity error NMI enabled
1 = Parity error NMI disabled and cleared (R/W)
1Speaker Data (R/W)
0Inteval Timer 1, Counter 2 Gate Signal (R/W)
0 = Counter 2 disabled
1 = Counter 2 enabled
Functions not related to NMI activity.
After the active NMI has been processed, status bits <7> or <6> are cleared by pulsing bits <2>
or <3> respectively.
The NMI Enable Register (070h, <7>) is used to enable/disable the NMI signal. Writing 80h to
this register masks generation of the NMI-. Note that the lower six bits of register at I/O port 70h
affect RTC operation and should be considered when changing NMI- generation status.
Compaq iPAQ Family of Internet Devices
4-14
First Edition - March 2000
4.4.2.2 SMI- Generation
The SMI- (System Management Interrupt) is typically used for power management functions.
When power management is enabled, inactivity timers are monitored. When a timer times out,
SMI- is asserted and invokes the microprocessor’s SMI handler. The SMI- handler works with
the APM BIOS to service the SMI- according to the cause of the timeout.
Although the SMI- is primarily used for power managment the interrupt is also employed for the
QuickLock/QuickBlank functions as well.
Technical Reference Guide
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
4-15
Chapter 4 System Support
4.5 INTERVAL TIMER
The interval timer generates pulses at software (programmable) intervals. A 8254-compatible
timer is integrated into the 82801 component. The timer function provides three counters, the
functions of which are listed in Table 4-7.
The interval timer is controlled through the I/O mapped registers listed in Table 4-8.
Table 4-8.
Interval Timer Control Registers
Table 4-8.
Interval Timer Control Registers
I/O PortRegister
040hRead or write value, counter 0
041hRead or write value, counter 1
042hRead or write value, counter 2
043hControl Word
4.6 SYSTEM CLOCK DISTRIBUTION
These systems use a CK133 clock generator (for 820-based systems) or a CK Whitney or
ICS92250-16 clock generator (for 810/810e-based systems). Table 4-9 lists the system board
clock signals and how they are distributed.
Table 4-9.
Clock Generation and Distribution
Clock Generation and Distribution
Frequncy/SignalSourceDestination
66, 100, or 133 MHz
(CPUCLK) [1]
100 MHzCKDIMM sockets
48 MHz“82801 ICH, 47B277 I/O Cntlr.
33 MHz (PCICLK)“82801 ICH
14.31818 MHzCrystalCK133
14.31818 MHzCLK Gen82801 ICH
NOTE:
Compaq iPAQ Family of Internet Devices
4-16
[1] Depending on processor speed.
Table 4-9.
CLK Gen.Processor, GMCH
First Edition - March 2000
Technical Reference Guide
4.7 REAL-TIME CLOCK AND CONFIGURATION MEMORY
The Real-time clock (RTC) and configuration memory (also referred to as “CMOS”) functions
are provided by the 82801 ICH component and is MC146818-compatible. As shown in the
following figure, the 82801 ICH component provides 256 bytes of battery-backed RAM divided
into two 128-byte configuration memory areas. The RTC uses the first 14 bytes (00-0Dh) of the
standard memory area. All locations of the standard memory area (00-7Fh) can be directly
accessed using conventional OUT and IN assembly language instructions through I/O ports
70h/71h, although the suggested method is to use the INT15 AX=E823h BIOS call. Also note
that CMOS locations above 3Fh are used for the control and status of features that should be
handled through BIOS function INT15h, AX=E845h.
A lithium 3-VDC battery is used for maintaining the RTC and configuration memory while the
system is powered down. During system operation a wire-Ored circuit allows the RTC and
configuration memory to draw power from the power supply. The battery is located in a battery
holder on the system board and has a life expectancy of four to eight years. When the battery has
expired it is replaced with a Renata CR2032 or equivalent 3-VDC lithium battery.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
4-17
Chapter 4 System Support
Table 4-10 lists the mapping of the configuration memory.
Table 4-10.
Configuration Memory (CMOS) Map
Table 4-10.
Configuration Memory (CMOS) Map
LocationFunctionLocationFunction
00-0DhReal-time clock24hSystem board ID
0EhDiagnostic status25hSystem architecture data
0FhSystem reset code26hAuxiliary peripheral configuration
10hDiskette drive type27hSpeed control external drive
11hReserved28hExpanded/base mem. size, IRQ12
12hHard drive type29hMiscellaneous configuration
13hSecurity functions2AhHard drive timeout
14hEquipment installed2BhSystem inactivity timeout
15hBase memory size, low byte/KB2ChMonitor timeout, Num Lock Cntrl
16hBase memory size, high byte/KB2DhAdditional flags
17hExtended memory, low byte/KB2Eh-2FhChecksum of locations 10h-2Dh
18hExtended memory, high byte/KB30h-31hTotal extended memory tested
19hHard drive 1, primary controller32hCentury
1AhHard drive 2, primary controller33hMiscellaneous flags set by BIOS
1BhHard drive 1, secondary controller34hInternational language
1ChHard drive 2, secondary controller35hAPM status flags
1DhEnhanced hard drive support36hECC POST test single bit
1EhReserved37h-3FhPower-on password
1FhPower management functions40-FFhFeature Control/Status
NOTES:
Assume unmarked gaps are reserved.
Higher locations (>3Fh) contain information that should be accessed using the INT15, AX=E845h
BIOS function (refer to Chapter 8 for BIOS function descriptions).
4.7.1 CMOS ARCHIVE
There is no provision for clearing the contents of the configuration memory (CMOS). During
POST, a copy of the CMOS data is written to a sector of the 82802 FWH. This means that
changes to CMOS will be stored on the following boot. Should the system hang during boot as
the result of corr upted CMOS data, then a Power Button Override boot should be invoked with
the following procedure:
1. Initiate a power cycle by pressing and releasing the Power button, then pressing and holding
the power button for about four seconds so that the system should record a power button
override event.
2. Power down the system.
3. Press and release the power button, initiating a boot sequence. The system should detect the
occurrence of a power button override event and will load the CMOS archive data stored in
the FWH allowing a successful boot. All passwords and settings used in the previous
successful boot would be restored.
4.7.2 STANDARD CMOS LOCATIONS
The following paragraphs describe standard configuration memory locations 0Ah-3Fh. These
locations are accessible through using OUT/IN assembly language instructions using port 70/71h
or BIOS function INT15, AX=E823h.
Compaq iPAQ Family of Internet Devices
4-18
First Edition - March 2000
RTC Control Register A, Byte 0Ah
BitFunction
7Update in Progress. Read only.
0 = Time update will not occur before 2444 us
1 = Time update will occur within 2444 us
6..4Divider Chain Control. R/W.
00x = Oscillator disabled.
010 = Normal operation (time base frequency = 32.768 KHz).
11x = Divider chain reset.
3..0Periodic Interrupt Control. R/W. Specifies the periodic interrupt interval.
0000 = none 1000 = 3.90625 ms
0001 = 3.90625 ms 1001 = 7.8125 ms
0010 = 7.8125 ms 1010 = 15. 625 ms
0011 = 122.070 us 1011 = 31.25 ms
0100 = 244.141 us 1100 = 62.50 ms
0101 = 488.281 us 1101 = 125 ms
0110 = 976.562 us 1110 = 250 ms
0111 = 1.953125 ms 1111 = 500 ms
RTC Control Register B, Byte 0Bh
BitFunction
7Time Update Enable/disable
0 = Normal operation, 1 = Disable time updating for time set
6Periodic Interrupt Enable/Disable.
0 = Disable, 1 = Enable interval specified by Register A
5Alarm Interrupt Enable/disable
0 = Disabled, 1 = Enabled
4End-of-Update Interrupt Enable/Disable
0 = Disabled, 1 = Enabled
3Reserved (read 0)
2Time/Date Format Select
0 = BCD format, 1 = Binary format
1Time Mode
0 = 12-hour mode, 1 = 24-hour mode
0Automatic Daylight Savings Time Enable/Disable
0 = Disable
1 = Enable (Advance 1 hour on 1
st
Sunday in April, retreat 1 hour on last Sunday in October).
Technical Reference Guide
RTC Status Register C, Byte 0Ch
BitFunction
7If set, interrupt output signal active (read only)
6If set, indicates periodic interrupt flag
5If set, indicates alarm interrupt
4If set, indicates end-of-update interrupt
3..0Reserved
RTC Status Register D, Byte 0Dh
BitFunction
7RTC Power Status
0 = RTC has lost power
1 = RTC has not lost power
6..0Reserved
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
4-19
Chapter 4 System Support
Configuration Byte 0Eh, Diagnostic Status
Default Value = 00h
This byte contains diagnostic status data.
Configuration Byte 0Fh, System Reset Code
Default Value = 00h
This byte contains the system reset code.
Configuration Byte 10h, Diskette Drive Type
BitFunction
7..4Primary (Drive A) Diskette Drive Type
3..0Secondary (Drive B) Diskette Drive Type
Valid values for bits <7..4> and bits <3..0>:
0010 = 1.2-MB drive
0011 = 720-KB drive
0110 = 2.88-MB drive
(all other values reserved)
0000 = Not installed
0001 = 360-KB drive
0100 = 1.44-MB/1.25-MB drive
Configuration Byte 12h, Hard Drive Type
BitFunction
7..4Primary Controller 1, Hard Drive 1 Type:
0000 = none 1000 = Type 8
0001 = Type 1 1001 = Type 9
0010 = Type 2 1010 = Type 10
0011 = Type 3 1011 = Type 11
0100 = Type 4 1100 = Type 12
0101 = Type 5 1101 = Type 13
0110 = Type 6 1110 = Type 14
0111 = Type 7 1111 = other (use bytes 19h)
3..0Primary Controller 1, Hard Drive 2 Type:
0000 = none 1000 = Type 8
0001 = Type 1 1001 = Type 9
0010 = Type 2 1010 = Type 10
0011 = Type 3 1011 = Type 11
0100 = Type 4 1100 = Type 12
0101 = Type 5 1101 = Type 13
0110 = Type 6 1110 = Type 14
0111 = Type 7 1111 = other (use bytes 1Ah)
Bytes 15h and 16h hold a 16-bit value that specifies the base memory size in 1-KB (1024)
increments. Valid base memory sizes are 512 and 640 kilobytes .
Configuration Bytes 17h and 18h, Extended Memory Size
Bytes 17h and 18h hold a 16-bit value that specifies the extended memory size in 1-KB
increments.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
4-21
Chapter 4 System Support
Configuration Bytes 19h-1Ch, Hard Drive Types
Byte 19h contains the hard drive type for drive 1 of the primary controller if byte 12h bits <7..4>
hold 1111b. Byte 1Ah contains the hard drive type for drive 2 of the primary controller if byte
12h bits <3..0> hold 1111b. Bytes1Bh and 1Ch contain the hard drive types for hard drives 1 and
2 of the secondary controller.
Configuration Byte 1Dh, Enhanced IDE Hard Drive Support
Default Value = F0h
BitFunction
7EIDE - Drive C (83h)
6EIDE - Drive D (82h)
5EIDE - Drive E (81h)
4EIDE - Drive F (80h)
3..0Reserved
Values for bits <7..4> :
0 = Disable
1 = Enable for auto-configure
Configuration Byte 1Fh, Power Management Functions
Default Value = 00h
BitFunction
7..4Reserved
3Slow Processor Clock for Low Power Mode
0 = Processor runs at full speed
1 = Processor runs at slow speed
2Reserved
1Monitor Off Mode
0 = Turn monitor power off after 45 minutes in standby
1 = Leave monitor power on
0Energy Saver Mode Indicator (Blinking LED)
0 = Disable
1 = Enable
Configuration Byte 24h, System Board Identification
Default Value = 7Eh
Configuration memory location 24h holds the system board ID.
0Row 0 Error Detect
0 = No single bit error detected.
1 = Single bit error detected.
Configuration Byte 37h-3Fh, Power-On Password
These eight locations hold the power-on password.
4.7.3 CMOS FEATURE BITS
Configuration memory above location 3Fh is used for storing special features that are accessed
using BIOS function INT15, AX=E845h. Refer to Chapter 8 for more information on accessing
the feature bits with BIOS.
Compaq iPAQ Family of Internet Devices
4-26
First Edition - March 2000
4.8 SYSTEM MANAGEMENT
This section describes functions having to do with security, power management, temperature, and
overall status. These functions are handled by hardware and firmware (BIOS) and generally
configured through the Setup utility.
4.8.1 SECURITY FUNCTIONS
These systems include various features that provide different levels of security. Note that this
subsection describes
Setup) and does not describe security features that may be provided by Setup and/or the operating
system and application software.
only the hardware/firmware functionality
4.8.1.1 System Passwords
This system supports two passwords; Setup and Power-On, either or both of which may be
enabled through Setup.
Technical Reference Guide
(including that supported by
NOTE:
should both the Setup and Power-On password be lost or forgotten then a special utility
and BIOS function is required, allowing the use of a service password based on the unit
serial number and date.
through Compaq Customer Support.
The system hardware does not provide a CMOS-clearing feature, therefore
The utility can be invoked only as a network application
Setup Password
The Setup password is enabled and entered through the Setup utility. Once set, any changes
affected through Setup require the Setup password to be entered. Should the Setup password be
forgotten the Setup utility will be un-accessible for changes. Should the Power On password be
enabled but forgotten, the Setup password may be used to access the Setup utility and a new
Power On password be set.
Power On Password
The Power On password is enabled and set through the Setup utility. Once set, the boot sequence
can be completed only when the correct Power On password is entered.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
4-27
Chapter 4 System Support
4.8.1.2 DriveLock Passwords
This system supports the DriveLock security feature for a compatible hard drive installed in the
Multibay. DriveLock, when enabled, prevents unauthorized access to hard drive data by requiring
a master and/or user password to be entered for access to data on the hard drive. Although this
function is configured through the Setup utility, the password information is stored in a reserved
area on the hard drive (i.e., the password(s) move(s) with the hard drive).
NOTE:
The DriveLock feature is designed primarily for business environments,
especially where a removable Multibay hard drive(s) may be shared between several
systems. Since the loss of (forgetting) both DriveLock passwords to a drive will result in
that drive being unusable, it is strongly advised that this feature be invoked and
managed by a system administrator. For detailed user information consult the
appropriate user/reference guide for this system.
4.8.2 POWER MANAGEMENT
This system provides baseline hardware support of ACPI- and APM-compliant firmware and
software. Key power-consuming components (processor, chipset, I/O controller, and fan) can be
placed into a reduced power mode either automatically or by user control. The system can then be
brought back up (“wake-up”) by events defined by the ACPI specification. The ACPI wake-up
events supported by this system are listed as follows:
ACPI Wake-Up EventSystem Wakes From
Power ButtonSuspend or soft-off
RTC AlarmSuspend or soft-off
Wake On LAN (w/NIC)Suspend or soft-off
PMESuspend or soft-off
Serial Port RingSuspend or soft-off
USBSuspend only
KeyboardSuspend only
MouseSuspend only
4.8.3 THERMAL SENSING AND COOLING
All systems feature a variable-speed fan (mounted as a part of the power supply assembly)
controlled by thermal sensing logic. All systems also include a header for connection to a fan
that may be included in some processor upgrade kits (known as “boxed processors”).
The system should be operated with all covers in place to ensure proper cooling of the system
board components.
Compaq iPAQ Family of Internet Devices
4-28
First Edition - March 2000
4.9 SYSTEM I/O MAP
Table 4-20 lists the fixed addresses of the input/output (I/O) ports.
Technical Reference Guide
Table 4-11.
System I/O Map
Table 4-20.
System I/O Map
I/O PortFunction
0000..000FhDMA Controller 1
0020..0021hInterrupt Controller 1
0040..0043hTimer 1
0060hKeyboard Controller Data Byte
0061hNMI, Speaker Control
0064hKeyboard Controller Command/Status Byte
0070hNMI Enable, RTC/Lower CMOS Index
0071hRTC Data
0080..008FhDMA Page Registers
0092hPort A, Fast A20/Reset
00A0..00A1hInterrupt Controller 2
00B2h, 00B3hAPM Control/Status Ports
00C0..00DFhDMA Controller 2
0388..038BhFM synthesizer (alias addresses)
03B0..03DFhGraphics Controller
03E8..03EFhSerial Port (COM3)
03F0..03F5hDiskette Drive Controller Primary Addresses
03F6, 03F7hDiskette Drive Controller Primary Addresses, Hard Drive Controller Primary Addresses
03F8..03FFhSerial Port (COM1)
04D0, 04D1hMaster, Slave Edge/Level INTR Control Register
0C00, 0C01hPCI IRQ Mapping Index, Data
0C06, 0C07hReserved - Compaq proprietary use only
0C50, 0C51hSystem Management Configuration Registers (Index, Data)
0C52hGeneral Purpose Port
0C7ChMachine ID
0CF8hPCI Configuration Address (dword access only)
0CF9hReset Control Register
0CFChPCI Configuration Data (byte, word, or dword access)
FF00..FF07hIDE Bus Master Register
NOTE: Assume unmarked gaps are reserved/unused.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
4-29
Chapter 4 System Support
This page is intentionally blank.
Compaq iPAQ Family of Internet Devices
4-30
First Edition - March 2000
Chapter 5
INPUT/OUTPUT INTERFACES
5.Chapter 5 INPUT/OUTPUT INTERFACES
5.1 INTRODUCTION
This chapter describes the standard (i.e., system board) interfaces that provide input and output
(I/O) porting of data and specifically discusses interfaces that are controlled through I/O-mapped
registers. The following I/O interfaces are covered in this chapter:
♦
Enhanced IDE interface (5.2)page 5-1
♦
Diskette drive interface (5.3)page 5-4
♦
Serial interfaces (5.4)page 5-5
♦
Parallel interface (5.5)page 5-8
♦
Keyboard/pointing device interface (5.6)page 5-15
♦
Universal serial bus interface (5.7)page 5-22
♦
Audio subsystem (5.8)page 5-26
♦
Network support (5.9)page 5-32
Technical Reference Guide
5.2 ENHANCED IDE INTERFACE
The enhanced IDE (EIDE) interface consists of primary and secondary controllers integrated into
the 82801 ICH component of the chipset. The system board includes two IDE connectors, a 40pin connector that is associated with the primary controller that controls the internal hard drive
and a 50-pin connector associated with the secondary controller that controls the device in the
Multibay. Each controller can be configured independently for the following modes of operation:
♦
Programmed I/O (PIO) mode – CPU controls drive transactions through standard I/O
mapped registers of the IDE drive.
♦
8237 DMA mode – CPU offloads drive transactions using DMA protocol with transfer rates
up to 16 MB/s.
♦
Ultra ATA/33 and /66 modes – Preferred bus mastering source-synchronous protocol
providing transfer rates of 33 and 66 MB/s respectively.
NOTE:
form factor of the unit chassis allows only two devices to be installed.
Although the EIDE interface can electrically handle four EIDE devices, the
5.2.1 IDE PROGRAMMING
The IDE interface is configured as a PCI device during POST and controlled through I/Omapped registers at runtime.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
5-1
Chapter 5 Input/Output Interfaces
Hard drives types not found in the ROM’s parameter table are automatically configured as to
(soft)type by DOS as follows:
Primary controller: drive 0, type 65; drive 1, type 66
Secondary controller: drive 0, type 68; drive 1, type 15
Non-DOS (non-Windows) operating systems may require using Setup (F10) for drive
configuration.
5.2.1.1 IDE Configuration Registers
The IDE controller is configured as a PCI device with bus mastering capability. The PCI
configuration registers for the IDE controller function (PCI device #31, function #1) are listed in
Table 5-1.
Table 5–1
PCI Conf.
Addr.Register
00-01hVender ID8086h24-2BhReserved0’s
02-03hDevice ID2411h2C, 2DhSubsystem Vender ID8086h
04-05hPCI Command0000h2E, 2FhSubsystem ID2411h
06-07hPCI Status0280h30-3FhReserved0’s
08hRevision ID00h40-43hPrimary IDE Timing0000h
09hProgramming80h44hSecondary IDE Timing00h
0AhSub-Class01h48hSync. DMA Control00h
0BhBase Class Code01h4A-4BhSync. DMA Timing0000h
0DhMaster Latency Timer0000h54hEIDE I/O Config.Register00h
0EhHeader Type80hF8-FBhManufacturer’s ID
0F-1FhReserved00hFC-FFhReserved
20-23hBMIDE Base Address1h------
Assume unmarked gaps are reserved and/or not used.
Table 5-1.
Reset
Value
PCI Conf.
Addr.Register
Reset
Value
5.2.1.2 IDE Bus Master Control Registers
The IDE interface can perform PCI bus master operations using the registers listed in Table 5-2.
These registers occupy 16 bytes of variable I/O space set by software and indicated by PCI
configuration register 20h in the previous table.
Table 5–2.
I/O Addr.
Offset
00h1Bus Master IDE Command (Primary)00h
02h1Bus Master IDE Status (Primary)00h
04h4Bus Master IDE Descriptor Pointer (Pri.)0000 0000h
08h1Bus Master IDE Command (Secondary)00h
0Ah2Bus Master IDE Status (Secondary)00h
0Ch4Bus Master IDE Descriptor Pointer (Sec.)0000 0000h
NOTE:
5-2 Compaq iPAQ Family of Internet Devices
IDE Bus Master Control Registers
Table 5-2.
IDE Bus Master Control Registers
Size
(Bytes)Register
Unspecified gaps are reserved, will return indeterminate data, and should not be written to.
First Edition – March 2000
Default
Value
5.2.2 IDE CONNECTOR
This system uses a standard 40-pin connector for the primary IDE device and connects (via a
cable) to the hard drive installed in the right side drive bay. Note that some signals are re-defined
for UATA/33 and UATA/66 modes, which require a special 80-conductor cable (supplied)
designed to reduce cross-talk. Device power is supplied through a separate connector.
Technical Reference Guide
Figure 5-1.
Table 5–3
40-Pin Primary IDE Connector (on system board).
. 40-Pin Primary IDE Connector Pinout
Table 5-3.
40-Pin Primary IDE Connector Pinout
PinSignalDescriptionPinSignalDescription
1RESET-Reset21DRQDMA Request
2GNDGround22GNDGround
3DD7Data Bit <7>23IOW-I/O Write [1]
4DD8Data Bit <8>24GNDGround
5DD6Data Bit <6>25IOR-I/O Read [2]
6DD9Data Bit <9>26GNDGround
7DD5Data Bit <5>27IORDYI/O Channel Ready [3]
8DD10Data Bit <10>28CSELCable Select
9DD4Data Bit <4>29DAK-DMA Acknowledge
10DD11Data Bit <11>30GNDGround
11DD3Data Bit <3>31IRQnInterrupt Request [4]
12DD12Data Bit <12>32IO16-16-bit I/O
13DD2Data Bit <2>33DA1Address 1
14DD13Data Bit <13>34DSKPDIAGPass Diagnostics
15DD1Data Bit <1>35DA0Address 0
16DD14Data Bit <14>36DA2Address 2
17DD0Data Bit <0>37CS0-Chip Select
18DD15Data Bit <15>38CS1-Chip Select
19GNDGround39HDACTIVE-Drive Active (front panel LED) [5]
20--Key40GNDGround
NOTES:
[1] On UATA/33 and /66 modes, re-defined as STOP.
[2] On UATA/33 and /66 mode reads, re-defined as DMARDY-.
On UATA/33 and /66 mode writes, re-defined as STROBE.
[3] On UATA/33 and /66 mode reads, re-defined as STROBE-.
On UATA/33 and /66 mode writes, re-defined as DMARDY-.
[4] Primary connector wired to IRQ14, secondary connector wired to IRQ15.
[5] Pin 39 is used for spindle sync and drive activity (becomes SPSYNC/DACT-)
when synchronous drives are connected.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
5-3
Chapter 5 Input/Output Interfaces
The system board includes a 50-pin connector for the secondary IDE drive that is installed in the
MultiBay mounting position on the left side of the chassis. This interface includes power and
audio signals. The 50-pin system/daughter board connector is illustrated below followed by the
pinout.
P2
P1
Figure 5-2.
Table 5–4
50-Pin Secondary IDE Connector (on system and daughter boards).
. 50-Pin Secondary IDE Connector Pinout
Table 5-4.
50-Pin Secondary IDE Connector Pinout
PinSignalDescriptionPinSignalDescription
1AUD LLeft channel audio2AUD RRight channel audio
3AUD RTNAudio return4AUD RTNAudio return
5NCNot connected6MBAYMultibay device sense
7RSTReset8GNDGround
9D7Data Bit <7>10D8Data Bit <8>
11D6Data Bit <6>12D9Data Bit <9>
13D5Data Bit <5>14D10Data Bit <10>
15D4Data Bit <4>16D11Data Bit <11>
17D3Data Bit <3>18D12Data Bit <12>
19D2Data Bit <2>20D13Data Bit <13>
21D1Data Bit <1>22D14Data Bit <14>
23D0Data Bit <0>24D15Data Bit <15>
25GNDGround26--(Key Space)
27DDRQ1Data request28GNDGround
29I/O W-I/O write30GNDGround
31I/O R-I/O read32GNDGround
33I/OCHRDYI/O channel ready34P_ALECable select
35ACK1-Acknowledge36GNDGround
37IRQ15Interrupt request 1538IO1616-bit I/O transfer
39AD1Address bit <1>40PDIAGDiagnostic
41AD0Address bit <0>42AD2Address bit <2>
43CS1Chip select <1>44CS3Chip select <3>
45ACT-Activity46GNDGround
47Vcc+5 VDC48Vcc+5 VDC logic power
49GNDGround50NCNot connected
5.3 DISKETTE DRIVE INTERFACE
NOTE:
I/O controller contains a diskette drive controller that may need to be enabled (with
Setup) to satisfy the requirements of some operating systems. This will result in device
manager applications indicating the presence of a diskette drive that in fact is
available.
5-4 Compaq iPAQ Family of Internet Devices
The Compaq iPAQ
First Edition – March 2000
does not
support a diskette drive. However, the LPC47B277
not
5.4 SERIAL INTERFACE
The legacy-light models include a serial interface to transmit and receive asynchronous serial
data with external devices. The serial interface function is provided by the LPC47B277 I/O
controller component that includes a NS16C550-compatible UART.
Technical Reference Guide
NOTE:
Legacy-free models do not have an externally accessible serial port, but do have
an internal serial header to satisfy the serial port requirements of some operating
systems.
The UART supports the standard baud rates up through 115200, and also special high speed
rates of 239400 and 460800 baud. The baud rate of the UART is typically set to match the
capability of the connected device. While most baud rates may be set at runtime,
230400 and 460800 must be set during the configuration phase.
5.4.1 RS-232 INTERFACE
On the legacy-light system, the UART is associated with a DB-9 connector that complies with
EIA standard RS-232-C. The DB-9 connector is shown in the following figure and the pinout of
the connector is listed in Table 5-5.
Figure 5-3.
Serial Interface Connector (Male DB-9 as viewed from rear of chassis)
baud rates
Table 5–5.
DB-9 Serial Connector Pinout
Table 5-5.
DB-9 Serial Connector Pinout
PinSignalDescriptionPinSignalDescription
1CDCarrier Detect6DSRData Set Ready
2RX DataReceive Data7RTSRequest To Send
3TX DataTransmit Data8CTSClear To Send
4DTRData Terminal Ready9RIRing Indicator
5GNDGround------
The standard RS-232-C limitation of 50 feet (or less) of cable between the DTE (computer) and
DCE (modem) should be followed to minimize transmission errors. Higher baud rates may
require shorter cables.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
5-5
Chapter 5 Input/Output Interfaces
5.4.2 SERIAL TEST INTERFACE
Legacy-free systems do not provide an externally accessible serial port but do include a serial
header connector on the system board to satisfy some the requirements of some operating
systems. The test header and pinout is shown in the following figure:
CD 1
RX Data 3
TX Data 5
DTR 7
Gnd 9
Figure 5-4.
Serial Interface Header (on legacy-free system board)
5.4.3 SERIAL INTERFACE PROGRAMMING
Programming the serial interfaces consists of configuration, which occurs during POST, and
control, which occurs during runtime.
5.4.3.1 Serial Interface Configuration
The serial interface must be configured for a specific address range (COM1, COM2, etc.) and
also must be activated before it can be used. Address selection and activation of the serial
interface are affected through the PnP configuration registers of the LPC47B277 I/O controller.
The serial interface configuration registers are listed in the following table:
Refer to LPC47B277 data sheet for detailed register information.
5.4.3.2 Serial Interface Control
The BIOS function INT 14 provides basic control of the serial interface. The serial interface can
be directly controlled by software through the I/O-mapped registers listed in Table 5-7.
5-6 Compaq iPAQ Family of Internet Devices
First Edition – March 2000
Technical Reference Guide
Table 5–7
. Serial Interface Control Registers
Table 5-7.
Serial Interface Control Registers
COM1
Addr.
3F8h2F8hReceive Data Buffer
3F9h2F9hBaud Rate Divisor Register 1 (when bit 7 of Line Control Reg. Is set)
3FAh2FAhInterrupt ID Register:
3FBh2FBhLine Control Register:
3FCh2FChModem Control Register:
3FDh2FDhLine Status Register:
3FEh2FEhModem Status:
COM2
Addr.RegisterR/W
Transmit Data Buffer
Baud Rate Divisor Register 0 (when bit 7 of Line Control Reg. Is set)
<7> Register acces control:
0 = RX buffer, TX holding, divisor rate registers are accessable.
1 = Divisor rate register is accessable
<6> Break control (forces SOUT singla low if set)
<5> Stick parity (if set, even parity bit is 0, odd parity bit is 1)
<4> Parity type: 0 = odd, 1 = even
<3> Parity enable: 0 = disabled, 1 = enabled
<2> Stop bit: 0 = 1 stop bit, 1 = 2 stop bits
<1,0> Word size: 00 = 5 bits, 01 = 6 bits, 10 = 7 bits, 11 = 8 bits
<7..5> Reserved
<4> Internal loopback enabled (if set)
<3> Serial I/F interrupts enabled (if set)
<2> Reserved
<1> RTS signal active (if set)
<0> DTR signal active (if set)
<7> Parity error, framing error, or Break condition (if set)
<6> TX holding and TX shift registers are empty (if set)
<5> TX holding register is empty (if set)
<4> Break interrupt has occurred (if set)
<3> Framing error has occurred (if set)
<2> Parity error has occurred (if set)
<1> Overrun error has occurred (if set)
<0> Data register ready to be read (if set)
<7..4> DCD-, RI-, DSR, CTS (respectively) active (if set)
<3..0> DCD-, RI-, DSR, CTS (respectively) changed state since last read (if set)
R
W
W
W
R/W
R
W
R/W
R/W
R
R
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
5-7
Chapter 5 Input/Output Interfaces
5.5 PARALLEL INTERFACE
The legacy-light models include a parallel interface for connection to a peripheral device that has
a compatible interface, the most common being a printer. The parallel interface function is
integrated into theLPC47B277 I/O controller component and provides bi-directional 8-bit
parallel data transfers with a peripheral device. The parallel interface supports three main
modes of operation:
♦
Standard Parallel Port (SPP) mode
♦
Enhanced Parallel Port (EPP) mode
♦
Extended Capabilities Port (ECP) mode
These three modes (and their submodes) provide complete support as specified for an IEEE 1284
parallel port.
5.5.1 STANDARD PARALLEL PORT MODE
The Standard Parallel Port (SPP) mode uses software-based protocol and includes two sub-modes
of operation, compatible and extended, both of which can provide data transfers up to 150 KB/s.
In the compatible mode, CPU write data is simply presented on the eight data lines. A CPU read
of the parallel port yields the last data byte that was written.
The following steps define the standard procedure for communicating with a printing device:
1. The system checks the Printer Status register. If the Busy, Paper Out, or Printer Fault signals
are indicated as being active, the system either waits for a status change or generates an error
message.
2. The system sends a byte of data to the Printer Data register, then pulses the printer STROBE
signal (through the Printer Control register) for at least 500 ns.
3. The system then monitors the Printer Status register for acknowledgment of the data byte
before sending the next byte.
In extended mode, a direction control bit (CTR 37Ah, bit <5>) controls the latching of output
data while allowing a CPU read to fetch data present on the data lines, thereby providing bidirectional parallel transfers to occur.
The SPP mode uses three registers for operation: the Data register (DTR), the Status register
(STR) and the Control register (CTR). Address decoding in SPP mode includes address lines A0
and A1.
5-8 Compaq iPAQ Family of Internet Devices
First Edition – March 2000
5.5.2 ENHANCED PARALLEL PORT MODE
In Enhanced Parallel Port (EPP) mode, increased data transfers are possible (up to 2 MB/s) due
to a hardware protocol that provides automatic address and strobe generation. EPP revisions 1.7
and 1.9 are both supported. For the parallel interface to be initialized for EPP mode, a
negotiation phase is entered to detect whether or not the connected peripheral is compatible with
EPP mode. If compatible, then EPP mode can be used. In EPP mode, system timing is closely
coupled to EPP timing. A watchdog timer is used to prevent system lockup.
Five additional registers are available in EPP mode to handle 16- and 32-bit CPU accesses with
the parallel interface. Address decoding includes address lines A0, A1, and A2.
5.5.3 EXTENDED CAPABILITIES PORT MODE
The Extended Capabilities Port (ECP) mode, like EPP, also uses a hardware protocol-based
design that supports transfers up to 2 MB/s. Automatic generation of addresses and strobes as
well as Run Length Encoding (RLE) decompression is supported by ECP mode. The ECP mode
includes a bi-directional FIFO buffer that can be accessed by the CPU using DMA or
programmed I/O. For the parallel interface to be initialized for ECP mode, a negotiation phase is
entered to detect whether or not the connected peripheral is compatible with ECP mode. If
compatible, then ECP mode can be used.
Technical Reference Guide
Ten control registers are available in ECP mode to handle transfer operations. In accessing the
control registers, the base address is determined by address lines A2-A9, with lines A0, A1, and
A10 defining the offset address of the control register. Registers used for FIFO operations are
accessed at their base address + 400h (i.e., if configured for LPT1, then 378h + 400h = 778h).
The ECP mode includes several sub-modes as determined by the Extended Control register. Two
submodes of ECP allow the parallel port to be controlled by software. In these modes, the FIFO
is cleared and not used, and DMA and RLE are inhibited.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
5-9
Chapter 5 Input/Output Interfaces
5.5.4 PARALLEL INTERFACE PROGRAMMING
Programming the parallel interface consists of configuration, which typically occurs during
POST, and control, which occurs during runtime.
5.5.4.1 Parallel Interface Configuration
The parallel interface must be configured for a specific address range (LPT1, LPT2, etc.) and
also must be enabled before it can be used. When configured for EPP or ECP mode, additional
considerations must be taken into account. Address selection, enabling, and EPP/ECP mode
parameters of the parallel interface are affected through the PnP configuration registers of the
LPC47B347 I/O controller. Address selection and enabling are automatically done by the BIOS
during POST but can also be accomplished with the Setup utility and other software.
The parallel interface configuration registers are listed in the following table:
The BIOS function INT 17 provides simplified control of the parallel interface. Basic functions
such as initialization, character printing, and printer status are provide by subfunctions of INT
17. The parallel interface is controllable by software through a set of I/O mapped registers. The
number and type of registers available depends on the mode used (SPP, EPP, or ECP). Table 5-9
lists the parallel registers and associated functions based on mode.
Technical Reference Guide
Table 5–9.
Parallel Interface Control Registers
Table 5-9.
Parallel Interface Control Registers
I/O
AddressRegister
BaseDataLPT1,2,3LPT1,2LPT1,2,3
Base + 1hPrinter StatusLPT1,2,3LPT1,2LPT1,2,3
Base + 2hControlLPT1,2,3LPT1,2LPT1,2,3
Base + 3hAddress--LPT1,2-Base + 4hData Port 0--LPT1,2-Base + 5hData Port 1--LPT1,2-Base + 6hData Port 2--LPT1,2-Base + 7hData Port 3--LPT1,2-Base + 400hParallel Data FIFO----LPT1,2,3
Base + 400hECP Data FIFO----LPT1,2,3
Base + 400hTest FIFO----LPT1,2,3
Base + 400hConfiguration Register A----LPT1,2,3
Base + 401hConfiguration Register B----LPT1,2,3
Base + 402hExtended Control Register----LPT1,2,3
Base Address:
LPT1 = 378h
LPT2 = 278h
LPT3 = 3BCh
SPP Mode
Ports
EPP Mode
Ports
ECP Mode
Ports
The following paragraphs describe the individual registers. Note that only the LPT1-based
addresses are given in these descriptions.
Data Register, I/O Port 378h
Data written to this register is presented to the data lines D0-D7. A read of this register when in
SPP-compatible mode yields the last byte written. A read while in SPP-extended or ECP mode
yields the status of data lines D0-D7 (i.e., receive data).
In ECP mode in the forward (output) direction, a write to this location places a tagged command
byte into the FIFO and reads have no effect.
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
5-11
Chapter 5 Input/Output Interfaces
Status Register, I/O Port 379h, Read Only
This register contains the current printer status. Reading this register clears the interrupt
condition of the parallel port.
BitFunction
7Printer Busy (if 0)
6Printer Acknowledgment Of Data Byte (if 0)
5Printer Out Of Paper (if 1)
4Printer Selected/Online (if 1)
3Printer Error (if 0)
2Reserved
1EPP Interrupt Occurred (if set while in EPP mode)
0EPP Timeout Occurred (if set while in EPP mode)
Control Register, I/O Port 37Ah
This register provides the printer control functions.
BitFunction
7,6Reserved
5Direction Control for PS/2 and ECP Modes:
0 = Forward. Drivers enabled. Port writes to peripheral (default)
1 = Backward. Tristates drivers and data is read from peripheral
4Acknowledge Interrupt Enable
0 = Disable ACK interrupt
1 = Enable interrupt on rising edge of ACK
3Printer Select (if 0)
2Printer Initialize (if 1)
1Printer Auto Line Feed (if 0)
0Printer Strobe (if 0)
Address Register, I/O Port 37Bh (EPP Mode Only)
This register is used for selecting the EPP register to be accessed.
Data Port Registers 0-3, I/O Ports 37C-Fh (EPP Mode Only)
These registers are used for reading/writing data. Port 0 is used for all transfers. Ports 1-3 are
used for transferring the additional bytes of 16- or 32-bit transfers through port 0.
5-12 Compaq iPAQ Family of Internet Devices
First Edition – March 2000
Technical Reference Guide
FIFO Register, I/O Port 7F8h (ECP Mode Only)
While in ECP/forward mode, this location is used for filling the 16-byte FIFO with data bytes.
Reads have no effect (except when used in Test mode). While in ECP/backward mode, reads
yield data bytes from the FIFO.
Configuration Register A, I/O Port 7F8h (ECP Mode Only)
A read of this location yields 10h, while writes have no effect.
Configuration Register B, I/O Port 7F9h (ECP Mode, Read Only)
A read of this location yields the status defined as follows:
BitFunction
7Reserved (always 0)
6Status of Selected IRQn.
5,4Selected IRQ Indicator:
00 = IRQ7
11 = IRQ5
All other values invalid.
3Reserved (always 1)
2..0Reserved (always 000)
Extended Control Register B, I/O Port 7FAh (ECP ModeOnly)
This register defines the ECP mode functions.
BitFunction
7..5ECP Submode Select:
000 = Standard forward mode (37Ah <5> forced to 0). Writes are
controlled by software and FIFO is reset.
001 = PS/2 mode. Reads and writes are software controlled and
FIFO is reset.
010 = Parallel Port FIFO forward mode (37Ah <5> forced to 0). Writes are
hardware controlled.
011 = ECP FIFO mode. Direction determined by 37Ah, <5>. Reads and
writes are hardware controlled.
4ECP Interrupt Mask:
0 = Interrupt is generated on ERR- assertion.
1 = Interrupt is inhibited.
3ECP DMA Enable/Disable.
0 = Disabled
1 = Enabled
2ECP Interrupt Generation with DMA
0 = Enabled
1 = Disabled
1FIFO Full Status (Read Only)
0 = Not full (at least 1 empty byte)
1 = Full
0FIFO Empty Status (Read Only)
0 = Not empty (contains at least 1 byte)
1 = Empty
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
5-13
Chapter 5 Input/Output Interfaces
5.5.5 PARALLEL INTERFACE CONNECTOR
Figure 5-5 and Table 5-10 show the connector and pinout of the parallel interface connector.
Note that some signals are redefined depending on the port’s operational mode.
Figure 5-5.
Parallel Interface Connector (Female DB-25 as viewed from rear of chassis)
Table 5–10. DB-25 Parallel Connector Pinout
Table 5-10.
DB-25 Parallel Connector Pinout
PinSignalFunctionPinSignalFunction
1STB-Strobe / Write [1]14LF-Line Feed [2]
2D0Data 015ERR-Error [3]
3D1Data 116INIT-Initialize Paper [4]
4D2Data 217SLCTIN-Select In / Address. Strobe [1]
5D3Data 318GNDGround
6D4Data 419GNDGround
7D5Data 520GNDGround
8D6Data 621GNDGround
9D7Data 722GNDGround
10ACK-Acknowledge / Interrupt [1]23GNDGround
11BSYBusy / Wait [1]24GNDGround
12PEPaper End / User defined [1]25GNDGround
13SLCTSelect / User defined [1]------
NOTES:
[1] Standard and ECP mode function / EPP mode function
[2] EPP mode function: Data Strobe
ECP modes: Auto Feed or Host Acknowledge
[3] EPP mode: user defined
ECP modes:Fault or Peripheral Req.
[4] EPP mode: Reset
ECP modes: Initialize or Reverse Req.
5-14 Compaq iPAQ Family of Internet Devices
First Edition – March 2000
5.6 KEYBOARD/POINTING DEVICE INTERFACE
The legacy-light models include PS/2-type keyboard/pointing device interfaces for the connection
of a standard enhanced keyboard and a mouse. (Legacy-free models use USB ports for
keyboard/mouse connections.) The keyboard/pointing device interface function is provided by the
LPC47B277 I/O controller component, which integrates 8042-compatible keyboard controller
logic (hereafter referred to as simply the “8042”) to communicate with the keyboard and pointing
device using bi-directional serial data transfers. The 8042 handles scan code translation and
password lock protection for the keyboard as well as communications with the pointing device.
This section describes the interface itself. The keyboard is discussed in the Appendix C.
5.6.1 KEYBOARD INTERFACE OPERATION
The data/clock link between the 8042 and the keyboard is uni-directional for Keyboard Mode 1
and bi-directional for Keyboard Modes 2 and 3. (These modes are discussed in detail in
Appendix C). This section describes Mode 2 (the default) mode of operation.
Communication between the keyboard and the 8042 consists of commands (originated by either
the keyboard or the 8042) and scan codes from the keyboard. A command can request an action
or indicate status. The keyboard interface uses IRQ1 to get the attention of the CPU.
Technical Reference Guide
The 8042 can send a command to the keyboard at any time. When the 8042 wants to send a
command, the 8042 clamps the clock signal from the keyboard for a minimum of 60 us. If the
keyboard is transmitting data at that time, the transmission is allowed to finish. When the 8042 is
ready to transmit to the keyboard, the 8042 pulls the data line low, causing the keyboard to
respond by pulling the clock line low as well, allowing the start bit to be clocked out of the 8042.
The data is then transferred serially, LSb first, to the keyboard (Figure 5-6). An odd parity bit is
sent following the eighth data bit. After the parity bit is received, the keyboard pulls the data line
low and clocks this condition to the 8042. When the keyboard receives the stop bit, the clock line
is pulled low to inhibit the keyboard and allow it to process the data.
Data
Clock
Start
BitD0(LSb)
010110 11110
Th
D1D2D3D4D5D6
Tcl TchTcyTssTsh
ParameterMinimum
Tcy (Cycle Time) 0 us 80 us
Tcl (Clock Low) 25 us 35 us
Tch (Clock High) 25 us 45 us
Th (Data Hold) 0 us 25 us
Tss (Stop Bit Setup) 8 us 20 us
Tsh (Stop Bit Hold) 15 us 25 us
Maximum
D7
(MSb)
Parity
Stop
Bit
Figure 5-6.
8042-To-Keyboard Transmission of Code EDh, Timing Diagram
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
5-15
Chapter 5 Input/Output Interfaces
Control of the data and clock signals is shared by the 8042and the keyboard depending on the
originator of the transferred data. Note that the clock signal is always generated by the keyboard.
After the keyboard receives a command from the 8042, the keyboard returns an ACK code. If a
parity error or timeout occurs, a Resend command is sent to the 8042.
Table 5-11 lists and describes commands that can be issued by the 8042 to the keyboard.
Table 5–11. 8042-To-Keyboard Commands
CommandValueDescription
Set/Reset Status IndicatorsEDhEnables LED indicators. Value EDh is followed by an option
EchoEEhKeyboard returns EEh when previously enabled.
Invalid CommandEFh/F1hThese commands are not acknowledged.
Select Alternate Scan CodesF0hInstructs the keyboard to select another set of scan codes
Read IDF2hInstructs the keyboard to stop scanning and return two
Set Typematic Rate/DisplayF3hInstructs the keyboard to change typematic rate and delay
EnableF4hInstructs keyboard to clear output buffer and last typematic
Default DisableF5hResets keyboard to power-on default state and halts
Set DefaultF6hResets keyboard to power-on default state and enable
Set Keys - TypematicF7hClears keyboard buffer and sets default scan code set. [1]
Set Keys - Make/BrakeF8hClears keyboard buffer and sets default scan code set. [1]
Set Keys - MakeF9hClears keyboard buffer and sets default scan code set. [1]
Set Keys - Typematic/Make/BrakeFAhClears keyboard buffer and sets default scan code set. [1]
Set Type Key - TypematicFBhClears keyboard buffer and prepares to receive key ID. [1]
Set Type Key - Make/BrakeFChClears keyboard buffer and prepares to receive key ID. [1]
Set Type Key - MakeFDhClears keyboard buffer and prepares to receive key ID. [1]
ResendFEh8042 detected error in keyboard transmission.
ResetFFhResets program, runs keyboard BAT, defaults to Mode 2.
Note:
[1] Used in Mode 3 only.
Table 5-11.
8042-To-Keyboard Commands
byte that specifies the indicator as follows:
Bits <7..3> not used
Bit <2>, Caps Lock (0 = off, 1 = on)
Bit <1>, NUM Lock (0 = off, 1 = on)
Bit <0>, Scroll Lock (0 = off, 1 = on)
and sends an option byte after ACK is received:
01h = Mode 1
02h = Mode 2
03h = Mode 3
keyboard ID bytes.
to specified values:
Bit <7>, Reserved - 0
Bits <6,5>, Delay Time
00 = 250 ms
01 = 500 ms
10 = 750 ms
11 = 1000 ms
Bits <4..0>, Transmission Rate:
00000 = 30.0 ms
00001 = 26.6 ms
00010 = 24.0 ms
00011 = 21.8 ms
:
11111 = 2.0 ms
key and begin key scanning.
scanning pending next 8042 command.
scanning.
5-16 Compaq iPAQ Family of Internet Devices
First Edition – March 2000
Technical Reference Guide
5.6.2 POINTING DEVICE INTERFACE OPERATION
The pointing device (typically a mouse) connects to a 6-pin DIN-type connector that is identical
to the keyboard connector both physically and electrically. The operation of the interface (clock
and data signal control) is the same as for the keyboard. The pointing device interface uses the
IRQ12 interrupt.
Programming the keyboard interface consists of configuration, which occurs during POST, and
control, which occurs during runtime.
5.6.3.1 8042 Configuration
The keyboard/pointing device interface must be enabled and configured for a particular speed
before it can be used. Enabling and speed parameters of the 8042 logic are affected through the
PnP configuration registers of the LPC47B347 I/O controller. Enabling and speed control are
automatically set by the BIOS during POST but can also be accomplished with the Setup utility
and other software.
The keyboard interface configuration registers are listed in the following table:
The BIOS function INT 16 is typically used for controlling interaction with the keyboard. Subfunctions of INT 16 conduct the basic routines of handling keyboard data (i.e., translating the
keyboard’s scan codes into ASCII codes). The keyboard/pointing device interface is accessed by
the CPU through I/O mapped ports 60h and 64h, which provide the following functions:
♦
Output buffer reads
♦
Input buffer writes
♦
Status reads
♦
Command writes
Ports 60h and 64h can be accessed using the IN instruction for a read and the OUT instruction
for a write. Prior to reading data from port 60h, the “Output Buffer Full” status bit (64h, bit <0>)
should be checked to ensure data is available. Likewise, before writing a command or data, the
“Input Buffer Empty” status bit (64h, bit <1>) should also be checked to ensure space is
available.
I/O Port 60h
I/O port 60h is used for accessing the input and output buffers. This register is used to send and
receive data from the keyboard and the pointing device. This register is also used to send the
second byte of multi-byte commands to the 8042 and to receive responses from the 8042 for
commands that require a response.
A read of 60h by the CPU yields the byte held in the output buffer. The output buffer holds data
that has been received from the keyboard and is to be transferred to the system.
A CPU write to 60h places a data byte in the input byte buffer and sets the CMD/ DATA bit of
the Status register to DATA. The input buffer is used for transferring data from the system to the
keyboard. All data written to this port by the CPU will be transferred to the keyboard
except
bytes that follow a multibyte command that was written to 64h
I/O Port 64h
I/O port 64h is used for reading the status register and for writing commands. A read of 64h by
the CPU will yield the status byte defined as follows:
BitFunction
7..4General Purpose Flags.
3CMD/DATA Flag (reflects the state of A2 during a CPU write).
0 = Data
1 = Command
2General Purpose Flag.
1Input Buffer Full. Set (to 1) upon a CPU write. Cleared by
IN A, DBB instruction.
0Output Buffer Full (if set). Cleared by a CPU read of the buffer.
A CPU write to I/O port 64h places a command value into the input buffer and sets the
CMD/DATA bit of the status register (bit <3>) to CMD.
5-18 Compaq iPAQ Family of Internet Devices
First Edition – March 2000
Technical Reference Guide
Table 5-13 lists the commands that can be sent to the 8042 by the CPU. The 8042 uses IRQ1 for
gaining the attention of the CPU.
Table 5–13. CPU Commands To The 8042
Table 5-13.
CPU Commands To The 8042
ValueCommand Description
20hPut current command byte in port 60h.
60hLoad new command byte. This is a two-byte operation described as follows:
A4hTest password installed. Tests whether or not a password is installed in the 8042:
A5hLoad password. This multi-byte operation places a password in the 8042 using the following manner:
A6hEnable security. This command places the 8042 in password lock mode following the A5h command.
A7hDisable pointing device. This command sets bit <5> of the 8042 command byte, pulling the clock line
A8hEnable pointing device. This command clears bit <5> of the 8042 command byte, activating the clock
A9hTest the clock and data lines of the pointing device interface and place test results in the output buffer.
AAhInitialization. This command causes the 8042 to inhibit the keyboard and pointing device and places
ABhTest the clock and data lines of the keyboard interface and place test results in the output buffer.
ADhDisable keyboard command (sets bit <4> of the 8042 command byte).
AEhEnable keyboard command (clears bit <4> of the 8042 command byte).
1. Write 60h to port 64h.
2. Write the command byte to port 60h as follows:
Bit <7> Reserved
<6> Keyboard Code Conversion
0 = Do not convert codes
1 = Convert codes to 9-bit 8088/8086-compatible format
Bit <5> Pointing Device Enable
0 = Enable pointing device
1 = Disable pointing device
Bit <4> Keyboard Enable
0 = Enable keyboard
1 = Disable keyboard
Bit <3> Reserved
Bit <2> System Flag
0 = Cold boot
1 = CPU reset (exit from protected mode)
Bit <1> Pointing Device Interrupt Enable
0 = Disable interrupt
1 = Enable interrupt
Bit <0> Keyboard Interrupt Enable
0 = Disable interrupt
1 = Enable interrupt
If FAh is returned, password is installed.
If F1h is returned, no password is installed.
1. Write A5h to port 64h.
2. Write each character of the password in 9-bit scan code (translated) format to port 60h.
3. Write 00h to port 60h.
The correct password must then be entered before further communication with the 8042 is allowed.
of the pointing device interface low.
line of the pointing device interface.
00h = No error detected
01h = Clock line stuck low
02h = Clock line stuck high
03h = Data line stuck low
04h = Data line stuck high
55h into the output buffer.
00h = No error detected
01h = Clock line stuck low
02h = Clock line stuck high
03h = Data line stuck low
04h = Data line stuck high
Continued
Compaq iPAQ Family of Internet Devices
First Edition - March 2000
5-19
Chapter 5 Input/Output Interfaces
Table 5-13.
ValueCommand Description
C0hRead input port of the 8042. This command directs the 8042 to transfer the contents of the input port
C2hPoll Input Port High. This command directs the 8042 to place bits <7..4> of the input port into the
C3hPoll Input Port Low. This command directs the 8042 to place bits <3..0> of the input port into the lower
D0hRead output port. This command directs the 8042 to transfer the contents of the output port to the
D1hWrite output port. This command directs the 8042 to place the next byte written to port 60h into the
D2hEcho keyboard data. Directs the 8042 to send back to the CPU the next byte written to port 60h as if
D3hEcho pointing device data. Directs the 8042 to send back to the CPU the next byte written to port 60h
D4hWrite to pointing device. Directs the 8042 to send the next byte written to 60h to the pointing device.
E0hRead test inputs. Directs the 8042 to transfer the test bits 1 and 0 into bits <1,0> of the output buffer.
F0hFFh
CPU Commands To The 8042
to the output buffer so that they can be read at port 60h. The contents are as follows:
Bit <7> Password Enable:
0 = Disabled
1 = Enabled
Bit <6> External Boot Enable:
0 = Enabled
1 = Disabled
Bit <5> Setup Enable:
0 = Enabled
1 = Disabled
Bit <4> VGA Enable:
0 = Enabled
1 = Disabled
Bit <3> Diskette Writes:
0 = Disabled
1 = Enabled
Bit <2> Reserved
Bit <1> Pointing Device Data Input Line
Bit <0> Keyboard Data Input Line
upper half of the status byte on a continous basis until another command is received.
half of the status byte on a continous basis until another command is received.
output buffer so that they can be read at port 60h. The contents are as follows:
Bit <7> Keyboard data stream
Bit <6> Keyboard clock
Bit <5> IRQ12 (pointing device interrupt)
Bit <4> IRQ1 (keyboard interrupt)
Bit <3> Pointing device clock
Bit <2> Pointing device data
Bit <1> A20 Control:
0 = Hold A20 low
1 = Enable A20
Bit <0> Reset Line Status;
0 = Inactive
1 = Active
output port (only bit <1> can be changed).
it originated from the keyboard. No 11-to-9 bit translation takes place but an interrupt (IRQ1) is
generated if enabled.
as if it originated from the pointing device. An interrupt (IRQ12) is generated if enabled.
Pulse output port. Controls the pulsing of bits <3..0> of the output port (0 = pulse, 1 = don’t pulse).
Note that pulsing bit <0> will reset the system.
The legacy-light model provides separate PS/2 connectors for the keyboard and pointing device.
Both connectors are identical both physically and electrically. Figure 5-7 and Table 5-14 show
the connector and pinout of the keyboard/pointing device interface connectors.
The Universal Serial Bus (USB) interface provides asynchronous/isochronous data transfers of up
to 12 Mb/s with compatible peripherals such as keyboards, printers, or modems. This high-speed
interface supports hot-plugging of compatible devices, making possible system configuration
changes without powering down or even rebooting systems.
NOTE:
using USB peripherals,
It is recommended to run the Windows 98 (or later) operating system when
especially a USB keyboard and USB mouse
. Problems may be
encountered when using USB devices with a system running Windows 95, although
some peripherals (such as a modem and/or a camera) may operate satisfactorily.
As shown in Figure 5-8, the USB interface is provided by the 82801 ICH component and a USB
hub component. All models provide two front-panel accessible series-A USB ports. The legacyfree system provides three additional series-A USB ports on the rear panel.
NOTE:
For more information on the USB interface refer to the following web site:
http://www.usb.org
Rear Panel
USB Port 0
USB Port 1
USB Port 2
Front Panel
USB Port 3
82801
ICH
USB
I/F
Tx/Rx Data
Tx/Rx Data
USB
Hub
Legacy-free systems onl
Figure 5-8.
USB I/F, Block Diagram
5.7.1 USB DATA FORMATS
The USB I/F uses non-return-to-zero inverted (NRZI) encoding for data transmissions, in which
a 1 is represented by no change (between bit times) in signal level and a 0 is represented by a
change in signal level. Bit stuffing is employed prior to NRZ1 encoding so that in the event a
string of 1’s is transmitted (normally resulting in a steady signal level) a 0 is inserted after every
six consecutive 1’s to ensure adequate signal transitions in the data stream.
5-22 Compaq iPAQ Family of Internet Devices
USB Port 4
First Edition – March 2000
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.