Chapter
3 Programming
Static DIO Register-Level Programmer Manual
3-4
ni.com
The base address is now 0xD1000. Make sure the re-mapped PCI MITE and the
NI 6509/651
x
/6520/6521/6528 memory ranges are not used by another device or system
resource. You can exclude this memory from use with a memory manager.
CWrite(0x14,0x000D1000)
//Write the address to which you want to re-map the
device (other than the PCI MITE) to PCI configuration
space offset 0x14 (BAR1).
//Create the window data value by masking the new
device address:window data value = ((0xFFFFFF00
AND new device address) OR (0x00000080)).
//If you are not re-mapping the device, then the new
device address is the value in BAR1.
Write(0xD00C0,0x000D1080)
//Write the window data value to offset 0xC0 from the
new PCI MITE address. If you are not re-mapping the
device, then the new PCI MITE address is the value in
BAR0.