Does Dev32.ser support National cPCI/PXI Card ?

Hi folks,

I’d be interested and greatful if anybody has had any experiences, good
or bad, using a National Instruments serial card under QNX4.25

I’ve got a National PXI card on sale or return (cue smart
suggestions…!) and I’m trying to drive it using the standard serial
driver Dev32.ser. I have got the IO address and interupt line of the
ports using the show_pci command and executed the serial driver using:

Dev32.ser 3f8,4 e000,5 e400,5 e800,5 ec00,5 &

Whilst I do get five serial devices appearing in the /dev directory I
do not observe any data transmitted at any of the National card’s
output ports.

Does anybody have any similar experiences using this or similar
national cards ?

Are there any other ‘fiddley’ options I need to set in the standard
device driver ?

Just for information, the specific card type I have is PXI-8423, four
channel opto-isolated RS-485 and the sales blurb claims that the UART
is based on the 16Cx50 family.

Many thanks in anticipation,

Andy


You never really learn to swear
until you learn to drive

In article <8rsec9$qse$1@nnrp1.deja.com>, Andy says…

Hi folks,

I’d be interested and greatful if anybody has had any experiences, good
or bad, using a National Instruments serial card under QNX4.25

I’ve got a National PXI card on sale or return (cue smart
suggestions…!) and I’m trying to drive it using the standard serial
driver Dev32.ser. I have got the IO address and interupt line of the
ports using the show_pci command and executed the serial driver using:

Dev32.ser 3f8,4 e000,5 e400,5 e800,5 ec00,5 &

The serial controllers are not accessed via IO port addresses … the
controllere interface must be mapped into the memory based on a
‘base address register’. That means the standard ISA driver doesn’t work.

Whilst I do get five serial devices appearing in the /dev directory I
do not observe any data transmitted at any of the National card’s
output ports.

Does anybody have any similar experiences using this or similar
national cards ?

No … but with other cPCI boards.

Are there any other ‘fiddley’ options I need to set in the standard
device driver ?

You can’t use the standard (ISA) drivers.


Just for information, the specific card type I have is PXI-8423, four
channel opto-isolated RS-485 and the sales blurb claims that the UART
is based on the 16Cx50 family.

Ask NI for portable sources …


Armin

http://www.steinhoff.de

In article <8rsec9$qse$1@nnrp1.deja.com>, Andy says…

Hi folks,

I’d be interested and greatful if anybody has had any experiences, good
or bad, using a National Instruments serial card under QNX4.25

I’ve got a National PXI card on sale or return (cue smart
suggestions…!) and I’m trying to drive it using the standard serial
driver Dev32.ser. I have got the IO address and interupt line of the
ports using the show_pci command and executed the serial driver using:

Dev32.ser 3f8,4 e000,5 e400,5 e800,5 ec00,5 &

The serial controllers are not accessed via IO port addresses … the
controllere interface must be mapped into the memory based on a
‘base address register’. That means the standard ISA driver doesn’t work.

Whilst I do get five serial devices appearing in the /dev directory I
do not observe any data transmitted at any of the National card’s
output ports.

Does anybody have any similar experiences using this or similar
national cards ?

No … but with other cPCI boards.

Are there any other ‘fiddley’ options I need to set in the standard
device driver ?

You can’t use the standard (ISA) drivers.


Just for information, the specific card type I have is PXI-8423, four
channel opto-isolated RS-485 and the sales blurb claims that the UART
is based on the 16Cx50 family.

Ask NI for portable sources …


Armin

http://www.steinhoff.de

Thanks for the help Armin,
I had no idea that the standard drivers are ISA based !! However, we
have used Dev32.ser to drive a Ziatech cPCI serial card though, using
the same approach detailed in one of Ziatech’s application notes.

I have since managed to enable the Tx drivers by writing the relevant
byte to an IO address given in the manual but still with no serial data.
Based on previous experiences with NI support, we sent the card back !!

Thanks again.

Andy



In article <8rul7h01s95@drn.newsguy.com>,
Armin Steinhoff <A-Steinhoff@web.de> wrote:

In article <8rsec9$qse$> 1@nnrp1.deja.com> >, Andy says…

Hi folks,

I’d be interested and greatful if anybody has had any experiences,
good
or bad, using a National Instruments serial card under QNX4.25

I’ve got a National PXI card on sale or return (cue smart
suggestions…!) and I’m trying to drive it using the standard serial
driver Dev32.ser. I have got the IO address and interupt line of the
ports using the show_pci command and executed the serial driver
using:

Dev32.ser 3f8,4 e000,5 e400,5 e800,5 ec00,5 &

The serial controllers are not accessed via IO port addresses … the
controllere interface must be mapped into the memory based on a
‘base address register’. That means the standard ISA driver doesn’t
work.

Whilst I do get five serial devices appearing in the /dev directory I
do not observe any data transmitted at any of the National card’s
output ports.

Does anybody have any similar experiences using this or similar
national cards ?

No … but with other cPCI boards.


Are there any other ‘fiddley’ options I need to set in the standard
device driver ?

You can’t use the standard (ISA) drivers.

Just for information, the specific card type I have is PXI-8423, four
channel opto-isolated RS-485 and the sales blurb claims that the UART
is based on the 16Cx50 family.

Ask NI for portable sources …

Armin

http://www.steinhoff.de


You never really learn to swear
until you learn to drive