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

Securely program bootloader remotely in STM32

Normally the bootloader is the first thing to program in the MCU by the manufacturer,. Bootloader contains a way how to update the firmware of the device from the firmware file (encrypted), which is openly passed to the customer. Hence the bootloader...

NUCLEO-H723ZG board Memory Data all is 0 & CPU status Lockup

I tried to do an experiment with PC-ROP protection in Cubeprogrammer, but an exception occurred when I disabled protection.My Memory Data seems to be protected all the time, the value is always 0, and there is no way to Erase the entire Chip normally...

0693W00000Kc2U4QAJ.png
OLu.1 by Associate
  • 694 Views
  • 2 replies
  • 0 kudos

Interrupt on UserApp not working with SBSFU

Hi everyone,currently, I'm struggling to make interrupt working with SBSFU (STM32WB55).If I run the program without SBSFU, interrupt event working properly.but when I compiled it along with SBSFU, the interrupt not working.I see on another post that ...

affadli by Associate
  • 594 Views
  • 1 replies
  • 0 kudos

AES Cryptolib encrypted data doesn't decrypting by any other libraries on other platforms except Cryptolib itself

Hello everyone! I encrypt the data with the AES-256 ECB algorithm using the X-Cube-Cryptolib library, while the library itself can decrypt the data correctly, and third-party libraries decrypt it incorrectly. I use 32 random bytes as the key.I tried ...

Wladimir by Associate II
  • 1624 Views
  • 2 replies
  • 0 kudos

SBSFU Algorithms

Hi All,​Currently I used SBFU solution to develop project , I had checked the AN2262 that descript SBSFU support below picture.1.My question is how to enhance below encryption strength or any application I could reference, does it need modify SE engi...

0693W00000Ka2TWQAZ.png 0693W00000Ka2ZtQAJ.png
stsan.1 by Associate II
  • 915 Views
  • 2 replies
  • 0 kudos

Resolved! I'm not able to make working the NUCLEO-L432KC example

I wont to test the L432KC example on a NUCLEO-L432KC board"\SBSFU\STM32CubeExpansion_SBSFU_V2.6.0\Projects\NUCLEO-L432KC\Applications\1_Image"I have created correctly a new workspace and imported the necessary projects. All compiles fine and I get "S...

GMG by Associate III
  • 969 Views
  • 2 replies
  • 0 kudos

Resolved! STM32G0 CRC16 mismatch.

Hi,I am trying to run the CRC calculation with the STM32G031 but the results do not match. The result of the CRC16_CCITT_FALSE should be 0x29B1 according to http://www.sunshine2k.de/coding/javascript/crc/crc_js.html but I get 0x277F.You can find my i...

FRieb.1 by Associate III
  • 1951 Views
  • 7 replies
  • 0 kudos

Resolved! Serial DFU of Secure Firmware Fails

I'm attempting to use the serial bootloader to load a secure firmware image to an STM32L5 using STM32CubeProgrammer. I can successfully connect to the board in bootloader mode and perform a full-chip erase, but attempting to download the image (eithe...

MBand.3 by Associate III
  • 796 Views
  • 1 replies
  • 0 kudos