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! 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
  • 466 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
  • 292 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

STM32H523 Flash write protection in CLOSED state?

HiI have a design using STM32H523 and I've managed to ensure that my firmware switches PRODUCT_STATE to 'Closed', and sets a valid debug password, the first time it runs. This works well.In the Flash I have a bootloader, application, and configuratio...

andy by Associate III
  • 413 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H503 RDP

Hello, I am asking for help from the community. My application is completely written, but I can't set read protection. I tried to do all the steps in this guide, but it led to bricking one of my boards. The second board is still in product state = 17...

Mike1992 by Associate III
  • 618 Views
  • 3 replies
  • 0 kudos