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

STM32WBA63CUI7 OEM ROT Porting Help

 I'm porting OEM ROT examples from STM32WBA65I-DK1 to STM32WBA63CUI7 and need guidance.Devices:- Target: STM32WBA63CUI7 (2MB flash, CSP17)- Source: STM32WBA65I-DK1 (2MB flash, UFBGA169)Questions:1. Device Support: Any known STM32WBA63xx definition ga...

nomancy by Associate
  • 157 Views
  • 1 replies
  • 0 kudos

OTA Secure Update using ESP32

Hello everyone,I would like to update the STM32 remotely using ESP32. So the Idea is to transfer the signed image via Bluetooth and to store it firstly on the esp32, which will transfer it in the end via UART to the STM32.After that the secure boot o...

STM32H7S7 Encrypt/DeCrypt Issue with Shared Key

I'm trying to understand an issue I am having with chaining decryption, using the shared key out of the SAES and have distilled the problem to the following example:I am attempting to encrypt and decrypt large blocks of data (65536 bytes). I can encr...

jgroff by Associate
  • 384 Views
  • 0 replies
  • 0 kudos

STM32U0: question about RDP regression

Hello,I'm not sure if I understand the RDP regression mechanism described on STM32U0 reference manual (RM0503 rev4) correctly. My general understanding is that it's possible to go from RDP2 => RDP1 => RDP0 if the OEM keys are set - if they are not se...

RAltm_0-1755080857153.png
RAltm by Senior
  • 208 Views
  • 2 replies
  • 1 kudos

STM32 cryptolib issue.

Hi guys i am trying to use stm32cryptolib library's encryption function. the main problem i am facing when i am trying to call the  cmox_initialize function it is giving the error cmox_init.c:(.text+0x1a): undefined reference to `cmox_ll_init'collect...

SwastiK by Associate
  • 360 Views
  • 6 replies
  • 0 kudos

Resolved! STM32H503 DWT problem with PRODUCT STATE == 72

Friends, hello, I encountered a problem with starting DWT with PRODUСT STATE = 72;I measure the time between pulses (white beam of the logic analyzer) by the EXTI5 interrupt input (falling edge of the signal), TIME_LONG_SENS = DWT->CYCCNT / (SystemCo...

Mike1992_0-1753806135140.png Mike1992_1-1753806184171.png
Mike1992 by Associate III
  • 285 Views
  • 1 replies
  • 2 kudos

Flash Firmware with UID

Hello Firends,Two Questions...1. Firmware Flash with DFU Bootloader succesfully done along with RDP bit. Can we re-flash the fiirmware once RDP L1 is set before through DFU using USB ? my custom board uses STM32F303Rb device. 2. Each STM32 device has...

bsuthar by Associate II
  • 230 Views
  • 3 replies
  • 0 kudos

PKA fails after pairing and lock

This is a follow up to this post:https://community.st.com/t5/stm32-mcus-wireless/conflict-betwenn-pka-and-ble-after-pairing/m-p/76599?search-action-id=65799734948&search-result-uid=76599So if I understand correctly , After CPU2 BLE stack finished wor...

DS.4 by Senior II
  • 280 Views
  • 0 replies
  • 0 kudos

Resolved! Are there any working examples using the CRC for MODBUS RTU? I cannot get a reasonable result out if the CRC device on the STM32L443

According to Wikipedia The MODBUS uses the CRC-16-ANSI also known as CRC-16-IBM. ​The normal hexadecimal algebraic polynomial being 8005 and reversed A001Initial value: 65,535.​Example of frame in hexadecimal: 01 04 02 FF FF B8 80(CRC-16-ANSI calcul...

KiptonM by Lead
  • 15431 Views
  • 8 replies
  • 0 kudos