I have been looking all over the Internet and I simply can’t seem to
find complete information on how to write a QNX RTP device driver. I
understand that I probably need to create a resource manager to
communicate
with the PCI board that I want to use.
Using the resource manager framework is powerful and may result in a cleaner
implementation but you don’t necessarily have to be a resource manager to
be a driver. You may want to perform simple device io with the card first,
then
turn it into a resource manager later.
Two functions you may want are pci_attach:
http://qdn.qnx.com/support/docs/neutrino_qrp/lib_ref/p/pccard_attach.html
and mmap_device_io:
http://qdn.qnx.com/support/docs/neutrino_qrp/lib_ref/m/mmap_device_io.html
Also you might want to read up on ‘pci-bios’, the pci server program, and
‘pci’:
http://qdn.qnx.com/support/docs/neutrino_qrp/utilities/p/pci-bios.html
http://qdn.qnx.com/support/docs/neutrino_qrp/utilities/p/pci.html
The problem is that I can’t seem to
find any clear cut examples of how to do this and worse I can find any
Books
There are some Driver Development Kits (DDK) that will be released soon.
Also ‘Building Embedded Systems’ by QNX and ‘Getting Started with Neutrino
2.0’ by
Rob Krten are the references for resource managers.
in my area or any how to guides on the Net. All the books I have seen are
all on back order for 5-6 weeks!!! Can someone please help me? Even if you
could just point me to a URL or two, that would be great.
good luck