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

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
  • 657 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
  • 15458 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
  • 213 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
  • 328 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
  • 118 Views
  • 0 replies
  • 0 kudos

STM32F103xx Option bytes getting corrupted

Hello, I am using STM32F103c6 cortex-m3. I am using 100 micro controllers in various boards. In some around 10 micro controllers, I have seen a issue of option bytes getting corrupted. Even though I am writing 0xA5 to RDP to remove read protection wh...

STM32 H7 crypto lib unable to run ecdh

I am trying to run ECDH p384 operation on STM32H753.Using the STM32 Cryptolib 4.5.0, I get the CMOX_ECC_ERR_MEMORY_FAIL error during the operationI increased the stack size to the maximumI was able to run this using mbedTLS + hardware blocks like RNG...

coolname by Associate II
  • 127 Views
  • 0 replies
  • 0 kudos

stm32l552zeq Nucleo board cannot disable trustzone

Hi, I managed to enable TrustZone by setting the TZEN-bit to 1 like soSTM32_Programmer_CLI -c port=SWD -ob TZEN=1But I can't seem to manage to turn it off the same way. I've tried doing it from the graphical interface as well, with the same results. ...

krook by Associate II
  • 125 Views
  • 1 replies
  • 0 kudos