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

Bootloader and Firmware signing on STM32L452RE

I am using STM32L452RE for an application.I want to implement firmware signing feature on the board so only authenticated firmware is allowed by bootloader to flash on the board. Can i conclude that mbedtls library is popular, but it cannot be used o...

Resolved! STM32U585: AES GCM Tag mismatch

Good afternoon,we are facing issue with AES GCM Tag generated with STM32U585.In particular we compare the results generated by the microcontroller with the ones generated by an application developed with C#.This is the code running on the microcontro...

SafeDev_0-1739541887725.png
SafeDev by Associate II
  • 1501 Views
  • 15 replies
  • 0 kudos

STM32F030F4P6 option byte programming

Can recognize the chip, but can not burn and read the flash problem. In this case, is the chip broken or the chip locked? There is also a case that the chip can be identified as burning, but it cannot run the normal working program

External Flash Loader with Secure Flash

In my project, I intend to use an external serial flash to hold UI assets as recommended by TouchGFX.I have followed this: https://community.st.com/t5/stm32-mcus/how-to-implement-and-use-your-own-external-flash-loader-an/ta-p/597752 but I only get fl...

RW3562 by Associate II
  • 453 Views
  • 4 replies
  • 0 kudos

Resolved! STM32U5 - SBSFU

Good Morning,I am working on the Secure Boot using STM32U5 with this repository : https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/B-U585I-IOT02A/Applications/SBSFUI am trying to add a kind of "Dev. Mode" which authorise the boot ...

lotou by Associate II
  • 298 Views
  • 1 replies
  • 0 kudos

Resolved! Certificate chain

Hello there,I am practicing with the STM32H573I-DK demo board, STiROT demo project and the chain of certificate feature.I have built a chain of certificates as described in https://wiki.stmicroelectronics.cn/stm32mcu/wiki/Security:How_to_start_with_S...

CRE by Associate II
  • 434 Views
  • 3 replies
  • 0 kudos

How to replace .obk for STM32H523

Hi, I have locked out my MCU. I generated a Debug Authentication file with certificate (DA_Config.obk) and provisioned that into the MCU. However, I think I have regenerated a private key without regenerating a certificate. I am no longer able to do ...

hakeila by Associate III
  • 666 Views
  • 7 replies
  • 0 kudos

STiROT provisioning on stm32h533

Hello ST Community,I’m working on a project using STiROT with TrustZone on an STM32H533, based on the example STiROT_Appli_TrustZone provided in the STM32Cube_FW_H5_V1.5.0 firmware package for the STM32H573. I adapted this example to the H533 and gen...

lautiq by Associate II
  • 446 Views
  • 2 replies
  • 0 kudos

Resolved! postbuild for OEMiROT project H523

Hi, I have managed to extract the OEMiROT project from H533 into H523 and compiled it successfully using STM32CRYPTO library since H523 does only have limited cryptography accelerator. I have modified the flash_layout.h to match my application (which...

hakeila by Associate III
  • 497 Views
  • 1 replies
  • 0 kudos