STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Unable to reset RDP from BB on STM32F407G Discovery

After using STMCubeProgrammer 2.21 to set the RDP byte to BB, the board works fine, but Cube programmer is later unable  to access the board; I've tried different modes, under reset etc.  The disk folder shows when plugged in to the USB with FAIL.txt...

Robmar by Senior III
  • 1458 Views
  • 6 replies
  • 0 kudos

About read-out protection, write protection

Hi all,I'm working in a project (with STM32L462) in which we're building our own bootloader to perform secure boot and firmware upgrade. There are some issues we're still struggling with, regarding protection of our code (and data). Hopefully someon...

Quang Ha by Associate
  • 931 Views
  • 2 replies
  • 1 kudos

Resolved! B-U585-IOT2A TF-M Update Script not Working on Windows

Hi @ST Community GreetingsI'm trying the TF-M Application package v1.2 released by ST and am following the instructions in UM2851.I'm currently in the step shown below:in windows im unable to run the TFM_Update.sh script that is provided in the follo...

PJose4_0-1690355606644.png PJose4_1-1690355867507.png
PJose.4 by Senior
  • 1054 Views
  • 2 replies
  • 0 kudos

(Q) AES Burst (over TIMER?) DMA STML0(82) understanding

Hello all, When I had a beautiful STM32U5 in hand the world was still good.But now I have a comprehension question about the STM32L0, I have an 8-bit buffer and now the fastest way to AES decrypt/encrypt this data is via DMA with active burst mode. T...

MLe.2 by Associate
  • 730 Views
  • 0 replies
  • 0 kudos

How to calc CRC16 for Modbus?

My controller is STM32L462. I need to compute CRC16 for Modbus application. There is CRC initialization function:void MX_CRC_Init_CRC16(void) { hcrc.Instance = CRC; hcrc.Init.DefaultPolynomialUse = DEFAULT_POLYNOMIAL_DISABLE; hcrc.Init.DefaultI...

sdianoff by Associate II
  • 2735 Views
  • 2 replies
  • 0 kudos

Resolved! core locked up and read out fails

Hi,My STM32H735G-DK is having issues.When I try to flash a known good firmware, I get the following:command: STM32_Programmer_CLI -c port=SWD freq=4000 mode=UR --erase all -d build/stm32h735.bin 0x08000000 -v --start 0x08000000-----------------------...

Arno1 by Senior
  • 3363 Views
  • 6 replies
  • 2 kudos

Setting AES128-CMAC and STM32G0 on CubeIde

Hi,Im looking for encryp using internal AES peripheral that the STM32G0 has.I need touse "AES128-CMAC" but i dont found the option in HAL libraries to set "hcryp.Init.Algorithm=XXX" and "defgroup CRYP_Algorithm_Mode CRYP Algorithm Mode" library optio...

Dosan by Associate III
  • 594 Views
  • 0 replies
  • 0 kudos

Custom header in SBSFU

Hello,  Is it possible to custom the header of a firmware for SBSFU ? I want to add 2 variables but it's not working. I have authentification failure. But I don't change the size and position in the structure because I used the "reserved" bytes. (the...

Esaab.1 by Associate
  • 634 Views
  • 0 replies
  • 0 kudos