starting to write a Dev Drvr

bridged with qdn.public.ddk.input
Post Reply
Berkeley Process Control

starting to write a Dev Drvr

Post by Berkeley Process Control » Tue Jun 12, 2001 12:21 am

I am just starting to write a couple of device drivers. Is
there anything similar to a tutorial to writing, compiling,
debugging, running a super simple driver? I have read the
general docs but I have no idea about compilation, link, etc.

Grazie mille,

Alex Chapiro

Re: starting to write a Dev Drvr

Post by Alex Chapiro » Tue Jun 12, 2001 11:58 am

You can find some useful information about compiling, running and debugging
on QNX system documentation, which is available in your local Help system as
well as on the QNX Web site.
Very useful for you could be reading of documentation and sources for DDKs
that can be downloaded from QNX web repository.

"Berkeley Process Control" <bpc@berkeleyprocess.com> wrote in message
news:9g3n9n$6j8$1@inn.qnx.com...
I am just starting to write a couple of device drivers. Is
there anything similar to a tutorial to writing, compiling,
debugging, running a super simple driver? I have read the
general docs but I have no idea about compilation, link, etc.

Grazie mille,

Berkeley Process Control

Re: starting to write a Dev Drvr

Post by Berkeley Process Control » Tue Jun 12, 2001 5:49 pm

Thanks for the reply. I have already read the docs (but not the DDKs).

I am looking for a more line by line, simple guide lines to get the first
driver&appl. compile and link.....

Thanks.

Alex Chapiro <achapiro@qnx.com> wrote in message
news:9g503v$qod$1@nntp.qnx.com...
You can find some useful information about compiling, running and
debugging
on QNX system documentation, which is available in your local Help system
as
well as on the QNX Web site.
Very useful for you could be reading of documentation and sources for DDKs
that can be downloaded from QNX web repository.

"Berkeley Process Control" <bpc@berkeleyprocess.com> wrote in message
news:9g3n9n$6j8$1@inn.qnx.com...

I am just starting to write a couple of device drivers. Is
there anything similar to a tutorial to writing, compiling,
debugging, running a super simple driver? I have read the
general docs but I have no idea about compilation, link, etc.

Grazie mille,



Alex Chapiro

Re: starting to write a Dev Drvr

Post by Alex Chapiro » Tue Jun 12, 2001 7:38 pm

In this case DDK is exactly what you need.
Just create new repository in package installer (http://betas.qnx.com/ddk,
username: ddkbeta, passwd : ddkbeta) and download all what you need.

"Berkeley Process Control" <bpc@berkeleyprocess.com> wrote in message
news:9g5kl1$dam$1@inn.qnx.com...
Thanks for the reply. I have already read the docs (but not the DDKs).

I am looking for a more line by line, simple guide lines to get the first
driver&appl. compile and link.....

Thanks.

Alex Chapiro <achapiro@qnx.com> wrote in message
news:9g503v$qod$1@nntp.qnx.com...
You can find some useful information about compiling, running and
debugging
on QNX system documentation, which is available in your local Help
system
as
well as on the QNX Web site.
Very useful for you could be reading of documentation and sources for
DDKs
that can be downloaded from QNX web repository.

"Berkeley Process Control" <bpc@berkeleyprocess.com> wrote in message
news:9g3n9n$6j8$1@inn.qnx.com...

I am just starting to write a couple of device drivers. Is
there anything similar to a tutorial to writing, compiling,
debugging, running a super simple driver? I have read the
general docs but I have no idea about compilation, link, etc.

Grazie mille,





Berkeley Process Control

Re: starting to write a Dev Drvr

Post by Berkeley Process Control » Thu Jun 14, 2001 12:29 am

I downloaded the DDK, and followed the README file.

at some point I did:

cd /usr/src/nddk_v1.00/src/nto/drivers/lib
make clean
make

but the make had a problem writing in the directories which were
owned by root( e.g., .../lib/x86), and were links to /pkgs/.........

Any ideas?


Thanks

Alex Chapiro <achapiro@qnx.com> wrote in message
news:9g5r3a$d10$1@nntp.qnx.com...
In this case DDK is exactly what you need.
Just create new repository in package installer (http://betas.qnx.com/ddk,
username: ddkbeta, passwd : ddkbeta) and download all what you need.

"Berkeley Process Control" <bpc@berkeleyprocess.com> wrote in message
news:9g5kl1$dam$1@inn.qnx.com...
Thanks for the reply. I have already read the docs (but not the DDKs).

I am looking for a more line by line, simple guide lines to get the
first
driver&appl. compile and link.....

Thanks.

Alex Chapiro <achapiro@qnx.com> wrote in message
news:9g503v$qod$1@nntp.qnx.com...
You can find some useful information about compiling, running and
debugging
on QNX system documentation, which is available in your local Help
system
as
well as on the QNX Web site.
Very useful for you could be reading of documentation and sources for
DDKs
that can be downloaded from QNX web repository.

"Berkeley Process Control" <bpc@berkeleyprocess.com> wrote in message
news:9g3n9n$6j8$1@inn.qnx.com...

I am just starting to write a couple of device drivers. Is
there anything similar to a tutorial to writing, compiling,
debugging, running a super simple driver? I have read the
general docs but I have no idea about compilation, link, etc.

Grazie mille,







Post Reply

Return to “qdn.public.ddk.input”