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

STM32L0 SPI CRC Error

Posted on April 25, 2015 at 01:18Hi,  I modify the spi sample code but enable CRC function, however I always get CRCERR. I dont know the reason.  Here is the initialization of SPI: SPI2->CR1 |= SPI_BAUDRATEPRESCALER_256; SPI2->CR1 &= ~SPI_CR1_CPOL;...

tianchen by Associate II
  • 575 Views
  • 0 replies
  • 0 kudos

Wrong CRC on STM32F3 at byte-level

Posted on April 08, 2015 at 13:09I'm trying to use the CRC peripheral on STM32F3 to calculate the CRC at byte-level but I can not get the same result as indicated in application note AN4187. The following snippet of code should return a CRC equal to...

RDP level1 is automatically SET on STM32F407 ! STRANGE ISSUE!

Posted on October 16, 2014 at 17:32Hi all,I have a very strange issue with STM32F407ZG; sometimesthe RDP level 1 is automatically set and then using STLink Utilities I can goback to RDP level 0.BUT, Now I get RDP level 1 SET and I can't go toRDP lev...

moez by Associate II
  • 2766 Views
  • 17 replies
  • 0 kudos

STM32F4Cube: PolarSSL client Strange && in RandVal()

Posted on February 27, 2015 at 17:48Dear all,In Cube version of STM32F4, there is a strange code.In PolarSSL/SSL_Client/Src/main.c => RandVal()Is there a reason to use ''&&'' instead of ''&'' in the following line:*(output + offset) = HAL_RNG_GetRan...

Crypto library SHA1 problem.

Posted on February 23, 2015 at 17:51 I am starting using the crypto library and with a STM32F407 device I don't have the hw hash peripheral and I must use the software library My version: M4_CryptoFW_RngHW_2_0_6.a My code ...

a comparison between cryptography libraries

Posted on January 04, 2015 at 21:24hi every oneas you know there are many crypto libs with supporting from crypto algouritms like: AES,DES,3DES &...such as wolfssl,cyassl,cyclone ssl,stm crypto lib(for stm devices ) & ...my question is whats differe...

mhdizgah by Associate II
  • 545 Views
  • 0 replies
  • 0 kudos

STM32F407 RDP issue and flash corruption

Posted on November 21, 2014 at 08:06Hi,I'm experiencing strange issues with a product based on STM32F407. When doing short power outages to the PCB (uses 24VAC), it sometimes erases or corrupts flash page(s) that are used for eeprom emulation. Pages...

tero by Associate
  • 1088 Views
  • 2 replies
  • 0 kudos