cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable Trustzone on STM32U5 Series

Diane POMABIA
ST Employee
The aim of this article is to provide guideline for disabling Trustzone on STM32U5.

1. Hardware and software setup

  • Nucleo MB1549-U5A5ZJT6Q1. Hardware and software setup
  • STM32CubeProgrammer

As you can see when connecting your board to STM32CubeProgrammer and checking the option bytes, TZEN is checked (TrustZone® enabled).

1639.png


2. Disable TrustZone®

To disable TrustZone®, you have to:

Step 1: Connect Boot0 to VDD on your board:

This consists on connecting PH3 pin (CN11 pin 7) to VDD (CN11 pin 5).
1640.png

Step 2: Connect your board with STM32CubeProgrammer in "hot plug" Mode.

1641.png


Step 3: Switch RDP value in “readout protection” to level 1, then click on apply.

1642.png

Step 4:

  • Switch RDP value to level 0
  • Uncheck the TZEN value in user configuration. 1643.png

Step 5: Then click on apply to program the option bytes.

1644.png

Step 6: Disconnect your board to STM32CubeProgrammer.
Step 7: Disconnect Boot0 to VDD.
Step 8: Connect again your board with STM32CubeProgrammer and make sure that TrustZone® is disabled(TZEN unchecked). 


1645.png
Reproduce this procedure faithfully otherwise the TrustZone® will not be disabled.

Version history
Last update:
‎2023-05-04 03:02 AM
Updated by: