Embedded Software

Embedded software applications are specialized programming within non-PC devices – either as part of a microchip or as part of another application that sits on top of the chip – to control specific functions of the device. Unlike PC applications, which can be installed on a variety of computer systems and modified to provide different levels of functionality, embedded software has fixed hardware requirements and capabilities. It is created exclusively for the particular device that it runs on, with processing and memory restrictions tied directly to that device’s specifications.

Example of embedded system architecture

Embedded software is used for a specific functionality that contributes to the overall operation of the device

What is the difference between firmware and embedded software?

Although the two terms are sometimes used interchangeably, "firmware" is actually a type of embedded software. While embedded software is used for a specific functionality that contributes to the overall purpose of the device, firmware serves as a minimalistic operating system (OS) that provides the instructions for the device's control, monitoring, and data manipulation functions.

Typically, the firmware is developed alongside the device’s hardware (chip-design) to optimize the operations for power-consumption, speed, and security. After the firmware and hardware are finalized, embedded software applications are developed to execute functions within the finished product or system. To help you distinguish between the two, remember: All firmware is embedded software, but not all embedded software is firmware.

Embedded Software vs Embedded Systems

The hardware components within a device that are running embedded software are referred to as an "embedded system." Some examples of hardware components used in embedded systems are power supply circuits, central processing units, flash memory devices, timers, and serial communication ports. During a device's early design phases, the hardware that will make up the embedded system – and its configuration within the device – is decided. Then, embedded software is developed from scratch to run exclusively on that hardware in that precise configuration. This makes embedded software design a very specialized field that requires deep knowledge of hardware capabilities and computer programming.

Examples of embedded software-based functions

Almost every device made with circuit boards and computer chips has these components arranged into a system that runs embedded software. As a result, embedded software systems are ubiquitous in everyday life and are found throughout consumer, industrial, automotive, aerospace, medical, commercial, telecom, and military technology.

Common examples of embedded software-based features include:

  • Image processing systems found in medical imaging equipment
  • Fly-by-wire control systems found in aircraft
  • Motion detection systems in security cameras
  • Traffic control systems found in traffic lights
  • Timing and automation systems found in smart home devices

What are the different types of embedded systems?

Embedded systems are typically classified in two ways:

  1. When based on performance and functional requirements, there are four main types of embedded systems:
    • Real time embedded systems complete their task or output a response within a specified time – usually “instantly” or in real-time.
    • Stand-alone embedded systems can complete their task without a host system or external processing resources. They can output or receive data from connected devices, but are not reliant on them to complete their task.
    • Networked embedded systems depend on connected network to perform assigned tasks.
    • Mobile embedded systems are highly constrained systems typically deployed in small, portable devices.

  2. When based on the complexity of the system's hardware architecture, there are three main types of embedded systems: 
    • Small Scale Embedded Systems 
    • Medium Scale Embedded Systems 
    • Sophisticated Embedded Systems (also known as Complex Embedded Systems)

Characteristics and features of embedded systems

Even though there are many types of embedded systems, they all share the same beneficial features and design characteristics.

  • All embedded systems are task specific. They execute the same pre-programmed function throughout their usable life and cannot be altered.

  • All embedded systems are designed to be highly reliable and stable. They are required to perform their task with consistent response times and function throughout the lifetime of the device that houses them.

  • All embedded systems are high-efficiency. The resource requirements of embedded software should never exceed the capacity of the hardware it is installed on, and the hardware's specifications should never exceed the bare minimum requirements of the embedded software.

Why is automotive embedded software different?

In automotive electronics, complex real-time interactions occur across multiple embedded systems that each control functions such as braking, steering, suspension, powertrain, etc. The physical housing that contains each embedded system is referred to as an electronic control unit (ECU). Each ECU and its embedded software is part of a complex electrical architecture known as a distributed system.

By communicating with each other, the ECUs that make up a vehicle’s distributed system can execute a variety of functions like automatic emergency braking, adaptive cruise control, stability control, adaptive headlights, and much more. A single function might need interactions across 20 or more embedded software applications spread across numerous ECUs connected by multiple networking protocols. Complex control algorithms deployed with the embedded software ensure the proper timing of functions, needed inputs and outputs, and data security.

Common examples of automotive software application-based features include:

  • ADAS (Advanced Driver Assist Systems) features like adaptive cruise control, automatic emergency braking, lane-keep assist, traffic-assist, lane-departure warnings
  • Battery management
  • Torque compensation
  • Fuel injection rate control

ECU software stack

The Electronic Control Unit or ECU is comprised of a main computing unit with chip-level hardware and a stack of embedded software. However, there is an increasing trend among automotive manufacturers of designing ECUs with complex integrated circuits that contain multiple computing cores on a single chip – what is referred to as a System on a Chip (SoC). These SoC can host a multitude of ECU abstractions in order to consolidate hardware. The software stack for an ECU typically includes a range of solutions, from low-level firmware to high-level embedded software applications.

ECU Stack  Description
Embedded software application Control algorithms, processing, services
Application framework Security & safety frameworks
Operating environment AUTOSAR classic, AUTOSAR Adaptive, Inputs/Output channels
Embedded virtualizations Real-time OS, ECU abstractions
Firmware Boot-loaders, secure-storage, secure-threading
Hardware Silicon based devices, micro-controllers, single or multiple layered boards

About Mentor Embedded Software

In 2017, Siemens acquired the Mentor Graphics company – as well as their portfolio of embedded software, which includes:

  • Mentor Embedded Linux – an embedded systems development platform based on the Yocto Project and on Debian Offering industry-leading commercial embedded Linux® solutions based on the Yocto Project and on Debian, with rich graphics, secure IoT and cloud enablement, and comprehensive development tools.
  • Nucleus RTOS – a unique royalty-free real-time operating system (RTOS) with advanced capabilities like process modeling, SMP, power management, graphics, and safety certification.
  • Mentor Embedded IoT Framework – a multi-cloud solution that enables secure IoT architectures while reducing complexity and costs associated with device porting, scaling, and backend integration.
  • Mentor Embedded Multicore Framework – Allows developers to configure and deploy multiple operating systems and applications across homogeneous or heterogeneous processing cores by providing lifecycle management, boot order control, and inter-core communications to one another.
  • Mentor Embedded Hypervisor – a small footprint type-1 hypervisor designed and built specifically for embedded applications. The high performance capability of Hypervisor enables systems to boot quickly while minimizing the impact on guest operating system execution.
  • Sourcery CodeBench - Sourcery CodeBench delivers a powerful toolset that helps embedded software engineers to efficiently develop and optimize software for a variety of targets and various domains including Automotive, Connectivity, Graphics, and Video applications.
  • Sourcery Toolchain Services – toolchain commercialization, customization, and support services that enable a wide variety of processor architectures
  • and more

In 2021, the Mentor branding was discontinued. However, all of the tools are still offered and supported by Siemens with all of the same functionality that enables developers to create robust and feature-rich embedded systems.


Automotive Embedded Software

Automotive embedded software is increasingly displacing mechanical engineering as the differentiator in the creation of brand experiences.