Specifications
1 I/O Drivers
1-4
Memory-Mapped Devices
Some supported boards in the xPC Target I/O library are memory-mapped
devices, for example, Burr-Brown boards. These memory-mapped boards are
accessed in the address space between 640K and 1M in the lower memory area.
xPC Target reserves a 112 kB memory space for memory mapped devices in the
address range:
C0000 - DC000
Base addresses of memory-mapped devices must be chosen within this memory
space for your target application to work properly.
PCI Bus I/O Devices
The xPC Target I/O Library supports I/O boards with a PCI-bus. During the
boot process, the BIOS creates a conflict-free configuration of base addresses
and interrupt lines for all PCI devices in the target system. The user does not
need to define any base address information in the dialog boxes of the drivers.
All PCI device driver blocks have an additional entry in their dialog box. This
entry is called
PCI Slot (-1 Autodetect) and allows you to use several
identical PCI boards within one target system. This entry uses a default value
of
-1, which allows the driver to search the entire PCI bus to find the board.
When more than one board of the same type is found, it is necessary for you to
use a designated slot number and avoid the use of autodetection. For manually
setting the slot number you use a number greater than or equal to zero. If the
board is not able to locate this slot in the target PC, your target application will
generate an error message after downloading.
If this additional entry is set to any value equal to or greater than
0, you must
be aware of the manufacturer’s identification number (vendor ID) and the
board identification number (Device ID) of those boards supported by the
I/O library. When the target is booted, the BIOS is executed and the target PC
monitor shows parameters for any PCI boards installed on the target PC. An
example is show below:
Bus No.Device No.Func. No.Vendor IDDevice IDDevice ClassIRQ
0 4 1 8086 7111 IDE controller14/15
0 4 2 8086 7112 Serial bus controller10
0 11 0 1307 000B Unknown PCI deviceNA
1 0 0 12D2 0018 Display controller11