STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32H573xx: update with ST-JLINK

In the case of a root of trust with two boot stages (STiRoT + OEMuRoT), I'm looking to update the OEMuRoT or the firmware. From STM32CubeProgrammer I can do this via the bootloader. However, when I use the ST-LINK probe and try to program the new fir...

failed_to_download_fw.png

Unprotect Flash to write a new Bootloader

I'm using a STM32F103RCT6Flash contains my own boot loader in pages 0 thru 10 and main application in 11 thru 61.When the device is flashed in manufacturing, protection is set to prevent reading and writing via the jtag port.I need to update the boot...

Joe.H by Senior
  • 273 Views
  • 1 replies
  • 0 kudos

HAL_CRYPEx_AES() maximum number of output bytes?

I am using an STM32L4S9ZIJX part and attempting to encrypt a 256KB buffer (actually 262,144 - 16 = 262,128 bytes) using AES256 CTR mode in polling mode.I created a wrapper function to perform the encryption: int encrypt_CTR_mode(uint8_t* key, uint8_t...

dsorber by Associate
  • 144 Views
  • 2 replies
  • 0 kudos

STM32H725 - RDP locked to BB

Hello, I have a problem with a STM32H725, the Option byte RDP is locked to the value BB.In fact, I try to change other option bytes and it always fail with this error: " Error: Option Byte Programming failed Or modified by application after OB_LAUNCH...

Dams by Associate III
  • 168 Views
  • 3 replies
  • 0 kudos

X-CUBE-CRYPTOLIB cmox_eddsa_verify memory fail

Hi everyone!In our project for stm32f446, we are trying to use X-CUBE-CRYPTOLIB to verify the firmware signature on the device using ED25519. Unfortunately, when trying to call the cmox_eddsa_verify method, we get the CMOX_ECC_ERR_MEMORY_FAIL error. ...

AKole.3 by Associate
  • 748 Views
  • 6 replies
  • 1 kudos

SBSFU not detecting Active Slot Image

I'm working on integrating the latest SBSFU (v2.6.2) onto an STM32L4A6 platform. I've reviewed both the user manual and application note for the SBSFU, as well as the examples provided.In my use case:I have an external attached MMC flashI'm not plann...

jmcoreymv by Associate III
  • 1016 Views
  • 15 replies
  • 0 kudos

how to configure SBSF in stm32l496

Hi, I am using stm32l496 for sbsfu. I followed the tutorial and it ran the example code but they gave me their scripts for that project. how do we make our own script for my project which converts project binary into .sbsf file? and how to configure ...