STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 606 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
  • 1422 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
  • 533 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
  • 575 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...

X-Cube-Crypto Library

Posted on March 18, 2016 at 10:54There is a crypto library offered for download from ST official site here: http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/LN1920/PF262570However when I try to get the library the link just drops me to ...

balazs by Associate II
  • 616 Views
  • 3 replies
  • 0 kudos

Byte-wise only CRC for STM32L486?

Posted on March 14, 2016 at 18:01I'm using the CRC unit on the STM32L486. In the reference manual it states that:''CRC computation is done on the whole 32-bit dataword or byte by byte depending on the format of the data being written.''However, late...

dlane by Associate II
  • 2352 Views
  • 13 replies
  • 0 kudos

write pages 0-3 when RDP is on over STM32F100 RCT6B

Posted on March 01, 2016 at 13:39Hi, My problem is this, i have a product that have in the pages 0-3 a bootloader, and the RDP is state ON to protect my code, then the application code (120KB). All works fine and with this bootloader i can change th...