starting to write a Dev Drvr

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,

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,

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,
\

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,


\

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,




\