Embedded security with STM32H7S : A comprehensive guide

Larbi OUIYZME
3 min readApr 25, 2024

--

Introduction

The STM32H7S microcontroller, part of the STM32 family, offers powerful features for embedded applications. In this article, we’ll explore the security aspects of using the STM32H7S and discuss how it can enhance the safety and robustness of your embedded systems.

Key features of STM32H7S

  • High performance : The STM32H7S operates at an impressive clock speed of 600 MHz. It caters to integrators who require a solution tailored to their needs, including smaller flash memory requirements.
  • Bootflash support : Unlike traditional boot ROM, the STM32H7S supports bootflash. This allows for more flexibility in booting and updating firmware.
  • STM32H7S vs. STM32H7R : The primary difference between the STM32H7S and STM32H7R lies in security features. The STM32H7S can perform on-the-fly decryption and encryption directly from RAM, making it the first STM32H7 device to do so. Previously, some STM32H7 devices supported on-the-fly decryption (OTFDec), allowing developers to use secure code without performance penalties.

Security and functionalities

Advanced Security Features :

  • The STM32H7S is prepared for future security directives.
  • It supports on-the-fly decryption and encryption from external memories (MCE).
  • Secure boot and lifecycle management are also integral features.
  • It is the most secure Cortex®-M7 STM32 available.

Applications and Use Cases :

The STM32H7S is ideal for various applications, including :

  • IoT Devices : Securely connect and manage IoT endpoints.
  • Medical Devices : Ensure data privacy and integrity in medical equipment.
  • Industrial Systems : Enhance safety and reliability in industrial automation.

Secure Boot

Secure boot is essential for ensuring firmware integrity during startup. Here’s how the STM32H7S handles secure boot :

  • Bootflash : Unlike traditional boot ROM, the STM32H7S supports bootflash. This allows greater flexibility in the boot process and firmware updates.
  • On-the-Fly Decryption (OTFDec) : The STM32H7S can perform on-the-fly decryption and encryption directly from RAM. It’s the first STM32H7 device to do so. Previously, some STM32H7 devices supported OTFDec, enabling developers to use secure code without performance penalties.

Lifecycle Management

Lifecycle management is crucial for embedded applications. Here’s how the STM32H7S handles this feature :

  • Firmware Updates : The STM32H7S securely supports firmware updates. This allows you to address vulnerabilities and enhance features without compromising security.
  • Data Security : The STM32H7S can decrypt and encrypt data directly from RAM, reinforcing data confidentiality and integrity.

Other Security Features

On-the-Fly Decryption and Encryption from External Memories (MCE): The STM32H7S is prepared for future security directives. It can perform these operations directly from external memories, ensuring data security.
Most Secure Cortex®-M7 STM32 : The STM32H7S is the most secure Cortex®-M7 STM32 available. It provides a solid foundation for IoT, medical, and industrial applications.
In summary, the STM32H7S combines exceptional performance, scalability, and security to meet the demands of modern embedded systems. Whether you’re developing IoT devices, medical instruments, or industrial control systems, the STM32H7S is a wise choice.

Conclusion

The STM32H7S seamlessly integrates exceptional performance, scalability, and robust security features, making it an ideal choice for modern embedded applications. Whether you’re developing IoT devices, medical instruments, or industrial control systems, the STM32H7S provides a solid foundation for secure and reliable designs.

In summary, the STM32H7S is a wise investment, ensuring your embedded solutions meet the highest standards of performance and safety.

For more technical details :

The official page STM32H7R/STM32H7S

PDF Documentation STM32H7R3/7S3

--

--

Larbi OUIYZME
Larbi OUIYZME

Written by Larbi OUIYZME

I'm Larbi, from Morocco. IT trainer and Chief Information Security Officer (CISO), I'm committed to share knowledge. Also, Ham Radio CN8FF passionate about RF

No responses yet