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! Recovering STM32U3 from RDP2 level to RDP1 level

Hi team, I provisioned both OEM1 and OEM2 keys. I locked the device using OEM2 key and then put the device in RDP level 2 with the below commands:STM32_Programmer_CLI.exe -c port=SWD mode=hotplug -lockRDP2 0xFEDCBA98 0x76543210Response: "Lock RDP2 pa...

deva2k by Associate
  • 374 Views
  • 4 replies
  • 2 kudos

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...

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
  • 277 Views
  • 4 replies
  • 1 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
  • 1384 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
  • 345 Views
  • 5 replies
  • 0 kudos

Integrating user app with TouchGFX in SBSFU demo

Hello!I have a custom PCB using the STM32U5A9 microcontroller.I've been developing my code using Cube IDE with CubeMX generated software including TouchGFX.I need to implement secure boot and OTA. I am following the SBSFU example for the B-U585I-IOT0...

Provisioning by User Code

Hi,is there a possibility to do the complete chain to product state "closed" by non secure user code ?I have a custom bootloader which usually did a set of the old RDP Level.Now, with a STM32H57 device we have to use the new product state. I'm able t...