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

SBSFU USB Local Loader STM32F4xx

Hi i was wondering how i should go about implementing USB instead of UART to download the firmware in the SBSFU bootloader. I have successfully managed use USB in DFU mode to install a new firmware.

Ahmed by Associate III
  • 669 Views
  • 1 replies
  • 0 kudos

Test F7 SPI CRC Generation

Hello,i have a programm which is sending 2bytes + 16bit CRC from SPI2.There are two STM32F765 on my board. The test programm is generated with CubeIDE and only SPI2 initiallyzed.One MCU is calculating the crc correct and the other is not correct.(Che...

Ba5tian by Associate II
  • 3252 Views
  • 12 replies
  • 0 kudos

STM32 G0 Setting Read Protection With Batch(.bat) File

Hi, I am trying activate read protection to level-1 with using batch(.bat) file. I am commanding to ST- Link Utility via batch file. My batch file code is like that:@ECHO OFF"C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Uti...

SSone.1 by Associate III
  • 1481 Views
  • 2 replies
  • 0 kudos

Homework SBSFU Problems

Make make clean Cannot run program "make": Launching failedError: Program "make" not found in PATHPATH=[C:/ST/STM32CubeIDE_1.4.2/STM32CubeIDE/jre/bin/server;C:/ST/STM32CubeIDE_1.4.2/STM32CubeIDE/jre/bin;C:/ST/STM32CubeIDE_1.4.2/STM32CubeIDE/jre/lib/a...

FBone.2 by Associate
  • 420 Views
  • 1 replies
  • 0 kudos

Enabling SBSFU security flags cripples my code

I've ported the SBSFU package for my user app. It works great when only read out protection is enabled. Everything works as it supposed to. However, when I activate other security flags random errors/problems arise in the code. For example, when I ac...

MHoss.1 by Associate III
  • 1775 Views
  • 9 replies
  • 0 kudos

How to Debug Code Executing from OctoSPI / OTFDEC in Keil MDK?

Hi guys,I'm currently utilising SBSFU as an external flash secure bootloader (with all security settings turned off for debug) using the STM32H7B3's OTFDEC (On-the-fly Decryption) peripheral.My user application boots and runs via the OFTDEC and memor...

ALowe by Associate II
  • 1553 Views
  • 4 replies
  • 0 kudos

What is de CRC16 used on SPI peripheral? the Polynomial is configurable, but the init value and reverse or not, is not documented.

I have a SPI on STM32F746 configured:/* SPI6 init function */void MX_SPI6_Init(void){ hspi6.Instance = SPI6; hspi6.Init.Mode = SPI_MODE_MASTER; hspi6.Init.Direction = SPI_DIRECTION_2LINES; hspi6.Init.DataSize = SPI_DATASIZE_16BIT; hspi6.Init.CLKPolar...

FMaro.1 by Associate II
  • 538 Views
  • 1 replies
  • 0 kudos