Texas Instruments is providing this software on an as is basis and makes
no warranty; either expressed, implied or statutory (including any
implied warranty or merchantability or fitness for a specific purpose) of
this software.
The default action taken by this driver is to scan the PCI bus and
initialize the TI PCI devices. Tipci.sys will configure multiple
devices (up to 32). Tipci.sys does not stay resident in memory.
This driver is intended solely as an initialization tool.
The tipci.sys device driver has builtin support for these devices:
1030, 1031, 1120, 1130, 1131, 1210, 1211, 1220, 1250, 1260, 2030, 2031
Other devices may be configured through use of the 'userid' command line
option.
Legacy EXCA Base Addressing:
The driver will assign Legacy EXCA base addresses for each device.
The initial default address is 3e0 (hex). The Lecacy EXCA base
is adjusted automatically for each successive device.
The remainder of this document is divided into the following sections:
Command Line Options:
Explanation and usage of command line options.
Command Line Option Search Order:
The command line options can be abbreviated. This describes
the search order and possible conflicts.
Advanced Usage:
Command line examples and explanations.
Device Specific:
Default settings of the driver for each device. The PCI
register offset and bit settings modified by the driver.
Command Line Options:
The default action of the tipci.sys driver can be altered through the
use of command line switches. The following rules apply to all command
line optoins:
The command line options are not order dependent.
There are no mandatory options.
All options are case insensitive.
The format for the command line is as follows:
|--- white space
| |-command line option
| | |-delimit(optional)
| | | |-option argument
| | | ||-required delimit
driver path and name | | | |||-next argument
|---------------------------||--||------|| |||
DEVICEHIGH=Drive:\PathToDriver\tipci.sys /device:10,12
white space -- Any number of spaces or tabs. There MUST be at LEAST
ONE white space character between the device name and
the option. Options may be prefixed with '/' or
'-' for clarity.
options ------- By default ALL OPTIONS are globally passed to ALL TI
DEVICES found by the driver. Any number and/or
combination of options is allowed. All options are
scanned and assigned before any device setup occurs.
In the case of options that conflict, the last option
overrides. Options can be abbreviated down to a single
character. Use this feature carefully, many options
start with the same characters.
The following section names each option and describes its use. For
specific settings per each TI PCI device refer to the section for
that device.
Option Description
------------------------------------------------------------------------
base Set Legacy EXCA Base address
This option allows the EXCA address to be defined. The
given address will be assigned to the first PCI device
found. Succeeding addresses will be assigned starting
from the last specified address. Multiple addresses may
be used by separating each address with a comma. Multiple
addresses are assigned to devices in the drivers scan order.
examples:
base:3e2
Assigns a Legacy EXCA base of 3e2h to the
first device found.
base:3e2,3e6,3ec
Assigns the given Legacy EXCA base addresses
to the first three devices found.
Note: Legacy EXCA addresses are only given to and
modified by devices with a bridge (06h) class
code and either a PCMCIA (05h) or CardBus (07h)
bridge subclass.
cscint Card Status Change Interrupt enable.
cscint:1 -- CSC Interrupt routing is enabled.
cscint:0 -- CSC Interrupt routing is disabled.
debug Driver Debug
This option causes the driver to halt after
executing and wait for an 'ENTER' key.
device Set Device
This option allows a particular device to be targeted.
When this option is used the automatic PCI bus scan
is disabled and only devices explicitly selected will
be setup. The targeted devices will be setup even if
they are unknown. Unknown devices will receive a Legacy
EXCA base address if appropriate. No other action is
taken by default. To perform further action to an
unknown device use the 'exec' option.
The device number is the decimal number indicating that
device's location on the PCI bus. Devices on PCI buses
other than 0 can be accessed by using modulo 32 device
numbers.(device 32 is device 0 on bus 1, device 64 is
device 0 on bus 2, etc....). Multiple device id's may
be used by separating each id with a comma.
examples:
d10
targets bus 0, device 10
d10,11,12
targets bus 0, devices 10 - 12
device33
targets bus 1, device 1
Note:
The targeted device does not have to be a TI
PCI device.
devid User Defined Device Id
This option allows a user defined device id to be assigned.
This allows unknown TI PCI devices to be scanned and
targeted by the driver. Using a known device id will cause
the driver to initialize the device twice.
See the 'Advanced Usage' section for an example.
exclusive Exclusively Targets the User Defined Device
This option limits the drivers PCI bus search to only
the user defined device. See the 'Advanced Usage'
section for an example.
exec Execution String
This option allows a string of commands to be executed.
The execution string is applied to all devices targeted
by the driver. This option executes even if the 'noop'
option is used. This allows targeted devices to skip the
default setup and still receive the execution string.
The commands are executed sequentually from left to right.
The command syntax for the execution string is as follows:
hexvalue:hexvalue -- PCI register:value
Lhexvalue:hexvalue - Legacy Mode EXCA register:value
Xhexvalue:hexvalue - CardBus EXCA register:value
examples:
44:00003e0
double word (000003e0h) write to PCI reg 44h
44:3e0
word (03e0h) write to PCI reg 44h
c:8
byte (08h) write to PCI reg 0ch
L2:91
byte (91h) write to Legacy EXCA register 7
X807:91
byte (91h) write to CardBus EXCA register 807
Note:
The number of hexdigits in the argument determines
the data width for PCI and CardBus writes. Legacy
writes are always one byte.
Warning:
L and X commands require base addresses to be assigned
prior to use.
See the 'Advanced Usage' section for an example.
funcint Functional Interrupt enable
funcint:1 -- Functional Interrupt routing is enabled
funcint:0 -- Functional Interrupt routing is disabled
gp3 GPIO3/IntA# Mode
This option programs the GPIO3/IntA# pin.
example:
gp3:00
Sets GPIO3/IntA# to PCI INTA#
inta IntA#/GPIO3 Mode (same as 'gp3')
See the comments above for 'gp3'.
example:
inta:00
intmode Interrupt Mode
This option programs the interrupt mode. See the
section specific to the TI PCI device in question
for the default setting.
example:
intmode:01
mech Set PCI Access Mechanism
This option allows the PCI bus configuration access
method to be changed as follows:
mech:1 (default)
mech:2
mech:3 (access PCI through the system BIOS)
mux Set IRQ MUX Routing
This option sets the IRQ mux routing. The format for
this option is:
muxY:Z
Y -- decimal values 0 - 7
Z -- devimal values 0 - 15
example:
mux0:7
Assigns a value of 7 to mux 0.
See the device specific section for default settings.
noop No Operation
This option disables the preprogrammed behavior of
the driver. When the 'noop' option is used the
default driver settings will not be applied. This
option used with the 'exec' option provides a method
for reconfiguring known devices.
See the 'Advanced Usage' section for an example.
nor2 No R2.
All preprogrammed operations and options targeting
the following PCI registers are DISABLED:
register Description
4 Command Register
3e PCI Interrupt-IREQ routing
44 Legacy EXCA Base Address
91 Card Control Register
92 Interrupt Mode
par Parallel Interrupt Mode
This option puts the controller into parallel interrupt
mode. See the device specific section for actual settings.
pciint PCI Interrupt Enable
pciint:1 -- PCI Interrupt routing is enabled
pciint:0 -- PCI Interrupt routing is disabled
psclk Power Switch Clock Enable
This option programs the power switch clock bit. See
the device specific section for default settings.
psclk:1 -- Power Switch Clock enabled
psclk:0 -- Power Switch Clock disabled
retry Retry Clocks (Discard Timer)
This option selects the number of clock cycles that must
expire before the bridge can discard status or data from
a delayed transaction.
retry:0 -- Discard Timer 2^15 clocks
retry:1 -- Discard Timer 2^10 clocks
stopoff Do not stop on error
The tipci driver will normally halt on a detected
error and wait for an 'ENTER' key. This option
causes the driver to continue on through any errors
without stopping.
tie Interrupt Tie
This option internally ties IntA# and IntB# together
and signals them as IntA#.
userid User Defined Id
Same as 'devid'.
v82365 Set 82365 Version
This option allows the EXCA Identification
and Revision register to be altered.
example
v82365:4
Assigns a value of 4 to the EXCA Revision
verbose Set Verbose Level
This option adjusts the level of diagnostic console
output during driver execution.
verbose:0 --- Least output, only critical messages
verbose:1 --- PCI device number of found devices (default)
verbose:2 --- PCI Device Ids scanned for
verbose:3 --- Command line options processed
writep Write Posting Enabled
This option enables Write Posting.
example
writep
zoom Zoom Video Enabled
This option enables zoom video.
zoom:1 -- enable port A
zoom:2 -- enable port B
zoom:3 -- enable both A and B
Command Line Option Search Order:
The tipci driver allows the command line options to be abbreviated.
Ambiguity is resolved by first-best-fit selection. This means that
the option found first that best matches the command line is used.
The search order of options is as follows:
cscint, funcint, inta, gp3, intmode, noop, nor2, pciint, psclk,
mux, mech, device, base, v82365, verbose, exec, userid, devid,
writep, zoom, retry, exclusive, par, stopoff, tie, debug
example:
In the command line:
drive:\path\tipci.sys /d10
The /d resolves to a 'device' option even though the 'devid'
and 'debug' options also start with 'd'.
To display each command line option as it is processed set the
verbose level to 3 or more with this option:
verbose:3
Advanced Usage:
This section will hopefully shed some light on the usefulness
of some of the more obscure options. Each example will consist of
a command line and a breakdown of the resulting action taken by the
driver. These examples are for illustration only.
Example #1:
device=drive:\path\tipci.sys device:10,11,13 base:3e0,3ea
The driver will attempt to match PCI devices 10, 11, and 13
on bus 0 to a known TI PCI device. If this attempt fails
the device will be processed as an unknown device. Each device
will then be setup according to the resolved device type. The
Legacy EXCA base addresses will be assigned as follows:
device 10 -> 3e0
device 11 -> 3ea
device 13 -> 3ec
Only devices 10, 11 and 13 will be affected by the driver
even if other TI PCI devices exist in the system.
Example #2:
device=drive:\path\tipci.sys devid:ACAC
The driver will add this device id to the list of known
TI PCI devices. If this device is found in the PCI bus
search then it will be setup just like a PCI1130. All
other devices found by the driver are setup according to
their programmed defaults. The specified device will
be setup first followed by any other known devices.
Example #3:
device=drive:\path\tipci.sys devid:ACAC exclusive
The driver will add this device id to the list of known
TI PCI devices. If this device is found in the PCI bus
search then it will be setup just like a PCI1130. This
is the only device the driver will target on this execution.
Example #4:
device=drive:\path\tipci.sys devid:ACAC exclu exec:x807:91
This is the same as example #3 except that the driver will
write a value of 91h to the byte at CardBus EXCA address
807h. The CardBus EXCA access will only be performed if the
CardBus EXCA address register is set.
Example #5:
device=drive:\path\tipci.sys device:42 exec:x807:91
The driver will target PCI bus 1 device 10. If this device
exist the driver will write a value of 91h to the byte at
CardBus EXCA address 807h. The CardBus EXCA access will only
be performed if the CardBus EXCA address register is set.
Example #6:
device=drive:\path\tipci.sys /device:10 noop exec:x807:91
device=drive:\path\tipci.sys
This example illustrates loading the driver twice to achieve
the desired result. The first load of the driver targets
PCI bus 0 device 10. The device will not receive the default
1130 programming due to the 'noop'. The execution string however
will be executed on the device. The second load will then
find any known TI PCI devices in the system and set them up
accordingly.
Device Specific:
This section list the default settings for each TI PCI device.
Refer to the specific device data sheet for detailed information
on register settings and their side effects. The format for each
segment will be:
PCI Id (Part Name):
register default setting option to modify this setting
________________________________________________
AC11 (PCI1030):
PCI 10h 3e0h base
------------------------------------------------
AC13 (PCI1031):
PCI 44h 3e0 base
PCI 04h set bits 0 & 1
PCI 3eh set bit 7
PCI 91h set bits 3, 4 & 5 cscint,funcint,pciint
PCI 92h set bit 1, reset bit 2 intmode
------------------------------------------------
AC19 (PCI1120):
PCI 8ch 00d71c67 mux
PCI 44h 3e0 base
PCI 04h set bits 0 & 1
PCI 3eh set bit 7
PCI 92h set bit 1 & 2 intmode
PCI 80h set bit 27
------------------------------------------------
AC12 (PCI1130):
PCI 44h 3e0 base
PCI 04h set bits 0 & 1
PCI 3eh set bit 7
PCI 91h set bits 3, 4 & 5 cscint, funcint, pciint
PCI 92h set bit 1, reset bit 2 intmode
------------------------------------------------
AC15 (PCI1131):
PCI 44h 3e0 base
PCI 04h set bits 0 & 1
PCI 3eh set bit 7
PCI 91h set bits 3, 4 & 5 cscint, funcint, pciint
PCI 92h set bit 1, reset bit 2 intmode
------------------------------------------------
AC1A (PCI1210):
AC1E (PCI1211):
PCI 8ch 00d21c67 mux
PCI 44h 3e0 base
PCI 04h set bits 0 & 1
PCI 3eh set bit 7
PCI 91h set bits 3, 4 & 5 cscint, funcint, pciint
PCI 92h set bit 1, reset bit 2 intmode
PCI 80h set bit 27, psclk
reset bit 29 tie
PCI 91h set bit 1
------------------------------------------------
AC17 (PCI1220):
PCI 8ch 00d71c67 mux
PCI 44h 3e0 base
PCI 04h set bits 0 & 1
PCI 3eh set bit 7
PCI 92h set bit 1 & 2 intmode
PCI 80h set bit 27, psclk
reset bit 29 tie
------------------------------------------------
AC16 (PCI1250):
PCI 80h set bit 27, psclk
PCI 8bh reset bits 6 & 7 gp3,inta
PCI 8ch fecba975h mux
PCI 44h 3e0 base
PCI 04h set bits 0 & 1
PCI 3eh set bit 7
PCI 92h set bit 1, reset bit 2 intmode
------------------------------------------------
AC1D (PCI1251):
PCI 80h set bit 27, psclk
PCI 8bh reset bits 6 & 7 gp3,inta
PCI 8ch fecba975h mux
PCI 44h 3e0 base
PCI 04h set bits 0 & 1
PCI 3eh set bit 7
PCI 92h set bit 1, reset bit 2 intmode
------------------------------------------------
AC18 (PCI1260):
PCI 80h set bit 27, psclk
PCI 8bh reset bits 6 & 7 gp3,inta
PCI 8ch 75h mux
PCI 44h 3e0 base
PCI 04h set bits 0 & 1
PCI 3eh set bit 7
PCI 92h set bit 1, reset bit 2 intmode
AC20 (PCI2030):
PCI 70h set bit 6
PCI 6dh set bit 3
------------------------------------------------
AC21 (PCI2031):
PCI 6dh reset bit 5 (rev 0 part only)
------------------------------------------------
Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.