Embedded Solutions
Page 9 of 46
Programming
Programming the PMC-XM requires only the ability to read and write data from the host.
The base address is determined during system configuration of the PCI bus. The base
address refers to the first user address for the slot in which the PMC is installed. The
VendorId = 0x10EE. The CardId = 0x0024. Current revision = 0x07
Depending on the software environment it may be necessary to set-up the system
software with the PMC-XM "registration" data. For example in WindowsNT there is a
system registry, which is used to identify the resident hardware.
To use DMA it will be necessary to acquire a block of non-paged memory that is
accessible from the PCI bus in which to store chaining descriptor list entries.
At Dynamic Engineering the PMC-XM-DIFF is tested in a Windows environment and we
use the Dynamic Engineering Drivers to do the hardware accesses and manage the
DMA’s. We use MS Visual C++ in conjunction with the drivers to write our test software.
Please consider purchasing the engineering kit for the PMC-XM; the software kit
includes the drivers and our test suite.
The Spartan3 address space begins at address offset 0, the Virtex address space
begins at offset 0x400.