• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microcontroller Tips

Microcontroller engineering resources, new microcontroller products and electronics engineering news

  • Products
    • 8-bit
    • 16-bit
    • 32-bit
    • 64-bit
  • Applications
    • 5G
    • Automotive
    • Connectivity
    • Consumer Electronics
    • EV Engineering
    • Industrial
    • IoT
    • Medical
    • Security
    • Telecommunications
    • Wearables
    • Wireless
  • Learn
    • eBooks / Tech Tips
    • EE Training Days
    • FAQs
    • Learning Center
    • Tech Toolboxes
    • Webinars/Digital Events
  • Resources
    • Design Guide Library
    • LEAP Awards
    • Podcasts
    • White Papers
  • Videos
    • EE Videos & Interviews
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Engineering Training Days
  • Advertise
  • Subscribe

The fundamentals of MCU-based hardware virtualization

December 2, 2019 By Majeed Ahmad 1 Comment

Virtualization, a powerful technology concept commonly associated with high-end applications in servers, is coming to the microcontrollers featuring multiple execution domains via multiple CPUs with a lock-step mechanism. The microcontrollers that incorporate hardware-based virtualization-assisted functions mark a new integration milestone in the embedded design world.

Moreover, by running multiple software components on a single MCU without interfering with each other, hardware virtualization brings a new level of flexibility and reliability in safety-critical embedded environments. Automotive MCUs running multiple safety integrity levels are a case in point.

Additionally, software systems with different security levels can be executed alongside non-critical software on the same hardware. For instance, a cockpit controller can run an instrument cluster and an in-vehicle infotainment system on a single piece of hardware.

How MCU virtualization works

So, what’s driving the virtualization-ready CPUs on low-cost microcontrollers. The simple answer is that the hardware-based virtualization functions dramatically reduce the processing overhead.

The software-based virtualization, commonly known as a hypervisor, consumes more processing time due to the need to emulate hardware virtually. It must change the CPU states and deliver interrupts. That, in turn, poses problems for automotive MCUs in terms of ensuring the real-time responsiveness for safety-critical applications.

The MCU virtualization also works on the basic hypervisor principles. The hypervisor creates independent virtual machines (VMs), and each VM is isolated from the others. VM isolation allows design engineers to modify or update the systems independently. For that, however, an MCU inevitably requires a large flash memory capacity.

MCU-based hardware virtualization
Figure 1: The multicore MCUs with hardware virtualization functions are allowing automotive designers to move software development and system testing from physical to virtual environments. (Image: Synopsys)

In hardware virtualization, hypervisors can specifically be deployed for multiple RTOSes like AUTOSAR by utilizing MCU features like memory protection. Furthermore, several hypervisors can run on a CPU core.

MCU virtualization venues

The hardware virtualization on MCU platforms is still in its early stages. Some chipmakers are unveiling test chips that can serve as a stepping stone toward MCU virtualization. These chips allow automotive designers to develop software and test patterns ahead of actual samples and move designs from physical to virtual systems (Figure 1).

Then there are EDA houses collaborating with MCU suppliers; the virtualization development kits provided by EDA firms help create virtual prototypes as embedded targets that can be deployed by software teams of MCU suppliers. It also enables electronic control unit (ECU) developers at car OEMs, and Tier-1’s to create a virtual hardware environment for systems integration, fault and coverage testing, and regression testing.

Figure 2: The low-complexity embedded hypervisors facilitate hardware virtualization on low-cost MCUs. (Image: Open Synergy)

Finally, there are software houses that provide software hypervisors for CPU cores like ARM Cortex-R52 (Figure 2). That allows MCU suppliers to run multiple, unmodified operating systems and applications on top of a single microcontroller. It also demonstrates how hardware virtualization is going to be a critical building block in consolidating multiple applications on a microcontroller.

 

Filed Under: Embedded, FAQ, Featured, Hardware, microcontroller Tagged With: FAQ, opensynergy, synopsysinc

Reader Interactions

Comments

  1. Anto Thomas Eluvathingal says

    July 14, 2020 at 1:55 am

    Thanks for publishing the article and this article was very useful for me. I have a query on the hypervisor. Consider a processor that support hypervisor NXP iMX8 and controller NXP S32S. So, does iMX8 supports the software hypervisor and NXP S32S support hardware-based hypervisor?

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Featured Contributions

Designing for functional safety in robotics: key considerations for engineers

Can chiplets save the semiconductor supply chain?

Navigating the EU Cyber Resilience Act: a manufacturer’s perspective

The intelligent Edge: powering next-gen Edge AI applications

Engineering harmony: solving the multiprotocol puzzle in IoT device design

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: Electronic Design Automation
This Tech ToolBox helps to clear the path to faster time-to-market by digging into AI-enhanced design, hardware-assisted verification, parasitic extractions, PCB-to-harness integration, and more.

EE Learning Center

EE Learning Center

EE ENGINEERING TRAINING DAYS

engineering
“bills
“microcontroller
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

Footer

Microcontroller Tips

EE World Online Network

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

Microcontroller Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2026 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy