I’m new in QNX developing and want to write a driver for a digital-IO Modul based on the PC104 technology. I researched the internet for the PC104-DIO-48 driver and found the Universal Driver Documentation on Diamondsystems.com. Is this the right way or can you give me any other links?
Lucky for you these are probably the easier driver to write. I don’t know about the Universal Driver Documentation, but the chip on these board is usually a 8255, so look up the specs of 8255 and you shoudl be ok
thank you for your help, i looked up the datasheet of the 8255, read about the memory allocation and found suddenly out, that i wrote the reserved memory. I changed the memory allocation and now i can write on the IO-Module. Here you will find my sourcecode:
On the embedded world 2006 in NÃ¼rnberg, Germany i was speaking with the official QNX-Support team, who told me, that i should not concetrate on writing a charakter driver, instead I should write a resource manager! so I search through the Neutrino programmers guide and found a source example! In this source example there is the framework descriped, and you only have to write the handlers! can you give me some informations about implementing the handlers?
I have to develop a driver for the analogic I/O and I really don’t know how to begin it … I have Momentix & SP2 installed, I also instaled the DDK, but I don’t know how to do the driver… Can somebody help please ?
you have to write a resource manager, then you can access the io modul by low level instructions ala open close read write! when you pack it into a library you can create your own commands ala set byte set bit and so on!
I am new into qnx,
how are you mapping open, read & write into the driver,I dont understand the concept of resource manager I have done character drivers that in linux kernel space, this user level driver resource manger i dont understand.
Can you give me any document or url saying how you have done your driver or just put the code on to here,
How API open,read,write& close are mapped
2.How some code is recognized as driver
3.Is there any difference in compiling a driver & a normal code