Hi there, I have set up a PCI-MXI-2 card along with a VME-MXI-2 installed in the first slot of our VME crate.
To start, I am trying to access just one VME device in the slot next to the VME-MXI-2.
When I pulled this card out of the crate, the address was set to 0x02900000 and I decided I would leave it there to start out with. In vxiedit, I created a VME device with this base address, but whenever I try to read anything from the device in VIC to test it out, I just get invalid address. Am I missing something here? Do I need to explicitly specify this address window to the VME-MXI-2 or something?
I did find this bit of info on the Resman explanation page:
"Do I need to run Resman if I only have VME devices in my VME Chassis?No,
RESMAN is a VXIbus utility and performs no operations on VME devices.
However, RESMAN does perform an important task on the VME-MXI devices.
Resman programs the window registers of each VME-MXI to allow bus
accesses to go into the mainframe. If you have only a single mainframe
system, then you need to write the value 0x4700 to the 0xA register of
the VME-MXI, and write the value 0x6000 to the 0xC, 0xE, and 0x10
registers of the VME-MXI, before you can access any other devices in
the system. If you have more than one mainframe, consult the VXI-MXI
User Manual or VME-MXI User Manual, or contact National Instruments
technical support for more information on configuring the VME-MXIs."
I have noticed that the values I get when I use VIC to read these 0xA, 0xC, 0xE, and 0x10 registers are not what this little explanation says needs to be there. Is this the problem? And shouldn't Resman be setting up the correct values when it sees that I only have one frame?
Thanks,
Steve