OpenQNX :: The QNX Community Portal

May 18, 2008 - 12:06 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 40 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
m.munch
Post subject: Hardware programming in QNX  PostPosted: Aug 16, 2006 - 09:50 AM
New Member


Joined: Sep 15, 2004
Posts: 3

Hi,

I am new to QNX and have tried to start up programming in QNX momentics 6.3.0. The software I program needs to communicate together with a ASI-communication card. I have one from BihlWiedemann BW1195. I need ideas to get startet. Looking forward to hear from you.

regards morton.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
jinma
Post subject: RE: Hardware programming in QNX  PostPosted: Aug 16, 2006 - 05:58 PM
Senior Member


Joined: Oct 28, 2004
Posts: 266

I guess you can begin with PCI driver programming. Look into pci_attach() in the documentation

_________________
Matthew Jin
Software Engineer
 
 View user's profile Send private message  
Reply with quote Back to top
maschoen
Post subject: RE: Hardware programming in QNX  PostPosted: Aug 16, 2006 - 07:13 PM
QNX Master


Joined: Jun 25, 2003
Posts: 977

You probably want to read all you can on resource managers, as this is a natural form to put a hardware driver in.
Rob Krten's book "Getting started with QNX Neutrino 2" is a good resource if the docs aren't enough, although it may be hard to get ahold of. I've heard QSSL has taken it over so you can check with them. There are a few topics for dealing with hardware that I'll list. Ask again about any specifics:

1) port I/O (You need to use ThreadCtl() and be super user
2) Interrupts
3) DMA (Shared) memory
4) PCI inquiry

There are other idiosyncratic areas, such as PCMCIA/CARDBUS, USB, and Network drivers for which there are development kits available.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
m.munch
Post subject: RE: Hardware programming in QNX  PostPosted: Aug 17, 2006 - 11:28 AM
New Member


Joined: Sep 15, 2004
Posts: 3

Hi,

thanks for your answers. I got the book from libary, and will start up with that.

regards morton Shocked
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
stever
Post subject: Re: RE: Hardware programming in QNX  PostPosted: Aug 17, 2006 - 02:44 PM
QNX Master


Joined: Mar 30, 2004
Posts: 97

maschoen wrote:
You probably want to read all you can on resource managers, as this is a natural form to put a hardware driver in.
Rob Krten's book "Getting started with QNX Neutrino 2" is a good resource if the docs aren't enough, although it may be hard to get ahold of. I've heard QSSL has taken it over so you can check with them.


Just to confirm: yes, we have bought the rights to this book. If you'd like a copy, contact your sales rep.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.