Looking for driver sample code. . .

bridged with qdn.public.ddk
Post Reply
Michael A. Crawford

Looking for driver sample code. . .

Post by Michael A. Crawford » Thu Dec 26, 2002 5:28 am

I have to create a device driver for a motion (motor) control chip set, a
multi-channel digital acquisition controller, and a digital I/O controller.
This involves port I/O on the PCI and ISA bus (x86), DMA-busmastering on the
PCI bus, and interrupt handling on the the PCI bus. Where can I find some
sample code to give me a running start for doing all of this in QNX?

I've looked at the audio DDK but it seems to be a framework that isolates me
from the low-level details I'm looking for. Are there any decent articles,
books, or web-sites you can recommend?

-Michael

Nitin V Kodavade

Re: Looking for driver sample code. . .

Post by Nitin V Kodavade » Fri Sep 19, 2003 8:18 am

Dear Michael,
I m also looking for ddk for PCI and cPCI based Analog to Digital And
DI/DO card . So far i did not get any valuable iformation. if i get it i
will email it to u.But if u get it then pl. email it to me.

We are in process Automation field. We have one project in hand which is
based on cPCI nased arch. Our whole developement is in QNX 6.2.
Keep in touch.
Regards
Nitin


Michael A. Crawford wrote:
I have to create a device driver for a motion (motor) control chip set, a
multi-channel digital acquisition controller, and a digital I/O controller.
This involves port I/O on the PCI and ISA bus (x86), DMA-busmastering on the
PCI bus, and interrupt handling on the the PCI bus. Where can I find some
sample code to give me a running start for doing all of this in QNX?

I've looked at the audio DDK but it seems to be a framework that isolates me
from the low-level details I'm looking for. Are there any decent articles,
books, or web-sites you can recommend?

-Michael

Bill Caroselli

Re: Looking for driver sample code. . .

Post by Bill Caroselli » Fri Sep 19, 2003 2:11 pm

We are using a cPCI card from IOtech (www.IOtech.com). They have a
fairly complete line of A/D, D/A, DIO timer & counter cards for ISA,
PCI & cPCI. I think their cards are a little pricy, but they are very
versitile cards.

The good news is that they have a QNX driver. The bad news is that it
isn't officially supported. The other good news is that they will give
you complete QNX source code to their driver.

The story goes that they had a big customer tha was beginning a QNX
project so IOtech ported their driver. But their big customer
abandoned their QNX project, so IOtech abandoned the support for the
QNX driver. HOWEVER, I found someone in tech support or software
development who is quite helpful and would like to see the driver come
back to life.

They have a huge MS-Windows programming API and they have implimented
the entire API in QNX. I have programmed many A/D type cards and I
found the learning curve quite sharp for this card. Like I said the
card is very versitile and I am only using some of its features.

Let em know if you do choose to try this card. We can share notes on
their driver.

--
Bill Caroselli -- Q-TPS Consulting
1-(708) 308-4956 <== Note: New Number
qtps@earthlink.net


Nitin V Kodavade <nitink@dynalogindia.com> wrote:
NVK > Dear Michael,
NVK > I m also looking for ddk for PCI and cPCI based Analog to Digital And
NVK > DI/DO card . So far i did not get any valuable iformation. if i get it i
NVK > will email it to u.But if u get it then pl. email it to me.

NVK > We are in process Automation field. We have one project in hand which is
NVK > based on cPCI nased arch. Our whole developement is in QNX 6.2.
NVK > Keep in touch.
NVK > Regards
NVK > Nitin


NVK > Michael A. Crawford wrote:
I have to create a device driver for a motion (motor) control chip set, a
multi-channel digital acquisition controller, and a digital I/O controller.
This involves port I/O on the PCI and ISA bus (x86), DMA-busmastering on the
PCI bus, and interrupt handling on the the PCI bus. Where can I find some
sample code to give me a running start for doing all of this in QNX?

I've looked at the audio DDK but it seems to be a framework that isolates me
from the low-level details I'm looking for. Are there any decent articles,
books, or web-sites you can recommend?

-Michael

Nitin V Kodavade

Re: Looking for driver sample code. . .

Post by Nitin V Kodavade » Mon Sep 22, 2003 6:54 am

Hi, Bill
Thanks for yr. repl.
Could u tell me this cPCI card iOtech manfuactured operating temperature
range.
As per site i got information abiut 16 bit.This is fine but our operating
temperature requirement is from -40 deg C to +85 deg. C
If u any information then pl. let me know. Very soon we r going to place
an order.
We also required cPCI Power suply of 150 Watt along with 8 slot 3U back
plane.
Regards
Nitin



Bill Caroselli wrote:
We are using a cPCI card from IOtech (www.IOtech.com). They have a
fairly complete line of A/D, D/A, DIO timer & counter cards for ISA,
PCI & cPCI. I think their cards are a little pricy, but they are very
versitile cards.

The good news is that they have a QNX driver. The bad news is that it
isn't officially supported. The other good news is that they will give
you complete QNX source code to their driver.

The story goes that they had a big customer tha was beginning a QNX
project so IOtech ported their driver. But their big customer
abandoned their QNX project, so IOtech abandoned the support for the
QNX driver. HOWEVER, I found someone in tech support or software
development who is quite helpful and would like to see the driver come
back to life.

They have a huge MS-Windows programming API and they have implimented
the entire API in QNX. I have programmed many A/D type cards and I
found the learning curve quite sharp for this card. Like I said the
card is very versitile and I am only using some of its features.

Let em know if you do choose to try this card. We can share notes on
their driver.

--
Bill Caroselli -- Q-TPS Consulting
1-(708) 308-4956 <== Note: New Number
qtps@earthlink.net
Nitin V Kodavade <nitink@dynalogindia.com> wrote:
NVK > Dear Michael,
NVK > I m also looking for ddk for PCI and cPCI based Analog to Digital And
NVK > DI/DO card . So far i did not get any valuable iformation. if i get it
i
NVK > will email it to u.But if u get it then pl. email it to me.

NVK > We are in process Automation field. We have one project in hand which
is
NVK > based on cPCI nased arch. Our whole developement is in QNX 6.2.
NVK > Keep in touch.
NVK > Regards
NVK > Nitin
NVK > Michael A. Crawford wrote:

I have to create a device driver for a motion (motor) control chip set, a
multi-channel digital acquisition controller, and a digital I/O
controller.
This involves port I/O on the PCI and ISA bus (x86), DMA-busmastering on
the
PCI bus, and interrupt handling on the the PCI bus. Where can I find some
sample code to give me a running start for doing all of this in QNX?

I've looked at the audio DDK but it seems to be a framework that isolates
me
from the low-level details I'm looking for. Are there any decent
articles,
books, or web-sites you can recommend?

-Michael

Bill Caroselli

Re: Looking for driver sample code. . .

Post by Bill Caroselli » Mon Sep 22, 2003 1:08 pm

I gave a quick look through their User's Manual and could not find
any operating specs on temprature range. Their phone number is
1-440-439-4091. Give them a call. Post what you find here.

Good luck.

Nitin V Kodavade <nitink@dynalogindia.com> wrote:
NVK > Hi, Bill
NVK > Thanks for yr. repl.
NVK > Could u tell me this cPCI card iOtech manfuactured operating temperature
NVK > range.
NVK > As per site i got information abiut 16 bit.This is fine but our operating
NVK > temperature requirement is from -40 deg C to +85 deg. C
NVK > If u any information then pl. let me know. Very soon we r going to place
NVK > an order.
NVK > We also required cPCI Power suply of 150 Watt along with 8 slot 3U back
NVK > plane.
NVK > Regards
NVK > Nitin

--
Bill Caroselli -- Q-TPS Consulting
1-(708) 308-4956 <== Note: New Number
qtps@earthlink.net

Post Reply

Return to “qdn.public.ddk”