Nucleus RTOS
Nucleus RTOS is a real-time operating system produced by the Embedded Software Division of Mentor Graphics, a Siemens Business, supporting 32- and 64-bit embedded platforms. The operating system is designed for real-time embedded systems for medical, industrial, consumer, aerospace, and Internet of things 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 processors.
Nucleus process model adds space domain partitioning for task and module isolation on SOCs with either a memory management unit or memory protection unit, such as those based on ARMv7/8 Cortex-A/R/M cores.
Supported platforms
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. It includes 32-bit MCUs and MPUs, configurable devices, and 32-bit and 64-bit multi-core processors.History
Nucleus 1.x was released first in 1993 by Accelerated Technology 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 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, microcontroller units, digital signal processors, and field-programmable gate arrays. For devices with limited memory resources, Nucleus was designed to scale down to a memory size of <10 kilobytes for both code and data.
Nucleus 3.x introduced support for symmetric multiprocessing and asymmetric multiprocessing both unsupervised uAMP and supervised sAMP. 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
- Runtime tracing support with host side analysis tools
Mentor acquired CodeSourcery in Dec 2010 to replace the EDGE development tools with the Sourcery . 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 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 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
Nucleus RTOS components include:- Kernel
- Services
- Connectivity
- File system
- Networking
- IoT Framework
- Wireless
- Security
- UI & graphics
Kernel
- Real-time kernel with priority based pre-emptive scheduling
- Support for dynamic linking using loadable modules
- C++, POSIX, and microITRON interfaces
- SMP/AMP
- SMP support and runtime control for bound computation domain and affinities to processor cores for tasks and interrupts
- Support for 64-bit architectures
- Scale-able to fit memory constrained devices
- Built-in power management framework
- Source code for all components
Services
- Run-level initialization and registry
- POSIX: kernel, networking, and file system
- Shell and tracing
- Debug agent
- C++
- Power management services
Connectivity
- USB 2.0 and 3.0
- USB Host, Function, and On-The-Go stacks
- Bluetooth with many advanced profiles enabled
- Peripheral Component Interconnect, PCI-X and PCIe
- Controller Area Network and CANopen
- Secure Digital
- SPI, QSPI
- Inter-Integrated Circuit
File system
Multiple simultaneous file systems
- File Allocation Table
- SAFE
- LWEXT
- Install-able third-party file systems
Multiple media support
- CD-ROM
- Hard drive
- RAM disk
- NOR and NAND flash
- USB drive
- SD MMC
Networking
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:- Internet protocol suite
- Internet Control Message Protocol, Dynamic Host Configuration Protocol, network address translation
- Point-to-Point Protocol and Point-to-Point Protocol over Ethernet
- File Transfer Protocol, Telnet, Secure Shell
- Simple Network Management Protocol
- Hypertext Transfer Protocol and HTTPS
- JSON-XML, WebSockets
Security
Wireless
Several Wi-Fi modules from different chip-makers like QCA, Broadcom, TI, and CSR are supported:- IEEE 802.11 a/b/g/n
- IEEE 802.15.4
- Bluetooth, Bluetooth LE
UI graphics
IoT
Recent releases of Nucleus include support for HTTPS, Constrained Application Protocol, MQTT and 6LoWPAN.Nucleus has also announced support for Microsoft Azure cloud computing framework.
Industrial
Nucleus has been integrated with 3rd party industrial stacks from industry leaders. Industrial stack support includes OPC Unified Architecture host and client and EtherNet/IP from and EtherCAT from .Multi-core
Nucleus supports asymmetric multiprocessing mode and symmetric multiprocessing 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 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
Nucleus RTOS is packaged as follows:- Nucleus ReadyStart Edition ReadyStart which includes the runtime system, middleware, BSP 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
Example devices using Nucleus products include:
- New Horizons, interplanetary space probe
- Honeywell for Critical Terrain Awareness Technology in the aviation industry
- IVL Technologies' On-Key Karaoke Handheld Player uses Nucleus PLUS
- Logitech uses it in its Pocket Video Portable Digital Video Cameras
- SK Telecom's first commercialization of code-division multiple access technology in Korea
- Mediatek Dual SIM Dual processor based chipsets found on most Chinese phones
- NEC High Definition Mobile Handset
- ASC's RBOX Multi-Service Aggregator Family uses Nucleus PLUS
- TI-Nspire series handheld calculators use Nucleus as the basis of their operating system
- Telephonics uses it in the USAF C-130 Avionics Modernization Program, SDI System, and the 767 Tanker Program, Aviation Communication System
- Garmin International to develop the CNX80 navigational Global Positioning System for general aviation
- A large number of Motorola, Samsung, LG, Siemens/Benq, Sagem and NEC mobile phones
- The S-Class UI on LG Pop, Arena, etc.
- Intellon Home Plug AV
- Crestron Electronics on their older 2-series control system processors
- BSS Audio in their Soundweb London range.
- Later versions of Creative ZEN product line
- The Infineon S-Gold2 chipset used in Siemens phones: S75, E71, M81, etc.
- The Infineon S-Gold2 baseband chip used in Apple's iPhone
- The Metrotech i5000 Utility Locating Receiver
- The Creative Zen Vision line
- Intel Active Management Technology, vPro embedded controller
- Tandberg MXP video & telephony appliances
- Datex-Ohmeda Avance anesthesia system
- Zoll Medical Corporation defibrillators
- Samsung bada platform based devices
- Mindray early patient monitor, ultrasound device, and hematology analyzer