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

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
  • 776 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
  • 1089 Views
  • 6 replies
  • 0 kudos

HMAC_SHA_125 issue

We are here trying to achieve the HMAC-SHA-125 generation.we are using the cryptolib-4.3.5 . the implementation is in PNG file( only the main and hmac computation is shown)we are not getting any compilation error but we are getting ERROR as program o...

SwastiK by Associate
  • 311 Views
  • 1 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
  • 1032 Views
  • 1 replies
  • 2 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
  • 899 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
  • 17954 Views
  • 8 replies
  • 0 kudos

Nucleo-H563ZI Debug Authentication Regression fails

Hi everyone,I tried Secure Firmware Install (SFI) with the Nucleo-H563ZI. The process failed, however my device is still accessible. By connecting to the device via Hot plug and Access port 1 I am able to see that the device is in "Provisioning" stat...

jho by Associate II
  • 658 Views
  • 8 replies
  • 0 kudos

SFI failure after factory reset on STM32U585 (Rev W)

Hi,I have a STM32u585 where SFI worked on first attempt. Then I did a factory reset , post that I am not able to get SFi working again at all. Is there a residual / stale state I need to clear to be able to do SFI again?We do not have any OEM Keys se...

abhkr24 by Associate
  • 452 Views
  • 0 replies
  • 0 kudos

Resolved! SBSFU Rollback with stm32L476RG

Hi All,I am following the UM2262 document. I will add a screenshot. I enabled the ENABLE_IMAGE_STATE_HANDLING flag to enable rollback, but after updating UserApp.bin, the device continues to reset. I will add a debug log screenshot (it’s not jumping ...

Kurien_Raju_0-1735620184451.png Kurien_Raju_1-1735620272027.png

STM32U5 SBSFU RAM configuration

Hi,I have SBSFU working with my HW, which has a STM32U585, with some (minor) modifications to the B-U585I-IOT02A example. I also have an application that I need to run with the secure bootloader (as the nonsecure app), developed by a wider team (lets...

rjh by Associate II
  • 355 Views
  • 0 replies
  • 0 kudos