Questions tagged [qnx-neutrino]

QNX Neutrino is the latest incarnation of QNX's Real-Time Operating System that is both full-featured and robust, but can also scale down to meet the constrained resource requirements of realtime embedded systems. It features a microkernel based design, modular design, message passing based API, UNIX like environment and POSIX compliance.

QNX Neutrino is the latest version (v6) of the Real Time Operating System written by QNX Software Systems. As well as being famous for being used in safety critical embedded systems it is now being found in more commercial settings such as automotive information systems and the Blackberry Tablet OS runs on top of the QNX Neutrino RTOS.

The design of QNX Neutrino is based on a microkernel and message passing layer. All processes run in memory protected user space which allow QNX Neutrino to be robust yet scalable, even in the face of runtime errors in core services such as drivers.

QNX Neutrino is available for the x86, ARM, PowerPC, MIPS and SH-4 processor architectures.

What kinds of questions should have this tag?

This tag should be applied to questions which are asking about programming for the QNX Neutrino RTOS, and particularly when using the RTOS services and APIs.

Questions about the Blackberry Tablet OS should probably only have this tag if you are coding directly against the underlying QNX Neutrino RTOS APIs.

Important Links

124 questions
1
vote
2 answers

PowerPC: How to make div/0 return zero as a result

We are attempting to port a legacy application from an old monolithic RTOS to a unix based RTOS on a PowerPC 8360. In the old system, our large code base became dependent upon 1/0 returning zero, and 0/0 returning zero. Now in the new operating…
ADogg
  • 98
  • 7
1
vote
0 answers

ZeroMQ : a thread stops exactly after 2 hours in a while(1)-loop. Why & how to resolve this?

It does not crash so there is no core to analyse. It simply stops. I have experimented multiple times. It stops exactly after 2 hours. OS : qnx6.5.0 LIBs : ZeroMQ and Protobuf I just have a single thread, it looks something like this…
user6868820
  • 75
  • 1
  • 1
  • 7
1
vote
1 answer

ZMQ::send() throws an exception and kills the QNX-process. Why and how to recover from it?

ZMQ::send() throws an exception and kills the process. Why and how to recover from it. I use the ZeroMQ REQ/REP pattern on QNX-version 6.5.0. The anticipated catch{} block does not receive this exception. Here is the gdb trace : (gdb) bt #0 …
user6868820
  • 75
  • 1
  • 1
  • 7
1
vote
1 answer

C++/libscreen fails to update visibility

I'm writing a GUI in C++ (qcc) for Neutrino 6.5.0 with QNX CAR 2.0 using the screen windowing system, following the documentation tutorial. No visible output is generated, and /dev/screen/{pid}/win-{n}/win-{n} has status =…
igk
  • 41
  • 11
1
vote
1 answer

How to get device path and mount path using usbdi callbacks?

I am in the progress of implementing a service which will detect usb plugin/removal using usbdi callback functions. Callback function has a parameter "usbd_device_instance_t * usbInstance" from which i can get device vendor id,product id and the…
Selva
  • 33
  • 4
1
vote
2 answers

How do I run a simple 'hello world' program under QNX?

Background: I have the QNX license key and have installed the VMWare target image from the QNX website into the VMWare. I have the QNX target RTOS running as a VM and my host machine has a QNX momentics IDE that can recognize the QNX target…
learnerX
  • 1,022
  • 1
  • 18
  • 44
1
vote
2 answers

what type of code can trigger unaligned data access sigbus trap dynamically?

I am looking for SIGBUS on unaligned data access. I am tracking one of this errors and I would like to know how this is happening on sitara am335x. Can someone please give me an example code to describe this or ensure triggering it. Adding code…
preetam
  • 1,451
  • 1
  • 17
  • 43
1
vote
1 answer

Currently there are two options for development on the Playbook

I am trying to figure out if there are plans for a third, pure C/C++ or java SDK for the Playbook. Anyone know?
michael
  • 2,577
  • 5
  • 39
  • 62
1
vote
1 answer

Fatal: File system overrun error with mkxfs

I am trying to format image file with mkxfs command on Windows. I am always getting File System overrun error. http://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutrino.utilities/topic/m/mkxfs.html Command executed: mkxfs.exe -t qnx6fsimg …
Coder
  • 845
  • 1
  • 10
  • 20
1
vote
1 answer

how to list all tables in qnx qdb

I am trying to list all tables under qnx qdb in sql. I am not able to get a suitable command. How do you list tables in a database in qdb. I am able to connect to the database but I do not know what tables are currently in it.
preetam
  • 1,451
  • 1
  • 17
  • 43
1
vote
1 answer

How to make top run in background ? It needs to run and log the output. Not die or zombie up

I am trying to make a script to log the top output to a file in the background for my embedded system. But as soon as I put it in background, it either exits or zombies up. What is the systems problem with running things in background ? My…
preetam
  • 1,451
  • 1
  • 17
  • 43
1
vote
1 answer

qnx run error : Attempting to exec a shared lib

I managed to setup the Neutrino 6.5.0 RTOS in a virtual box and connect to it over qconn from Momentics IDE for Blackberry IDE 2.1.2 ..... I can get the system information perspective view for my Neutrino. BUT when I am trying to run my compiled…
Avi Dayan
  • 11
  • 4
1
vote
1 answer

Equivalent of ENDIAN_BE16() function for Ubunu

What is the exact equivalent of the following function for Ubuntu? http://www.qnx.com/developers/docs/6.4.1/neutrino/lib_ref/e/endian_be16.html
Stack crawler
  • 369
  • 1
  • 4
  • 20
1
vote
1 answer

Default scheduling policy and priority of new QNX process/thread

The QNX documentation says a new thread inherits the scheduling policy and priority from the parent thread it was started from. What if I start a new process from shell or from an init-script? Where does the scheduling policy and priority of the new…
Silicomancer
  • 8,604
  • 10
  • 63
  • 130
1
vote
0 answers

Valgrind port for PowerPC/QNX

I'm looking for a suitable tool for tackling memory leaks on a PowerPC/QNX system. QNX uses some tools but it is clunky and almost useless to track memory leaks. I had used Valgrind on a different system (ARM/Linux) before and had very good results…
EFred
  • 29
  • 6
1 2
3
8 9