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! STM32H5 locking password

Hi We are developing a product that uses an STM32 microcontroller. In the microcontroller’s firmware, we have implemented a password that the user must enter at startup. If the user forgets the password, how will the program run? (Note: No software o...

buggy STM32H7S CRYP HAL

Hello,HAL driver for CRYP peripheral of STM32H7RSxx series generates invalid AES GCM TAG.According specs, header should be 0-padded to 16 bytes, but in the function CRYP_GCMCCM_SetHeaderPhase() the HeaderSize field is assumed to be expressed in words...

STM32H7S7: Configure OSPI + MCE

Hi,I am using the STM32H7S78-DK. I want to upload an encrypted application to the external 1-Gbit Octo-SPI flash memory connected to XSPI2.I am using the explanation in this video: https://www.youtube.com/watch?v=JxhKmVUB2Ws&list=PLnMKNibPkDnFQXYK0zt...

katja by Associate
  • 229 Views
  • 1 replies
  • 1 kudos

NUCLEO N657X0 Templates

Hi all,  I am trying to make my NUCLEO N657X0 board working with  : FSBLAPPSecureAppNonSecure I am having issue in understanding how to get the things done  : I have created a new STM32 project on STM32CubeIDE, ending with having 4 differents project...

Resolved! Not able to change rdp level 1 to 0 in stmf103c8T6

hi, I'm using stmf103c8T6. Recently it got RDP enabled while trying to flash a program. ever since then I'm not able to connect through cube programmer or cube ide. I tried to mass erase and write RDP=0xaa through stm programmer cli. all though I'm g...

Screenshot 2025-05-12 111919.png

STM32U5: Writing Flash by user code with TFM activated

Hi, we are developping a projet with TFM activated on STM32U585 device (by the way, we don't really need the full TFM but at least Secure boot and SBSFU). We would want to declare a Flash page to store some configurations parameters, so we created a ...

CS83 by Associate
  • 288 Views
  • 2 replies
  • 0 kudos

Generation of ECC Key pair in stm32l152re board

Need assistance on generation of the ECC key pair using crypto library. Can you guide on how to link the required .a files to the project tool (IAR embedded workbench) so that the function declarations present in .h files without .c files will execut...

akash07_0-1747119166621.png
akash07 by Associate II
  • 186 Views
  • 0 replies
  • 0 kudos

Resolved! STM32H730 SFI Error: Invalid state after SFI install

Device details :ST-LINK SN : 30001100140000363132524EST-LINK FW : V2J45S7Board : --Voltage : 3.25VSWD freq : 4000 KHzConnect mode: Hot PlugReset mode : Software resetDevice ID : 0x483Revision ID : Rev ZGet the next error during SFI performing via STM...

dynetskov_0-1746519667917.png dynetskov_0-1746520145925.png dynetskov_1-1746520186183.png dynetskov_2-1746520249442.png