STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32H743 RDP Level 1

Hii dont fully get what is possible under RDP Level1 on STM32H743. I have a application which loads credentials into SRAM2. AN5156 writes that debug accesses to SRAM2 are forbidden. As it seems i can still read SRAM2 via STM32CubeProgrammer but the d...

bgi95 by Associate
  • 1728 Views
  • 1 replies
  • 0 kudos

Erase non secure page from secure domain

Hi,we are developing a firmware on the STM32U575QG MCU. Trustzone is enabled and configured as follows (DBANK active).Flash memory size is 1MB, with DBANK active. So, from my understanding, it should be two different bank, each one composed by 64 pag...

alessandromorniroli_0-1687169218695.png alessandromorniroli_1-1687170571072.png

Resolved! STM32 CRYPTOGRAPHIC FIRMWARE LIBRARY

Hello, I would like to install the stm32 cryptographic firmware library to use with the STM32F030K6Tx.I download the latest version of the library the 4.1.0 from https://www.st.com/en/embedded-software/x-cube-cryptolib.html.I followed the guide https...

LMalv.1 by Associate II
  • 1601 Views
  • 4 replies
  • 1 kudos

Resolved! Can't activate readout protection using option bytes

HiI try to activate readout protection using jlink/jflash.The read out protection is level 0 (0xaa on last bytes of option byte currently 0xDFFFE1AA), I want to set level 1, using 0x00 value instead of AA.After flashing my binary, lock and optlock pr...

GBout1 by Associate
  • 1886 Views
  • 3 replies
  • 0 kudos

Resolved! DIfference in results based on different AES mode

If I use AES mode CRYP_CR_ALGOMODE_AES_CBC, the decryptedText array does not match with the last 3 uint32_t values in the array. Same goes with ECB mode. However, when GCM or CCM modes are used, the decrypted data is same as the plain text. I could n...

abtom87 by Associate II
  • 2005 Views
  • 9 replies
  • 3 kudos

SBSFU Warray-bounds error when compiling data_init.c

We are updating our buildtools to GNU Tools for STM32 11.3.rel1 for a new project that is using an existing SBSFU 2.4.0 based bootloader from a previous project that was using an older compiler. Trying to compile the bootloader gives following errors...

sute by Associate III
  • 1254 Views
  • 3 replies
  • 0 kudos

Flash bricked after RDP changes on several STM32G0

Currently developing a product to update the firmware of a product through SWD, i encounter an issue with the flash of the target (STM32G070RB).After multiple changes in the RPD (from 0->1 & 1->0) the flash of the MCU can't be erased. Some word will ...

0693W000007ElEaQAK.png
rcard by Associate II
  • 2751 Views
  • 8 replies
  • 1 kudos