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! SBSFU: Issue with 16-byte alignment in linker script?

I've run into an issue with the section of the UserApp linker script which ensures that the binary size is a multiple of 16 bytes:.align16 : { . = . + 1; /* _edata=. is aligned on 8 bytes so could be aligned on 16 bytes: add 1 byte gap */ ...

crwper by Senior
  • 2449 Views
  • 5 replies
  • 0 kudos

Unable to erase STM32H743 device. How to recover the device?

I have flashed the SBSFU application with write protection enabled for flash address 0x08000000. After that, I am unable to erase using jlink commander.exe as well as by IAR->project->Download->erase.STM32H743 has SWD interface and i am using jlink ...

0693W00000aJZHnQAO.png
mr.1 by Associate III
  • 1719 Views
  • 5 replies
  • 0 kudos

Resolved! Unable to execute my own application without TrustZone on STM32U5 (B-U585I-IOT02A) after executing SBSFU application example

Hi,I ran the SBSFU example of STM32CubeU5 following what is in the readme file without any problem. Then I disabled TrustZone but I cannot run the projects made with STM32CubeIDE, verification of the downloaded firmware fails. If I try to erase the f...

Domenico by Associate III
  • 1774 Views
  • 5 replies
  • 0 kudos

Resolved! TFM_Loader_NonSecure problem.

Dear Sir.I am using the example TFM_Loade_Non_Secure , It compiles I set for Download NonSecure App Image , when I send any file*.elf with TeraTerm.File,Transfer.YMODEM.Send , then the programreply with "Abortes by user".Please Advise

How to properly configure STM32U585 to use DMA in secure mode (TZEN = 1) to send data from internal Flash (non secure zone) to Hash (in secure mode)?

Hi,I want to know a properly way do to that.If i use standard configuration I run hard fault as soon as DMA start (linklist mode) (HAL_HASHEx_SHA256_Start_DMA).I put Fault Analyser details Source/Destination secure bit are set before calling this fu...

0693W00000YAa7YQAT.png
Aurelien1 by Associate III
  • 1209 Views
  • 2 replies
  • 0 kudos

SPI with DMA and CRC : data corrupted by DMA ?

I'm running SPI with DMA and CRC enable between two stm32, slave is stm32f415 MCU.Sometimes it appears that data received is corrupted whereas CRC check gives no error. For instance (polynomial used is 0x1021)Normal behavior:3 words sent: 0xAAA0; 0x0...

JJim.1 by Associate
  • 816 Views
  • 0 replies
  • 0 kudos