STM32 CHECKSUM SELF CHECKING CAPABILITY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-04 7:47 AM
STM32 has the capability to perform checksum self checking.
If no, there is some way to verify that the program have been loaded properly.
- Labels:
-
CRC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-04 7:57 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-04 8:04 AM
Hello,
STM32 is equipped with different peripherals able to make a checksum of your memory:
- 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
- the HASH peripheral can calculate more detailed hash of your application. Again, you shall pass the FLASH content through programmatically or with a DMA
- some STM32s have a dedicated CRC calculator in the FLASH block, that can operate on its own over the FLASH content
Good day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-04 8:09 AM
Thanks both for your fast support.
There are some documents about it?
There is a list about STM32 with CRC calculator?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-04 8:15 AM
All STM32s have standalone CRC unit. Please look here, there is application note available:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-04 8:19 AM
Thanks
