STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F7 read out protection hangs out

Posted on August 17, 2016 at 12:34 Hi, I'm implementing the read out protection for the F746 controller. Changing it from level0 to level1 at the first start from my code. First I realised that the level1 was setted but not saved after a...

devcal by Associate II
  • 459 Views
  • 1 replies
  • 0 kudos

Crypto lib - STM32 crpto lib vs Openssl

Posted on August 31, 2016 at 18:29Hello, Admin and everyone.Please let me ask,Can we use Openssl with STM32 nucleo board ? if possible, how ?I cannot read the lib on Keil.and can we migrate from Opennssl to STM32 crypto lib ?Thanks. #stm32-crypto...

s-shige by Associate II
  • 676 Views
  • 3 replies
  • 0 kudos

STM32 Crypto Lib SHA256 on STM32F091RC

Posted on May 13, 2015 at 11:11 Hello! I'm having trouble using the STM32 Crytpographic Library SHA256 hash in an application running on an STM32F091RC MCU. I'm using it to verify contents in flash (FW download), but have now retraced to ...

Fill value in auto checksum (CRC) calculation

Posted on August 29, 2016 at 20:46Hi all, In the https://www.iar.com/support/tech-notes/general/calculate-crc32-as-in-stm32-hardware-v.5.50-and-later/ they instruct to fill unused ROM with 0xFF, is is arbitrary or is there some logic to it? The reas...

CRC Causes Hard-Fault

Posted on August 03, 2016 at 18:29Calls to the HAL_CRC_Calculate are causing hard faults.When I step through I found out why:  switch (hcrc->InputDataFormat)  {    case CRC_INPUTDATA_FORMAT_WORDS:        /* Enter 32-bit input data to the CRC calcula...

mattreed9 by Associate III
  • 538 Views
  • 1 replies
  • 0 kudos

STM32F4 CRC - Preload CRC->DR

Posted on March 08, 2013 at 10:31 I've stolen some code from Clive's post here <https://my.st.com/a99fbbe2> (Thanks Clive!) and it works great for computing a CRC all at once. In other words, the following function signature. unsigned...

mfranklin by Associate III
  • 1271 Views
  • 6 replies
  • 0 kudos

How to tell when a full flash erase is complete

Posted on June 15, 2016 at 19:16I just discovered the hard way that if you initiate a full flash erase cycle (in my case, by going from RDP level 1 to level 0) and reset the chip before that process is complete then the chip is essentially (AFAICT) ...

ron2399 by Associate II
  • 462 Views
  • 1 replies
  • 0 kudos

STM32L0 RDP

Posted on April 10, 2016 at 09:13Hi allI'm setting the read out protection to level 1 , in the beginning of my main() fxnAfter setting RDP I generate system reset using HAL_NVIC_SystemReset() fxnAfter the reset I'd expect the RDP to be set to level ...

zvit by Associate
  • 502 Views
  • 3 replies
  • 0 kudos

Question about Ac6 SW and GNU toolchain

Posted on March 26, 2016 at 08:11Good afternoon. Calculate checksum CRC32 of ROM in embedded program is very simple. But how to calculate and write it in image of ROM on stage building? It possible in Ac6 System Workbench without external tools? Tha...