Instructions for QNX 6

Universal Driver Documentation

Table of contents

What is QNX?

QNX is a commercially developed hard real-time operating system based on a microkernel design. It is POSIX based and to the user or developer is in many ways similar to Unix or Linux. Most software written for Unix or Linux will be easy to port to QNX. It uses the GNU toolchain so GCC, GDB, and other tools from Linux are supported.

QNX comes in two flavors, Momentics and Neutrino. Momentics is the full development environment for desktop PCs. Neutrino is the tiny version designed for embedded systems. We have found QNX to be very reliable and it performs well with our boards. We recommend it to anyone looking for a commercial real-time operating system to run with our products.

Supported QNX Versions

QNX 6 Momentics and Neutrino are supported by the Universal Driver. The driver has been tested with QNX 6.1, 6.2, and 6.3. We expect that all QNX 6.x versions will be compatible with our driver. QNX 4.x and QNX 2.x are not supported.

Installing the Driver On Your Development System

The driver comes packaged as a simple tar gzip'd archive. To install the driver you just extract the compressed archive and move it to the location of your choice on your QNX development system. Here is an example.

  $ tar zfx DSCUD-5.9-QNX.tar.gz
  $ mv dscud5 /opt/dscud5

Compiling With the Driver

The driver is a library which you link with your application. Here is an example.

  $ gcc myapp.c -o myapp -I/opt/dscud5 -L/opt/dscud5 -ldscud5

Once you have linked with the Universal Driver library your program is ready for use on your target platform. You do not need do distribute any Universal Driver files to your embedded target.


This page was last modified 22:28, 2 Aug 2005.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.