Hubbry Logo
Nucleus RTOSNucleus RTOSMain
Open search
Nucleus RTOS
Community hub
Nucleus RTOS
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Nucleus RTOS
Nucleus RTOS
from Wikipedia
Nucleus RTOS
DeveloperMentor Graphics Corp., a Siemens Business
Written inC
OS familyPOSIX, TRON
Working stateCurrent
Source modelClosed source
Initial release1993; 33 years ago (1993)
Latest release3.x, 2017.02 / May 15, 2017; 8 years ago (2017-05-15)
Marketing targetEmbedded systems, IoT
Available inEnglish
Supported platformsARM, NXP, MIPS, TI, PowerPC, Altera Nios II, Xilinx MicroBlaze, Renesas SuperH, Infineon, Atmel AT91SAM, RISC-V, others[1]
Kernel typeReal-time microkernel with hybrid support
LicenseProprietary
Official websiteNucleus website

Nucleus RTOS is a real-time operating system (RTOS) produced by the Embedded Software Division of Mentor Graphics, a Siemens Business, supporting 32- and 64-bit embedded system platforms. The operating system (OS) is designed for real-time embedded systems for medical, industrial, consumer, aerospace, and Internet of things (IoT) uses. Nucleus was released first in 1993. The latest version is 3.x, and includes features such as power management, process model, 64-bit support, safety certification, and support for heterogeneous computing multi-core system on a chip (SOCs) processors.

Nucleus process model adds space domain partitioning for task and module isolation on SOCs with either a memory management unit (MMU) or memory protection unit (MPU), such as those based on ARMv7/8 Cortex-A/R/M cores.

Supported platforms

[edit]

Nucleus supports many embedded processors including leading ARMv7 Cortex A, R, and M devices. Recent releases support ARMv8 64-bit devices. The official website has a full list of supported devices.[2] It includes 32-bit MCUs and MPUs, configurable devices, and 32-bit and 64-bit multi-core processors.

History

[edit]

Nucleus 1.x was released first in 1993 by Accelerated Technology (ATI) as Nucleus PLUS. It soon became one of the most commonly used RTOSs in the embedded market. Following its early success there, ATI added support for networking, graphics, and file systems, which accelerated adoption.

Mentor Graphics acquired ATI in March 2002, which was soon followed by the second generation of Nucleus RTOS. Version 2.x was released in 2003, improving its portability across different architectures and tool sets. New components like IPv6, Flash memory file system and Universal Serial Bus (USB) 2.0 were added. Mentor replaced the legacy Codelab debugger with EDGE development tools which included compiler tools, debugger, simulator, and profiler.

Mentor Graphics introduced the 3rd generation Nucleus in 2010. Version 3.x was intended for both high-end microprocessor units (MPUs), microcontroller units (MCUs), digital signal processors (DSPs), and field-programmable gate arrays (FPGAs). For devices with limited memory resources, Nucleus was designed to scale down to a memory size of <10 kilobytes (KBs) for both code and data.

Nucleus 3.x introduced support for symmetric multiprocessing (SMP) and asymmetric multiprocessing (AMP) both unsupervised uAMP and supervised sAMP (using Mentor Embedded Hypervisor). Other additions in Nucleus 3.x:

  • Integrated power management support for kernel and middleware components; includes support for DVFS, tick suppression, and sleep modes including hibernation.
  • Process model for memory partitioning to support dynamic loading and unloading of application modules. Loadable processes are supported on both high end MPUs and low end MCUs with or without hardware memory management support.
  • Wireless support
  • IoT protocols
  • Safety certification for aerospace, medical, industrial and automotive
  • Support for ARM TrustZone
  • Mentor embedded multi-core framework for IPC and processor life cycle management for AMP designs (both supervised sAMP and unsupervised uAMP)
  • Runtime tracing support with host side analysis tools

In addition to the new features in version 3.x, Nucleus moved business model from a la carte, to one unified package.

Mentor acquired CodeSourcery in Dec 2010 to replace the EDGE development tools with the Sourcery CodeBench. Sourcery CodeBench comprises a compiler tool-chain, debugger, and trace analysis tools. The compiler tool-chain is based on GNU tool-chain. The debugger and integrated development environment (IDE) are based on Eclipse. Sourcery CodeBench supports ARM, IA-32, MIPS, and PPC architectures with built-in workflows and OS awareness for Nucleus RTOS and Mentor Embedded Linux.

Nucleus 3.x introduced a unified build and configuration system with which the Kernel is configured through a single file and builds as a single library. Like menuconfig in Linux, a user interface (UI) based configuration tool integrated with CodeBench provides the user with graphically selectable components to customize the kernel at build time. The Nucleus configuration system allows for user customization to integrate new tool-chains, architecture support and build properties.

Major components

[edit]

Nucleus RTOS components include:

  1. Kernel
  2. Services
  3. Connectivity
  4. File system
  5. Networking
  6. IoT Framework
  7. Wireless
  8. Security
  9. UI & graphics

Kernel

[edit]
  • Real-time kernel with priority based pre-emptive scheduling
  • Support for dynamic linking using loadable modules
  • Interfaces for C++, Portable Operating System Interface (POSIX), and The Real-time Operating system Nucleus (TRON) microITRON
  • SMP/AMP, supervised and unsupervised
  • SMP support and runtime control for bound computation domain and affinities to processor cores for tasks and interrupts
  • Support for 64-bit architectures
  • Scalable to fit memory constrained devices
  • Built-in power management framework
  • Source code for all components

Services

[edit]
  • Run-level initialization and registry
  • POSIX: kernel, networking, and file system
  • Shell and tracing
  • Debug agent
  • C++
  • Power management services

Connectivity

[edit]

Nucleus supports the ability to connect to other devices through various interfaces including:

File system

[edit]

Unlike Windows and Unix-like operating systems, Nucleus does not need a file system to work. However, for complex uses needing local storage, Nucleus supports several file systems including FAT, SAFE (fault tolerant), and LWEXT.

Multiple simultaneous file systems

[edit]
  • File Allocation Table (FAT)
  • SAFE (high reliability power fail safe)
  • LWEXT
  • Install-able third-party file systems

Multiple media support

[edit]
  • CD-ROM
  • Hard drive
  • RAM disk
  • NOR and NAND flash
  • USB drive
  • SD MMC

Nucleus provides support for different file systems and storage media through a virtual file system application programming interface (API) that allows access to the supported file systems and storage devices using the same functions calls regardless of the underlying storage format.

Networking

[edit]

The Nucleus networking stack is a dual IPv4 and IPv6 stack that supports over 60 networking protocols. Nucleus networking stack supports POSIX and provides an easy to use socket based application interface. A brief list of the supported protocols include:

Security

[edit]

Nucleus supports a wide variety of encryption options for secure communications to protect data at rest or in transit. Nucleus ships with OpenSSL and an OpenSSL-like package wolfSSL (formerly CyaSSL) that is far smaller than OpenSSL for designs needing encryption but limited in memory capacity.[3] Security protocols to protect data in transit include IPsec/IKE, SSH/SSL/TLS/DTLS. Encryption includes DES, 3DES, AES, SHA-256. Public-key cryptography algorithms include RSA. Support includes X.509, RADIUS, and 802.1X.

Wireless

[edit]

Several Wi-Fi modules from different chip-makers like QCA, Broadcom, TI, and CSR are supported:

UI graphics

[edit]

Nucleus 3.x supports OpenGL and leading 3rd party UI libraries. Nucleus supports the Qt UI framework which has been optimized for code size and integrated into CodeBench for debugging and tracing. Other UIs supported include Embedded Wizard and Socionext CGI Studio.

IoT

[edit]

Recent releases of Nucleus include support for HTTPS, Constrained Application Protocol (CoAP), MQTT and 6LoWPAN.

Nucleus has also announced support for Microsoft Azure cloud computing framework.

Industrial

[edit]

Nucleus has been integrated with 3rd party industrial stacks from industry leaders. Industrial stack support includes OPC Unified Architecture (OPC UA) host and client and EtherNet/IP from Softing Archived 2017-08-22 at the Wayback Machine and EtherCAT from KoenigPa.

Multi-core

[edit]

Nucleus supports asymmetric multiprocessing (AMP) mode and symmetric multiprocessing (SMP) mode for leading 32 and 64-bit heterogeneous multi-core SoCs. Nucleus is also capable of running as a GOS with Mentor Embedded Hypervisor.

When operating in AMP mode, Nucleus RTOS can coexist with other instances of Nucleus, Linux, and/or bare machine (metal) programs distributed on the other processors. In this mode, each processor is running independently and behaves as a separate system within the SoC. Mentor Embedded Multicore Framework provides interprocess communication between operating systems on the various cores, and processor life cycle management. SMP operation entails having a instantiation of Nucleus RTOS manage multiple cores simultaneously. Nucleus can distribute its operations across all cores on a multi-core device, or any subset of cores. For this purpose Nucleus offers runtime API support for bound computation domain, and control tasks and interrupt affinities for core assignment.

Product packages

[edit]

Nucleus RTOS is packaged as follows:

  • Nucleus ReadyStart Edition ReadyStart which includes the runtime system, middleware, BSP (all in source code) and the IDE, debugger, compiling tools, trace bundle in a single package. Nucleus Ready Start comes in versions packaged for ARM, MIPS and PPC. Nucleus ReadyStart adds specialized eclipse plugins to CodeBench to provide simplified build and configuration workflows and debugging enhancements including kernel awareness, loadable module support, tracing and profiling tools.
  • Nucleus Source Code Edition contains the runtime system and middleware packaged to support unique architectures and/or different tool chains

Safety certification

[edit]

Nucleus SafetyCert has been certified for the highest levels of safety for DO-178C, IEC 61508, IEC 62304, and ISO 26262.

Products using Nucleus RTOS

[edit]

Example devices using Nucleus products include:

Migration away from Nucleus

[edit]

During August 2000, MapuSoft Technologies Inc. came up with the Nucleus OS Changer porting kit which can smoothly move the software to multiple OS such as Linux, VxWorks, and more. It includes an integrated development environment (IDE) and application programming interface (API) optimization along with a profiling tool to measure API timing on target boards (www.mapusoft.com).[16]

See also

[edit]

References

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
Nucleus RTOS is a scalable, hard designed for advanced embedded applications, featuring a deterministic kernel that supports multicore architectures across 32- and 64-bit processors including MCUs, DSPs, FPGAs, and MPUs. Originally developed by Accelerated Technology in the 1990s as a lightweight RTOS for resource-constrained devices, it gained prominence after acquired the company in 2002, integrating it into their portfolio. Following Mentor's acquisition by in 2017, Nucleus became part of Siemens Embedded Software Division, where it was deployed in over three billion devices worldwide, particularly in safety-critical sectors. Key features of Nucleus RTOS include sub-microsecond latency, a small starting at under 2 KB, and built-in support for , connectivity protocols such as USB, , and , as well as security mechanisms like TrustZone and TLS encryption. It offers a process model for memory partitioning and space protection, Eclipse-based development tools with GCC and C++ support, and middleware integrations for file systems, graphics, and networking. The system supports architectures like , MIPS, PowerPC, and , enabling fast boot times and deterministic performance in multicore environments using uAMP, sAMP, and SMP configurations. Nucleus RTOS found widespread use in industrial automation, medical devices, airborne systems, , and networking equipment, where it met stringent requirements for reliability and certification, including Achilles Levels 1 and 2 for cybersecurity and Nucleus SafetyCert for safety-critical compliance. Notable deployments include modems from and RISC-V-based edge devices on Microchip PolarFire SoCs. However, discontinued standalone offerings of Nucleus RTOS in November 2023, alongside related products like Nucleus and ReadyStart, though existing support contracts continue to be honored.

Overview

Key Features

Nucleus RTOS is a real-time designed for embedded systems, featuring priority-based, preemptive scheduling that ensures deterministic performance in hard real-time environments. This architecture allows tasks to be interrupted by higher-priority ones, enabling predictable response times critical for applications like automotive controls and medical devices. The operating system supports both 32-bit and 64-bit architectures, scaling from resource-constrained microcontrollers (MCUs) to high-end microprocessors (MPUs), including platforms such as /R/M, MIPS, PowerPC, and . This broad compatibility facilitates deployment across diverse hardware, from low-power sensors to complex multi-core systems. Integrated power management features, including Dynamic Voltage and Frequency Scaling (DVFS) and various sleep modes, optimize energy efficiency for battery-powered and IoT devices. These capabilities, supported by a dedicated framework with APIs for power state transitions, help minimize consumption without compromising real-time responsiveness. Nucleus RTOS includes built-in connectivity for IoT applications, supporting protocols such as and CoAP alongside stacks, OPC UA, and DDS to enable secure device-to-cloud communication. Its modular design allows customization by including only necessary components, resulting in a low footprint starting at around 2 KB for RAM and ROM in minimal configurations, along with fast boot times and sub-microsecond latencies. Deployed in over 3 billion devices worldwide, these attributes underscore its reliability and widespread adoption in embedded markets.

Core Architecture

Nucleus RTOS employs a architecture that separates essential kernel services, such as and inter-task communication, from user-space processes, thereby enhancing system reliability and in embedded environments. This design minimizes the kernel's footprint while allowing optional components to be included or excluded during compilation, enabling scalability across resource-constrained devices from low-end microcontrollers to high-end multiprocessors. The core kernel can be as compact as 2 KB, supporting hard real-time determinism without compromising performance. The process model in Nucleus RTOS facilitates dynamic loading and unloading of modules through Dynamic Linking and Loading (DLL) capabilities, particularly on cores, allowing runtime adaptability for applications like IoT endpoints. This model supports task isolation via Memory Management Units (MMUs) on higher-end processors or Memory Protection Units (MPUs) on Cortex-M devices, enabling protected memory spaces that prevent faults in one subsystem from affecting others. Dynamic task creation and deletion further contribute to modularity, permitting efficient during execution. Memory management in Nucleus RTOS includes full MMU support for addressing, alongside primitives for static and dynamic heap allocation, including buffers to optimize data handling. Protected regions ensure isolation without the overhead of full virtualization, using a linear suitable for embedded constraints. Interrupt handling is optimized for low-latency responses, achieving sub-microsecond interrupt service times and context switching to meet real-time demands in time-critical systems. The model relies on primitives like semaphores, queues, mailboxes, and pipes for efficient inter-task communication, supplemented by application timers and event flags. Footprint optimization techniques emphasize configurability, where only necessary kernel services are compiled into the final , reducing size and usage while maintaining for diverse hardware targets. This approach, combined with the microkernel's minimal core, ensures efficient deployment in power-sensitive and space-limited embedded applications.

History

Origins and Early Development

Nucleus RTOS traces its origins to the late 1980s, when Bill Lamie developed an initial version called Nucleus RTX while addressing limitations in existing real-time operating systems for embedded applications. In 1990, Lamie co-founded Accelerated Technology Inc. (ATI) with Neil Henderson to commercialize this technology, focusing on providing a simple, source-code-available RTOS for time-critical embedded systems. ATI released Nucleus PLUS, the first major iteration designated as version 1.0, on March 27, 1993, specifically targeting embedded real-time applications in industrial and . This early version introduced core kernel features, including static and dynamic thread management, message queues with variable or fixed-length support, and a segmented architecture, enabling deterministic responses in resource-constrained environments. Designed for both 16- and 32-bit processors, Nucleus PLUS emphasized portability across diverse architectures, with initial off-the-shelf ports for the , PowerPC, and expansions to , , , MIPS, and processors by the mid-1990s. Approximately 95% of the codebase was written in from the outset, promoting broad compiler support, minimal assembly dependencies, and ease of adaptation to new hardware platforms. Pre-2.x versions (1.x series) achieved widespread adoption in the mid-1990s for devices demanding reliable real-time performance, such as control systems in industrial automation and early , establishing Nucleus as a foundational RTOS for embedded development.

Acquisitions and Major Releases

In March 2002, Mentor acquired Accelerated Technology Inc., the developer of Nucleus RTOS, integrating it into its Embedded Systems Division and rebranding it under the Embedded Software Division to expand its portfolio in real-time embedded solutions. This acquisition facilitated enhanced development resources, leading to the release of Version 2.x in 2003, which introduced significant improvements in networking capabilities, including support, file systems, and Universal Serial Bus (USB) integration, broadening its applicability for embedded devices. The third generation, Version 3.x, was launched in 2010, marking a major evolution with the addition of 64-bit processor support, (SMP) and asymmetric multiprocessing (AMP) for multi-core architectures, and the Nucleus Process Model for enhanced task and memory isolation using memory management units (MMU) or memory protection units (MPU). Subsequent updates in the 3.x series integrated IoT frameworks such as and 802.15.4 wireless connectivity for low-power devices in 2015, alongside safety certifications including for aerospace applications and compliance with ; certification for automotive applications was achieved later. Under following the 2017 acquisition of , the fourth generation, Version 4.x, was released around 2020, extending multicore support, adding architecture compatibility, and enhancing safety profiles for standards like ASIL-D. Post-acquisition enhancements included an expanded partner ecosystem, notably integration with tools like Sourcery CodeBench, a GNU-based IDE providing OS-aware and analysis for Nucleus development across , MIPS, and PowerPC architectures.

Technical Components

Kernel Design

The Nucleus RTOS kernel employs a priority-based, preemptive multitasking scheduler that supports up to 256 priority levels, ranging from 0 (highest) to 255 (lowest), enabling precise task management in real-time embedded environments. This design ensures that higher-priority tasks lower-priority ones immediately upon becoming ready, guaranteeing deterministic response times critical for hard real-time applications. For tasks sharing the same priority, the kernel implements time-slice , where CPU time is allocated in configurable slices to promote fairness while preserving overall system determinism. Context switching overhead is minimized to under 1 on typical embedded hardware, facilitating efficient multitasking without significant penalties. Resource management in the kernel relies on such as mutexes for , which prevent concurrent access to shared resources and support priority inheritance to avoid inversion, and counting semaphores for inter-task and resource counting. handling is facilitated through NU_ERROR codes returned by functions when parameter validation detects issues, such as invalid pointers or resource limits, complemented by a model that provides fault isolation between user and kernel spaces to prevent cascading failures. To optimize power efficiency, the kernel offers configuration options for tickless operation via tick suppression during periods, allowing the to enter low-power states without periodic timer interrupts.

System Services

Nucleus RTOS provides a suite of services through its application programming interface (), enabling developers to manage tasks, handle timing, facilitate communication, interface with hardware peripherals, perform diagnostics, and allocate efficiently in resource-constrained embedded environments. These services are designed for deterministic behavior, supporting real-time applications across various processor architectures. The emphasizes simplicity and portability, with functions prefixed by "NU_" in the full Nucleus implementation, while the static Nucleus SE variant uses "NUSE_" equivalents for similar functionality. Task management in Nucleus RTOS allows for dynamic creation, suspension, and termination of tasks to support multitasking. The NU_Create_Task function initializes a new task by specifying its name, , priority, stack size, and initial parameters, returning a task control block for ; this is essential for building scalable applications but is not available in the static Nucleus SE version. Suspension is handled by NU_Suspend_Task, which halts a specified task indefinitely until resumed, with checking for invalid tasks, while termination via NU_Delete_Task removes the task and frees its resources, ensuring clean resource reclamation. These APIs integrate with the kernel's priority-based preemptive scheduler, where tasks are assigned priorities from 0 to 255 to determine execution order. Timer services in Nucleus RTOS support both one-shot and periodic modes for handling timeouts and recurring events, crucial for real-time responsiveness. Timers are created with a specified expiration time and optional callback routine, operating in one-shot mode by expiring once (reschedule time set to 0) or periodic mode by auto-restarting after each expiration, with reschedule intervals independent of initial setup. Key APIs include NUSE_Timer_Control for starting or stopping timers, NUSE_Timer_Get_Remaining to query ticks until expiration, and NUSE_Timer_Reset to return a timer to an unused state; these enable precise event scheduling without blocking tasks. Up to 16 timers can be configured statically in Nucleus SE via nuse_config.h. Message passing is facilitated through queues and pipes for efficient inter-task communication, promoting in multi-task designs. Queues handle fixed-size messages (typically single addresses or pointers) on a FIFO basis, with APIs like NUSE_Queue_Send to post messages (optionally suspending on full queues) and NUSE_Queue_Receive to retrieve them (suspending on empty queues); NUSE_Queue_Jam allows priority insertion at the front. Pipes extend this for variable-length byte streams, supporting up to 16 instances in Nucleus SE, using NUSE_Pipe_Send or NUSE_Pipe_Jam for writing data (suspending if full) and NUSE_Pipe_Receive for reading (suspending if empty), ideal for like sensor inputs. These mechanisms avoid busy-waiting and support timeouts for bounded latency. The basic I/O drivers framework in Nucleus RTOS provides a modular structure for integrating peripherals such as UARTs for and GPIOs for digital I/O, allowing custom drivers to be developed and linked as needed. This framework, part of the scalable Nucleus ReadyStart environment, uses a lightweight I/O server model to abstract hardware access, enabling interrupt-driven operations and buffering for efficient data transfer without kernel overhead. Developers configure drivers via board support packages (BSPs), supporting peripherals through standardized entry points for initialization, read/write, and control operations. Diagnostic tools in Nucleus RTOS aid and optimization through performance monitoring and trace capabilities. Stack checking via NUSE_Task_Check_Stack monitors available stack space to prevent overflows, while like NUSE_Task_Information retrieve runtime details such as task state and priority. Trace buffers log kernel events—including calls, switches, and interrupts—with details like , task ID, and operation codes, stored in circular buffers for post-mortem analysis or real-time export to host tools; this is enabled via directives for minimal runtime impact. These features support proactive error detection and profiling in production-like environments. Memory pool management in Nucleus RTOS uses partition pools for fixed-size block allocations, ensuring predictability and preventing fragmentation in real-time systems. Pools are created with NU_Create_Partition_Pool, specifying the starting address, total size, partition size (e.g., 40 bytes), and suspension policy (FIFO or priority-based); this pre-allocates contiguous into uniform blocks. Allocation occurs via NU_Allocate_Partition, which returns a pointer to a free block or suspends the task on exhaustion, with NU_Deallocate_Partition for safe release; fixed sizing guarantees O(1) operations and no external fragmentation, making it suitable for buffers or message structures.

File Systems

Nucleus RTOS includes robust support as part of its , enabling persistent storage management for embedded applications across diverse media types. It provides compatibility with FAT12, FAT16, and FAT32 s, including extensions and partition handling for compatibility with standard storage devices. Additionally, it supports the LWEXT4 with 64-bit addressing, allowing for large file sizes up to 16 tebibytes, and the ISO9660 format for optical media. A key component is the SAFE file system, a fault-tolerant solution designed for high-reliability storage in safety-critical and power-sensitive environments. SAFE ensures during power failures or system interruptions by maintaining a complete file system image before any modifications, enabling quick recovery without corruption; it is optimized for flash-based media such as NOR, NAND, and DataFlash, reducing the risk of file glitches in and embedded devices. While primarily focused on power-fail resilience, SAFE can integrate with mechanisms for secure storage in safety-critical applications, though specific encryption is handled via broader Nucleus libraries. The RTOS supports multiple simultaneous file systems, facilitating hybrid storage configurations where different formats and media can coexist. This allows up to 32 mounts in complex setups, managed through a layer that abstracts underlying hardware differences. The media abstraction layer accommodates a wide range of storage options, including NAND flash, NOR flash, eMMC, SD cards, RAM disks, IDE/ATA drives, and USB devices, ensuring portability across platforms. File and directory operations are exposed through a unified, extensible that provides POSIX-like interfaces for common tasks such as opening, reading, writing, and closing files (e.g., functions analogous to nu_fopen and nu_fread). This supports standard I/O semantics while integrating with Nucleus memory pools for efficient buffer management in real-time contexts. For flash media, the incorporates wear-leveling algorithms and bad block management to mitigate uneven usage and defects, enhancing longevity in non-volatile storage environments. These features collectively enable reliable, scalable storage solutions tailored to embedded systems' constraints.

Networking Capabilities

Nucleus RTOS provides networking capabilities through its Nucleus NET component, an embedded TCP/IP stack designed for resource-constrained environments. The stack supports a dual IPv4 and configuration, enabling seamless operation across both protocol versions for modern embedded applications. At its core, Nucleus NET implements key transport and protocols, including TCP for reliable, connection-oriented communication, UDP for lightweight, connectionless data transfer, and ICMP for error reporting and diagnostics. These protocols form the foundation for IP-based networking in embedded systems, optimized for deterministic performance in real-time scenarios. The stack supports over 50 standard IP protocols, ensuring broad compatibility while maintaining a small suitable for low-end microcontrollers. Application development is facilitated by BSD-style socket APIs, which provide a familiar interface for creating and managing network connections, including support for raw sockets to enable custom protocol implementations. This abstraction allows developers to port existing networked code with minimal modifications. For dynamic network configuration, Nucleus NET includes a DHCP client and server for automated IP address assignment, along with a DNS resolver for hostname-to-IP mapping. Quality of Service (QoS) features in Nucleus NET enable traffic prioritization, essential for streams such as in industrial control systems, through mechanisms like tagging and protocol-specific handling. The stack integrates with PPP for establishing serial connections over dial-up or links, and it includes drivers for Ethernet interfaces to support wired network attachments. These elements collectively ensure high throughput via optimizations like buffering, while keeping the overall footprint compact for embedded use.

Security Mechanisms

Nucleus RTOS incorporates security solutions that include high assurance mechanisms to ensure the of the boot process, preventing unauthorized modifications to the . These mechanisms establish a root of trust from the initial stage, utilizing cryptographic techniques to verify authenticity and prevent tampering. For cryptographic operations, Nucleus RTOS integrates with libraries such as and to support TLS/SSL encryption protocols, enabling secure data transmission and certificate management in resource-constrained embedded environments. The library, in particular, provides lightweight SSL/TLS implementation optimized for RTOS platforms like Nucleus, including support for hardware crypto engines to accelerate encryption tasks. Nucleus RTOS cryptographic modules achieve compliance with standards through the validated wolfCrypt library, which has received (Certificate #3389) for its implementation on the platform. This validation covers essential cryptographic functions, ensuring adherence to federal security requirements for protecting sensitive data in deployed systems. Integration with TrustZone further enhances security by providing hardware-enforced isolation for sensitive operations, complementing software-based protections in the RTOS kernel.

Graphics and User Interface

Nucleus RTOS provides robust support for and development in embedded systems, enabling the creation of interactive human-machine interfaces on resource-constrained hardware. Through integrations with established frameworks and libraries, it facilitates scalable UI solutions ranging from simple 2D displays to complex 3D visualizations, while maintaining real-time essential for embedded applications. A key component is the tight integration with the Qt framework, which allows developers to build cross-platform graphical user interfaces optimized for embedded environments. This integration enhances UI development workflows by combining Qt's declarative language and tools with Nucleus RTOS's real-time kernel, supporting features like responsive animations and multi-touch interactions on devices such as consumer appliances. The Qt add-on for Nucleus reduces and improves performance, making it suitable for everything from wearable devices to industrial panels. For rendering, Nucleus RTOS includes support for , enabling efficient 2D and 3D graphics acceleration on hardware with limited resources. This allows harnessing GPU capabilities in processors like series via open standards, facilitating smooth visuals in applications requiring graphical intensity without compromising system responsiveness. Optional further optimizes rendering pipelines for embedded GPUs. Input handling is facilitated through drivers for and other devices, supporting capacitive and resistive touch panels alongside keypads and mice. These drivers enable intuitive user interactions, as demonstrated in deployments with high-resolution LCD touchscreens for consumer interfaces. Event processing integrates seamlessly with the RTOS kernel to ensure low-latency responses. The Qt integration within Nucleus provides comprehensive font and image handling libraries, incorporating techniques to deliver crisp text and visuals on various displays. This supports scalable vector fonts and raster image formats, ensuring high-quality rendering even on small screens while minimizing computational overhead. Nucleus RTOS features a that supports multi-application user interfaces, including desktop-like controls such as menus, buttons, and dialogs, with efficient event dispatching across tasks. This framework allows overlapping windows and prioritized event handling, integrated via Qt or third-party libraries for modular UI composition. Optimizations for low-power displays like LCD and are embedded in the RTOS's graphics stack, leveraging features such as dynamic voltage scaling and tick suppression to reduce during rendering and idle states. These ensure prolonged battery life in portable devices while maintaining visual fidelity.

Connectivity and Wireless Support

Nucleus RTOS provides robust support for short-range wireless communication through its integrated (BLE) and classic stacks, enabling efficient data exchange in resource-constrained embedded devices. These stacks facilitate profiles such as A2DP for audio distribution and HFP for hands-free operations, optimized for low-power applications like wearables and IoT sensors. For broader wireless coverage, Nucleus includes (IEEE 802.11) drivers that integrate with middleware for secure connectivity, supporting dual IPv4/IPv6 stacks to handle modern network requirements in embedded systems. These drivers enable seamless integration with hardware like TI WiLink modules for 2.4 GHz and 5 GHz operations, focusing on deterministic performance in real-time environments. In IoT scenarios, Nucleus incorporates lightweight messaging frameworks such as broker and client implementations, alongside CoAP for constrained environments, allowing efficient publish-subscribe and request-response interactions over IP protocols. These protocols support cloud connectivity to platforms like AWS and Azure, emphasizing low overhead for battery-powered nodes. Mesh networking is addressed through 802.15.4 radio support, with and Thread enabled via partner stacks for scalable, low-power topologies in smart home and industrial sensor networks. This layered approach leverages the physical and MAC layers of 802.15.4 while integrating higher-level protocols from ecosystem partners. Tethered connectivity is facilitated by a comprehensive USB device and host stack compliant with USB 2.0 and 3.0 standards, including OTG functionality for data transfer in peripherals and hubs. The stack supports class drivers for applications like and interface devices, ensuring compatibility across diverse hardware. Over-the-air (OTA) update mechanisms in Nucleus leverage its process model to enable dynamic deployment, allowing modules to be reloaded or updated without system interruption. This feature integrates with networking for secure delivery, critical for maintaining IoT device fleets in the field.

Multi-Core and Scalability Features

Nucleus RTOS provides robust multi-core support through (SMP) and asymmetric multiprocessing (AMP) configurations, enabling efficient utilization of multi-processor environments in embedded systems. In SMP mode, a single instance of the OS runs across multiple homogeneous cores, facilitating load balancing to distribute tasks dynamically for optimal performance and resource utilization. This approach ensures that tasks with higher priorities, as managed by the kernel's priority-based scheduling, can migrate between cores to meet real-time deadlines. For heterogeneous setups, Nucleus supports AMP variants including unbound AMP (uAMP) and semi-bound AMP (sAMP), allowing independent OS instances or task sets on diverse cores such as , Cortex-R, Cortex-M, and DSPs. Inter-core communication in AMP environments is handled via the Mentor Embedded Multicore Framework (MEMF), which employs mechanisms like for data exchange and through protocols such as VirtIO, remoteproc, and rpmsg for reliable and synchronization. In SMP, communication leverages with spinlocks and barriers to maintain low-latency interactions. Affinity scheduling enhances optimization by binding tasks and interrupts to specific cores, including hard affinity for cache-sensitive operations and soft affinity for flexible migration, thereby reducing overhead in performance-critical applications. The RTOS scales seamlessly from single-core low-end microcontrollers to high-end multi-core systems with up to dozens of cores, supporting 32- and 64-bit architectures for devices ranging from resource-constrained MCUs to complex SoCs. This scalability is achieved through modular components that can be configured or removed via tools like Nucleus ReadyStart, ensuring deterministic behavior across varying hardware scales. Nucleus also accommodates hybrid architectures, such as , by combining SMP within core clusters and AMP across heterogeneous groups, optimizing power and performance in mixed high- and low-power cores.

Safety Certifications

Nucleus SafetyCert, a variant of the Nucleus RTOS designed for safety-critical applications, has achieved certifications to the highest levels of several international functional safety standards. It is certified to DO-178C Design Assurance Level A (DAL A) for avionics software development, ensuring rigorous verification and validation processes for airborne systems. For industrial safety systems, Nucleus SafetyCert complies with IEC 61508 Safety Integrity Level 3 (SIL 3), as verified by TÜV SÜD, enabling its use in applications requiring high reliability against systematic failures. In the automotive sector, it meets ISO 26262 Automotive Safety Integrity Level D (ASIL D), the most stringent classification for functional safety in road vehicles, certified by TÜV SÜD on ARM Cortex-R5 cores and adaptable to other ARM and RISC-V architectures. To support these certifications, Nucleus SafetyCert incorporates built-in mechanisms, including partitioning that isolates software subsystems into separate domains to contain faults and prevent propagation across safety levels. This partitioning facilitates mixed-criticality systems by protecting safety-critical code from non-critical components, enhancing overall system robustness without compromising performance. Additionally, it supports redundancy through the Nucleus Multicore Framework Cert, which enables multi-OS configurations on multi-processor SoCs for operations in diverse environments. Siemens provides comprehensive certification artifacts with Nucleus SafetyCert, including hyperlinked documentation for full lifecycle traceability, detailed software test plans, complete test suites, verification reports, and a safety manual outlining usage conditions such as restrictions to public interfaces. These artifacts streamline the certification process for developers by offering pre-verified evidence of compliance, reducing the effort needed to achieve end-system certification under the respective standards.

Supported Platforms

Processor Architectures

Nucleus RTOS provided extensive support for architectures until its discontinuation in 2023, encompassing the Cortex-A series for high-performance applications, the Cortex-M series for microcontroller-based systems, and the Cortex-R series for real-time processing in safety-critical environments. This included compatibility with 64-bit ARMv8 implementations, enabling leverage of advanced processing capabilities in modern system-on-chips (SoCs). Support for PowerPC and NXP (formerly Freescale) processors targeted industrial and automotive sectors, where these architectures delivered robust performance for control systems and embedded computing. Nucleus RTOS integrated seamlessly with NXP's Power Architecture-based devices, facilitating deterministic operation in demanding environments. MIPS architectures were supported for networking and consumer devices, offering efficient instruction sets suitable for embedded routers, set-top boxes, and multimedia systems. This included variants like MIPS32 and MIPS 34K cores, ensuring low-latency execution for protocol handling and . RISC-V support was introduced in later versions of Nucleus RTOS, starting with release 4.1.0, to accommodate ecosystems and enable scalable deployments on third-party boards for edge and smart devices. This addition provided a alternative for developers seeking flexible, customizable processor designs. Texas Instruments DSPs and Sitara processors were backed for and ARM-based industrial applications, with Nucleus RTOS optimized for TI's and AM335x platforms to support and connectivity features. These integrations highlighted Nucleus's versatility in handling DSP workloads alongside general-purpose computing. Historically, Nucleus RTOS included support for and ColdFire architectures, though these were deprecated in recent configurations to focus on more prevalent embedded platforms. Early versions provided ports for in consumer electronics and ColdFire for networking gateways, reflecting the RTOS's evolution with industry shifts. Following discontinuation of standalone offerings in November 2023, no new processor architectures or ports were added, though existing support under contracts continued to be honored.

Target Devices and Ecosystems

Nucleus RTOS provided support for a range of microcontrollers (MCUs) suitable for embedded applications until 2023, including STMicroelectronics' STM32 series based on ARM Cortex-M cores. It also extended compatibility to NXP Semiconductors' i.MX applications processors, such as the i.MX 6 series, enabling real-time operations in mobile and industrial devices. Additionally, the RTOS accommodated Renesas MCUs through its broad architecture coverage, including legacy SuperH processors like the SH7705 for consumer electronics. These integrations allowed developers to leverage Nucleus on diverse hardware platforms, from low-power MCUs to more complex systems-on-chip (SoCs). The RTOS integrated seamlessly with development tools to streamline creation. It included support for the Eclipse-based CodeBench IDE, featuring GNU-based GCC/G++ compilers, debuggers, and the Sourcery Analyzer for trace and , although Sourcery CodeBench has since been retired. Modern workflows could utilize compatible Eclipse-based environments, providing a unified platform for configuration, building, and across supported architectures. Board support packages (BSPs) were available for evaluation boards from leading vendors, facilitating and . These BSPs covered reference designs with popular SoCs, including those from NXP's family, and were optimized for integration with Nucleus ReadyStart to handle peripherals, interrupts, and boot processes. Vendors such as and distributed these evaluation boards, enabling developers to test Nucleus deployments on real hardware without custom porting. Nucleus RTOS offered compatibility with hypervisors to enable in resource-constrained embedded environments, supporting asymmetric (AMP) configurations where multiple OS instances run isolated on multicore hardware. This setup allowed secure partitioning of real-time tasks alongside other systems, enhancing reliability in mixed-criticality applications without significant overhead. Ecosystem partnerships enhanced Nucleus RTOS adoption through certified integrations and reference designs. Collaborations with provided optimized support for Cortex-A, Cortex-R, and Cortex-M cores, including TrustZone security extensions for protected execution environments. Partnerships with extended to architectures for legacy embedded processing, while ties with (TI) included BSPs for SoCs like and Sitara in various applications. These alliances ensured validated configurations that reduced development risks and accelerated time-to-market for certified applications. Basic configurations of Nucleus RTOS imposed minimal hardware constraints to suit low-end embedded devices. It required approximately 12-30 KB of ROM for the kernel and as little as 0.5 KB of RAM in optimized setups on processors, though practical deployments with essential services typically demanded around 16 KB RAM and 32 KB ROM. This scalability allowed footprint adjustments based on features like networking or security, ensuring viability on MCUs with limited resources.

Applications and Deployments

Notable Products and Devices

Nucleus RTOS has powered numerous high-profile embedded applications, showcasing its robustness in demanding environments where real-time performance and reliability are paramount. A key deployment is in NASA's spacecraft, launched in 2006, where it handled mission-critical real-time control for the interplanetary probe's flight computer during its voyage to and the Kuiper Belt. In the education sector, the TI-Nspire series of graphing calculators relies on Nucleus RTOS as the foundation of their operating system, supporting advanced computational features and user interfaces in handheld devices. Crestron automation systems, specifically older 2-series control processors, utilize Nucleus RTOS to manage real-time operations in home and , enabling seamless integration of , HVAC, and audiovisual controls. In healthcare, Nucleus RTOS is integrated into various medical devices from OEMs, leveraging its certified safety features for patient-critical functions. Consumer electronics have also adopted Nucleus RTOS extensively; for instance, set-top boxes from incorporate it for handling and connectivity. In the automotive domain, pre-2020 infotainment systems in vehicles from European manufacturers, such as those powered by Renesas R-Car H2 SoCs, use Nucleus RTOS to deliver high-performance graphics, navigation, and multimedia experiences. Nucleus RTOS is also used in modems from for next-generation modem technology. Additionally, it enables RISC-V-based edge devices on Microchip PolarFire SoCs.

Industry Applications

Nucleus RTOS is widely adopted in the aerospace and defense sector for real-time control systems in satellites and avionics, where its deterministic performance and safety certifications ensure reliable operation under stringent conditions. The system's Nucleus SafetyCert variant has been verified to meet RTCA DO-178C Level A requirements, facilitating certification for safety-critical airborne software by providing protected memory partitioning and full traceability of development artifacts. This enables fault isolation in mixed-criticality environments, critical for mission assurance in defense applications. In the automotive industry, Nucleus RTOS supports engine management units and advanced driver-assistance systems (ADAS) by delivering low-latency real-time processing essential for . Its SafetyCert edition is certified to ASIL D on Cortex-R5 cores, allowing deployment in high-integrity components like stability control and braking systems while supporting scalability across modern and architectures. The RTOS's memory partitioning isolates faults, enhancing system reliability in automotive electronic control units. For industrial automation, Nucleus RTOS powers programmable logic controllers (PLCs) and robotics with its ability to handle precise timing and safety protocols in harsh environments. Certified to IEC 61508 SIL 3, the SafetyCert kernel provides robust fault tolerance through code reviews, analysis, and testing, making it suitable for safety-related automation systems. This certification supports mixed-criticality operations, ensuring uninterrupted control in manufacturing and robotic processes. In consumer IoT, Nucleus RTOS facilitates the development of smart home devices by integrating connectivity stacks for seamless device interaction. It supports low-power protocols such as and , enabling resource-constrained endpoints to maintain connectivity in mesh networks while optimizing energy efficiency. The RTOS's scalable footprint allows adaptation to varied smart home ecosystems, prioritizing security and real-time responsiveness. The medical sector employs Nucleus RTOS in diagnostic tools that demand low-latency data processing and certified reliability for . With Class C , it ensures compliance for software in life-sustaining devices, offering fault isolation and high performance to support embedded medical applications. This configuration enhances device usability and regulatory adherence in diagnostic and monitoring systems. Networking equipment such as routers and switches benefits from Nucleus RTOS's integrated -ready stack, which provides dual-stack support for both IPv4 and protocols to future-proof connected . The certified networking delivers deterministic packet handling, essential for high-throughput environments, and includes protocols to protect transmission. This enables efficient scaling in enterprise and edge networking deployments.

Current Status

Product Lifecycle and Discontinuation

Major development of Nucleus RTOS continued beyond version 3.x, with security updates such as patches in 2022 and enhancements announced in 2023, including SafetyCert 4 for ASIL-D compliance and multicore framework extensions in version 4.2 supporting Zephyr and , prior to discontinuation. In November 2023, Siemens officially announced the discontinuation of Nucleus RTOS, along with related products such as the Nucleus Hypervisor, Nucleus ReadyStart, and others including Sokol Flex and Sourcery CodeBench. This retirement was part of ' broader product lifecycle evolution, reflecting a strategic shift toward automotive and solutions, which diminished emphasis on standalone embedded RTOS offerings. The announcement was communicated through Siemens' official support channels in late 2023, confirming that while existing support contracts would be honored, no new licenses or updates would be provided for the discontinued products. Despite the discontinuation, Nucleus RTOS continues to power over 3 billion legacy embedded devices worldwide, many of which remain operational in critical applications without access to further enhancements. Archived documentation for Nucleus RTOS is available via ' legacy support portals, enabling ongoing for deployed systems under existing agreements.

Legacy Support and Migration

maintains support for existing Nucleus RTOS deployments by honoring all active support contracts until their natural expiration dates, ensuring customers retain access to necessary patches and updates through the portal. This approach prioritizes continuity for legacy systems, particularly those in certified environments, where focuses on stability and compliance rather than new feature development. Following the product's discontinuation in November 2023, ceased all new sales and standalone licenses, redirecting resources to fulfill these ongoing obligations for safety-critical and industrial applications. For users planning to migrate away from Nucleus RTOS, official recommendations emphasize transitioning to compatible real-time solutions from Wind River, such as for maintaining hard real-time performance and multi-core scalability, or the Helix Virtualization Platform for hypervisor-based mixed-criticality systems. These migrations preserve certifications, with supporting over 600 programs across industries like and automotive. Porting is facilitated by partner-provided tools, including compatibility layers to ease transitions, Board Support Package (BSP) migrations for hardware adaptation, and integrated development environments like Wind River Workbench IDE paired with the Diab Compiler for efficient . Beyond commercial options, third-party and community-driven alternatives provide viable paths for smaller-scale or cost-sensitive projects, with open-source RTOS like Zephyr offering comparable low-footprint designs suitable for resource-constrained embedded devices. Long-term sustainability for remaining Nucleus deployments hinges on proactive , as evidenced by the need to apply patches for identified vulnerabilities, such as the denial-of-service issue in CVE-2021-31890 affecting the TCP/IP stack, to safeguard against potential exploits in connected systems. Wind River's DevSecOps practices, including vulnerability tracking via their Security Center, further underscore the value of migration for enhanced ongoing protection.

References

Add your contribution
Related Hubs
User Avatar
No comments yet.