cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 CHECKSUM SELF CHECKING CAPABILITY

Wdowa.1
Associate II

STM32 has the capability to perform checksum self checking.

If no, there is some way to verify that the program have been loaded properly.

5 REPLIES 5
TDK
Guru

STM32CubeProgrammer can verify memory after/during programming. Most programmers have this capability.

You can also calculate the checksum or CRC at the beginning of your program to verify.

If you feel a post has answered your question, please click "Accept as Solution".
Tomas DRESLER
Senior II

Hello,

STM32 is equipped with different peripherals able to make a checksum of your memory:

  1. all contain standalone CRC unit, which your program can use and pass the content of FLASH through it. The result can be compared with precalculated and stored value
  2. the HASH peripheral can calculate more detailed hash of your application. Again, you shall pass the FLASH content through programmatically or with a DMA
  3. some STM32s have a dedicated CRC calculator in the FLASH block, that can operate on its own over the FLASH content

Good day!

Wdowa.1
Associate II

Thanks both for your fast support.

There are some documents about it?

There is a list about STM32 with CRC calculator?

Tomas DRESLER
Senior II
Wdowa.1
Associate II

Thanks