STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Set RDP LEVEL without st link utility?

Hello, I would like to set the RDP LEVEL for my stm32l0 MCU without using ST link utility software, to be more specific, how I can set the level in the firmware to be flashed in which area ? and is it possible to add a script to linker to set the ...

STM32L0 - reset after setting RDP

Dear,I am setting RDP to level 1 in my application, After setting it I call System reset HAL_NVIC_SystemReset(); After reset I am expecting the MCU is locked, but it seems I read in code the MCU is still in level 0 so the procedure of setting RDP to ...

JJRR by Senior
  • 514 Views
  • 5 replies
  • 0 kudos

Resolved! STM32L082 AES Code Examples. Are there any?

Good day everyone,I'm looking for STM32L082 code examples to use its AES peripheral.Does anyone have something that could help? I had alread searched the internet, but could not find code examples anywhere.I'll be greatful if anyone could shed some l...

Resolved! STM32L08x RNG and DMA not accessible

RNG, CRC, and DMA are all peripherals on the STM32L08x AHB bus. If I try to write to CRC_INIT before enabling CRC clock in RCC then STM32-WorkBench Memory window correctly just shows zeroes. But after enabling CRC clock in RCC_AHBENR and writing to C...

MWebj by Associate III
  • 476 Views
  • 3 replies
  • 0 kudos

Why is crypto not working in stm32L071CBTx?

Hello all. I am using stm32L071CBTx and I need to implement crypto here. I am using official crypto library(UM1924). I have managed to run the code with my hardware. Th problem I am facing here is that whenever I change plainText values, it doesn't w...

SSiwa.1 by Associate II
  • 301 Views
  • 4 replies
  • 0 kudos

My question is about intellectual property theft at CMs. Clearly ST recognizes the issue and even addresses it by adding SFI (secure internal firmware install) on some microcontrollers. AN5054 is listed in the resources for STM32L010K4; however, it is my

My question is about intellectual property theft at CMs. Clearly ST recognizes the issue and even addresses it by adding SFI (secure internal firmware install) on some microcontrollers. AN5054 is listed in the resources for STM32L010K4; however, it i...

KMalt.1 by Associate II
  • 619 Views
  • 7 replies
  • 0 kudos

Resolved! [STM32L081xx] __HAL_RCC_AES_CLK_ENABLE missing

Hi all,I generated code in STM32CubeMX for STM32L081CBTx controller with AES enabled.I built the generated code (without modification) in STM32CubeIDE, but it failed with warning:../Core/Src/stm32l0xx_hal_msp.c: In function 'HAL_CRYP_MspInit': ../Cor...

ISzik.1 by Associate
  • 506 Views
  • 2 replies
  • 0 kudos

Code does not run when RDP is enabled on STM32L072

Hi ST community,I have a fully functional application on my STM32L072. The problem is when I tried to enable RDP, nothing works anymore.After flashing the application I tried to connect with ST-Link, the option bytes are set correctly and it is not p...

RCont.1 by Associate II
  • 255 Views
  • 0 replies
  • 1 kudos

Resolved! Require authentication for firmware update

I started a new project, and my security requirement states that user authentication is required when updating firmware.I wonder if there's a feature for this, and if not, can the bootload side be modified to meet this requirement?I searched and foun...

DPark.2 by Associate II
  • 320 Views
  • 4 replies
  • 0 kudos