| Nucleus RTOS | |
|---|---|
| Developer | Mentor Graphics Corp., aSiemens Business |
| Written in | C |
| OS family | POSIX,TRON |
| Working state | Current |
| Source model | Closed source |
| Initial release | 1993; 33 years ago (1993) |
| Latest release | 3.x, 2017.02 / May 15, 2017; 8 years ago (2017-05-15) |
| Marketing target | Embedded systems,IoT |
| Available in | English |
| Supported platforms | ARM,NXP,MIPS,TI,PowerPC, AlteraNios II,XilinxMicroBlaze,RenesasSuperH,Infineon,Atmel AT91SAM,RISC-V, others[1] |
| Kernel type | Real-timemicrokernel with hybrid support |
| License | Proprietary |
| Official website | Nucleus website |
Nucleus RTOS is areal-time operating system (RTOS) produced by the Embedded Software Division ofMentor Graphics, aSiemens Business, supporting32- and64-bitembedded system platforms. Theoperating system (OS) is designed forreal-timeembedded systems for medical, industrial, consumer, aerospace, andInternet of things (IoT) uses. Nucleus was released first in 1993. The latest version is 3.x, and includes features such aspower management, process model, 64-bit support, safety certification, and support forheterogeneous computing multi-coresystem on a chip (SOCs) processors.
Nucleus process model adds space domain partitioning for task and module isolation on SOCs with either amemory management unit (MMU) ormemory protection unit (MPU), such as those based on ARMv7/8 Cortex-A/R/M cores.
Nucleus supports many embedded processors including leadingARMv7 Cortex A, R, and M devices. Recent releases supportARMv8 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-bitmulti-core processors.
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 fornetworking,graphics, andfile systems, which accelerated adoption.
Mentor Graphicsacquired 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 likeIPv6,Flash memory file system and Universal Serial Bus (USB) 2.0 were added. Mentor replaced the legacy Codelab debugger with EDGE development tools which includedcompiler tools,debugger, simulator, andprofiler.
Mentor Graphics introduced the 3rd generation Nucleus in 2010. Version 3.x was intended for both high-endmicroprocessor units (MPUs),microcontroller units (MCUs),digital signal processors (DSPs), andfield-programmable gate arrays (FPGAs). For devices with limited memory resources, Nucleus was designed to scale down to a memory size of <10kilobytes (KBs) for both code and data.
Nucleus 3.x introduced support forsymmetric multiprocessing (SMP) andasymmetric multiprocessing (AMP) both unsupervised uAMP and supervised sAMP (using Mentor EmbeddedHypervisor). Other additions in Nucleus 3.x:
In addition to the new features in version 3.x, Nucleus movedbusiness model froma la carte, to one unified package.
Mentor acquired CodeSourcery in Dec 2010 to replace the EDGE development tools with the SourceryCodeBench. Sourcery CodeBench comprises a compiler tool-chain, debugger, and trace analysis tools. The compiler tool-chain is based on GNU tool-chain. The debugger andintegrated development environment (IDE) are based onEclipse. 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. Likemenuconfig in Linux, auser 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.
Nucleus RTOS components include:
Nucleus supports the ability to connect to other devices through various interfaces including:
Unlike Windows and Unix-like operating systems, Nucleus does not need afile system to work. However, for complex uses needing local storage, Nucleus supports several file systems including FAT, SAFE (fault tolerant), and LWEXT.
Nucleus provides support for different file systems and storage media through a virtual file systemapplication 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.
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:
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 packagewolfSSL (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.
SeveralWi-Fi modules from different chip-makers like QCA, Broadcom, TI, and CSR are supported:
Nucleus 3.x supportsOpenGL and leading 3rd party UI libraries. Nucleus supports theQt UI framework which has been optimized for code size and integrated into CodeBench for debugging and tracing. Other UIs supported includeEmbedded Wizard andSocionext CGI Studio.
Recent releases of Nucleus include support for HTTPS,Constrained Application Protocol (CoAP),MQTT and6LoWPAN.
Nucleus has also announced support for Microsoft Azure cloud computing framework.
Nucleus has been integrated with 3rd party industrial stacks from industry leaders. Industrial stack support includesOPC Unified Architecture (OPC UA) host and client andEtherNet/IP fromSoftingArchived 2017-08-22 at theWayback Machine andEtherCAT fromKoenigPa.
Nucleus supportsasymmetric multiprocessing (AMP) mode andsymmetric 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/orbare 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.
Nucleus RTOS is packaged as follows:
Nucleus SafetyCert has been certified for the highest levels of safety forDO-178C,IEC 61508,IEC 62304, andISO 26262.
Example devices using Nucleus products include:
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 asLinux, VxWorks, and more. It includes anintegrated development environment (IDE) andapplication programming interface (API) optimization along with a profiling tool to measure API timing on target boards (www.mapusoft.com).[16]