Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Why the memory of PXI-8431/2 can't be mapped in non-Windows environment?

Hello Everyone,

 

I would like to develop a RTX driver for PXI-8431/2. I have successfully developed several OX16C954 based multi-port boards. But I met a memory map problem with PXI-8431.

 

In Windows environment, I had found the offset for each port ( based on bar[0] ). I read LSR, ISR, and the contents were all correct. However, once I uninstalled the Windows driver, the memory map seemed lost. I found out this problem in RTX. And my colleague had helped me to make a test in Linux 2.4. It seems the memory could not map to bar[0] in all non-Windows environment!

 

I guess there are two possible reasons. One is the Windows driver will rewrite the eeprom when the hardware reset. The other possibility is maybe there is something like firmware which has to be written into the board in order to make the memory-map work well. In a word, I think the Windows driver for PXI-8431/2 includes something unique which can enable the memory-map to bar[0].

 

Could anybody help me to point out what the problem is and how can I solve this problem in non-Windows environment? I will be very appreciated for that since I was puzzled for more than one month about this hurry case. If it is not convenient, please directly write to my email zhangjing@msptc.com. Thank you once more!

 

Sincerely,

 

Rick
MSP

0 Kudos
Message 1 of 4
(3,891 Views)

Could anybody please help me to solve this headache?

 

Thanks a lot!

0 Kudos
Message 2 of 4
(3,857 Views)

now i want to write driver under rtx about PXI-8431,but i dont kown how to write ,can you give me some examples under rtx about PXI-8431? thank you!

beilei
0 Kudos
Message 3 of 4
(3,534 Views)
0 Kudos
Message 4 of 4
(3,527 Views)