A_Ryan...
Thanks for the very useful and quick response. That article escaped my earlier search and is exactly the document I needed for this project. I've read it through and still have a couple of questions.
However, let me say that I did get the memory card working by moving it to a different slot. I had it in the last slot and now wonder if there was a bus termination issue that was hampering my progess. In any case, I am now able to read the single 8-bit register in A16 and various memory locations in the patch of A24 mapped to the memory card. All good.
My questions are as follows:
1. I noticed (after moving the card to the new slot) that resman found the 8-bit register in A16 and created a VME device at logical address
248 that mapped 256 bytes at this address (happens to be 0xFE00). Using this resource, I was able to read/write this register on the memory card. Note that this was before I added the VME device to the configuration on my own... resman just found it and made it logical address 248. Why/how did resman recognize and automatically configure this A16 item? And, why did it
not see and auto-configure the A24 memory also supported by the card?
2. Will I always have to rely on resman (along with MAX - which I assume is the same as the "T&M Explorer" referenced in the article?) to define the various devices and address spaces in order to write VISA-compliant software that works with my VME cards? What I am wondering is if all of this (VME resource addition, adding of address spaces, assignment of logical addresses, assignment of IRQs) can be done
programmatically or if someone will always need to run resman on a newly installed system and add the VME resources manually to get the system up and running?
3. I see that VME devices are added as INSTR resources... does this matter? I thought they would be MEMACC (which to me seems to be more basic than INSTR).
Thanks again for your precisely targeted help.
-felben