this is an interesting task…
I have almost the same problem, i must write a driver for a A/D D/A board
It is Advantech pcl-812 card (ISA).
The problem is, i have no knowlege about writing a driver…
When you have an info than contact me, please…
“sven dominka” <"sd7 "@stud.mw.tum.de> schrieb im Newsbeitrag
Thanks for the fast answer.
I need the multi-function-card to control a model plant, in which a
roboter should catch some workpieces and bring it to a machine tool,
where the workpiece should be produced. For this automatically running
process, I want to write a little demo-program with the aid of the
device driver, I want to write (and for which I need your help).
The multi-function-card has got several digital-analog-converter,
analog-digital-converter and a digital i/o modul to control the roboter
and the machines. The multi-function-card is a 16Bit ISA card.
I hope, these are enough information. I looked for a website with some
datasheets, but I haven’t found something. (the card might be too old).
James MacMillan wrote:
A DDK is documentation, tools and examples that show you how to write a
device driver. The help documentation (which you already found) is
automatically added to your helpviewer documentation set (in /usr/help
actually). You will find the tools and examples in /usr/src/. Note that
the character ddk doesn’t have any helpviewer documentation available,
however you can checkout the source to /lib/io-char from the QNX public
CVS server (cvs.qnx.com). The io-char source combined with the devc-*
examples that are included in the ddk give you the complete picture of
how a particular serial port is supported.
As to your question of which ddk to use, you haven’t supplied enough
information on your multi-function card. What are the different
functions that it supports? Is there a website where we could see
some specifications on it? How are you intending to use it? For what
sven dominka wrote:
again, I need help from you.
I want to write a device driver for a multi-function-card with
DigitalAnalogConverter and AnalogDigitalConverter and so on.
I’ve downloaded the input ddk and the char ddk and start the
/usr/src/ddk-6.1.0/input with the command “make”.
But I don’t know, what to do now. I even don’t know, what DDK really
is. Is it the Doku under help, or is it a program. And which ddk is
the best for me. Should I use ddk-char or ddk-input for the
It would be nice, if somebody could help me and tell me some tips,
how I could start writing a device driver.