Development of the QNX800 Real-Time Embedded System

1. Install qnx-software-center on Ubuntu 24.04.2. Use the software center to install the QNX Software Development Platform 8.0.3. Use the software center to install the QNX Momentics IDE, which is packaged in the Eclipse CDT environment.4. Navigate to ~/qnx800 in Ubuntu and run source qnxsdp-env.sh 5. Create a directory named qemu-aarch64-qnx, then run mkqnximage –type=qemu –arch=aarch64 –build to create the QNX virtual machine.6. Now run mkqnximage –run to successfully start the QNX virtual machine. Then, cross-compile the SDP application.Development of the QNX800 Real-Time Embedded SystemYou have entered the QNX system.Development of the QNX800 Real-Time Embedded SystemThis is the IP address of the virtual machine. It will be used during cross-compilation in the IDE.Development of the QNX800 Real-Time Embedded SystemThis is the IP address of the bridge host.Now you can start developing your applications with QNX!!!Development of the QNX800 Real-Time Embedded SystemMy first QNX system test program is running!!!Development of the QNX800 Real-Time Embedded SystemReview:This QNX system:QNX has a microkernel architecture, with the kernel operating in a protected address space; drivers, network protocols, and applications operate in user space.The advantages of the microkernel architecture are: ① Drivers, network protocols, file systems, and other operating system modules are independent of the kernel, so failures in any module do not cause kernel crashes; ② Drivers, network structures, file systems, and applications all operate in user space and call the same kernel API, making development and debugging no different from application development; ③ Operating system functional modules can be dynamically loaded or unloaded as needed without recompiling the kernel. In high-reliability scenarios, monitoring modules can be written to monitor modules with high reliability requirements, restarting or reloading them as necessary without rebooting the system. The high-reliability kernel structure gives QNX the essential characteristics of a highly reliable embedded operating system.

The QNX networking subsystem consists of three parts: the network management module (io-net), the network protocol module, and the network device driver module.

It is commonly used in scenarios requiring TCP/IP network communication, such as in the automotive, medical, and aerospace industries.

FreeRTOS is a lightweight real-time operating system kernel that includes features such as task management, time management, semaphores, and message queues, meeting the needs of small systems. It is commonly used on STM32 microcontrollers.

Leave a Comment