Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I access rigester of pci8431(RS484/422) ?

HI
   I'm using Ardence RTX to access the PCI8431's regiser.But I can't find where the right Base Register?
   i knew the card was use 16pci954 uart, and in the windows it only map the BAR0. So i try to access the base of BAR0,
but i didn't think i find the right position.  I read a number of content   from the base of BAR0, but it had no scense that it was
the register of a uart.   
    I tried another company's card  with the same uart ,it work's well.
    where is the right access point of the base of Uart?
    Thank you very much.
0 Kudos
Message 1 of 10
(11,958 Views)
I read the memory map from BAR0, find the port 0 's base address has 2048 bytes offset from BAR0.
But when i Converting it from Windows Device to an RTX Device and read the memory map from BAR0, i can't find the port 0 's base address .i don't know why memory map changed?
Does the memory map  decided by a eprom in the card and the eprom was written by the NI serials drivers when system start.
 
some one help me?  thank you very much!!
0 Kudos
Message 2 of 10
(11,949 Views)
Hi,

Currently, we only provide documentation for the 842x series and do not have any such documentation for the 843x series. The best way to provide feedback is through product suggestions. Each product suggestion is addressed by an engineer, and while we cannot guarantee if or when this suggestion would be implemented, we love to get feedback on our products. Here is a link to create product feedback. 

It's possible that someone in the community has had success with this. I'm sorry I don't have a better answer for you!

Regards,

Missy S.
Project Engineer
RoviSys
0 Kudos
Message 3 of 10
(11,927 Views)
eastf,
 
I am also trying to use Ardence RTX with this card. Did you get anywhere with it?
 
Thanks
Robin
0 Kudos
Message 4 of 10
(11,593 Views)

Hi Robin,

You will have to use the VISA property node and select 'Allow DMA Access' property from the second 'General Settings' tab.

Thanks,

Arjun K

National Instruments
Applications Engineer
0 Kudos
Message 5 of 10
(11,577 Views)

HI rgambin

        I still leave the card in the corner.  instead , using another rs422 card .  I write a drivers,  and it work well .  The driver now can used in three kinds rs422 card , including 954 uart or standard 16550c uart  and standard PC's rs232 com.

        If need my help, i can send your example.

 

To    Missy

       How can i get the 842x 's DDK, maybe I can find the 8431's BAR0 with the help of it. thanks.

0 Kudos
Message 6 of 10
(11,492 Views)
Hi Eastf,
 
I am afraid there is not a driver development kit available for NI-Serial.  I'm not sure what documentation Missy was refering to, but there is no DDK for the 842x boards.  Additionally, while registry level programming is posible with NI boards, it is not supported by National Instruments.  I am sorry for any inconvenience. 
 
Ted
Ted H
Applications Engineering
National Instruments
0 Kudos
Message 7 of 10
(11,451 Views)

Hi Eastf,

I was able to find the documents Missy was refering to.  Link Missy said, this is only good for the legacy 842x boards, and not the 843x boards.  Here is the link to the document: http://www.ni.com/pdf/manuals/322539a.pdf

Ted

Ted H
Applications Engineering
National Instruments
0 Kudos
Message 8 of 10
(11,447 Views)
sir,
I am working on windows drivers programming for ATS-PXI-DIO16 product using lab view.How to write WDM code in vc++ for READ and WRITE operations (which functions i have to use) to access the BAR Registers for PCI-DIO device. 
0 Kudos
Message 9 of 10
(11,396 Views)
Hi Reddyk,
 
For register level programming, I would recommend looking at the DAQ Register Level Programming Manual, linked here.  For further register level programming resources, take a look at the following KnowledgeBase, linked here.  These will give you a lot of information on RLP for DIO, for more specific questions regarding DAQ RLP, please post on the DAQ discussion forums. 
 
Thanks!
 
Ted
Ted H
Applications Engineering
National Instruments
0 Kudos
Message 10 of 10
(11,368 Views)