STM32 MCUs Security

Ask questions and find answers on STM32 security frameworks and tools, including cryptographic libraries, TrustZone, and the Secure Manager.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32H563 OEMiROT Non-Secure Application flash size

Hello,starting from the example application of the OEMiRot boot project, I noticed that the NS application size is limited to 640kB in the flash_layout.h  (#define FLASH_NS_PARTITION_SIZE (0xA0000) /* 640 KB for NS partition */)Since there is 1MB ava...

STM32MP133C- writing to ETZPC from baremetal

Hello! I've been fighting with the MP13 for a couple months now in trying to enable reading/writing to the NAND, as well as configuring ethernet and keep running into issues with being unable to update the necessary registers for this. When writing t...

Aerokii by Associate
  • 47 Views
  • 0 replies
  • 0 kudos

Signing using CCB

HiI am implementing the ECDSA-P256 signing for a payload.I have checked the example code  https://github.com/STMicroelectronics/STM32CubeU3/tree/main/Projects/NUCLEO-U385RG-Q/Examples/CCB/CCB_Protected_ECDSA_SignatureThe example code shows that the s...

SAMINA by Associate II
  • 169 Views
  • 4 replies
  • 1 kudos

How to revert from TZEN to non secure mode

HiI am using STM32L562 and sampled and flashed the Zephyr OS example for TrustMode. I could not revert back the TrustZone therefore followed the information from the link https://community.st.com/t5/stm32-mcus-security/reverting-option-byte-configura...

SAMINA by Associate II
  • 205 Views
  • 6 replies
  • 2 kudos

RDP regression from Level 1 to level 0

Hi teams,CPU: STM32U0Current RDP level: Level 1OEM1 RDP lock: Enabled.I had set the 128bit OEM1 key to the OEM key registers  [FLASH_OEM1KEYWyR ]accordingly, and the written OEM1 key values was verified using their CRC values by reading  OEM1KEYCRC r...

Akhil0812_1-1757927296932.png Akhil0812_0-1757927087750.png Akhil0812_2-1757927466101.png Akhil0812_3-1757927536810.png
Akhil0812 by Associate II
  • 1166 Views
  • 13 replies
  • 4 kudos

STM32H753 SFI Error: Invalid state after SFI install

Device detailsMPU: STM32H753AII6Connection:Probe: J-Link V11.00 / SW version V7.98c STM toolset: STM32 Cube Programmer / Trusted Package Creator v2.20.0SFI programming fails with error:Error: SECURITY State FailError: Invalid state after SFI install ...

theHolgi_0-1762861919789.png theHolgi_1-1762862156001.png SFI_hsm.png SFI_creation.png
theHolgi by Associate II
  • 238 Views
  • 5 replies
  • 0 kudos