I don't have any easy way to read or write to the MITE registers
outside of my driver.
I was having problems with the function "nipci_init_tnt_mite" in
the GPIB DDK. In order to activate the TNT window, I had to
read the board addresses, and then write back the TNT value
with the line "MITEout32((base0 + 0xc0), (pbar1 | 0x80)); ".
This was failing, until I understood that the TNT address value
had to be read one way, and then written back with the words
reversed.
The initialization is now going through without errors, so I am
moving on to the next stage of my driver. However, I was
wondering if this behaviour was documented somewhere.
As I noted in my previous post, this seems a very puzzling way to
do things. It seems like swapping the word values is the default,
but if that is the case, why are there so many exceptions.
Since the MITEin32 and MITEout32 functions are only used
to initialize the board, I am no longer concerned with them. It looks
like all further accesses to the board are 8 or 16 bits.
Thanks for your help, I didn't have any idea what the correct
values for any of the MITE registers might be before you posted.