How can I get Memory checksum after programming.
With the ST-Link Utility I can get the programmed memory checksum and checksum over the whole FLASH range.
I do not see this in the Log window of the STM32CubeProgrammer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-09 11:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-09 1:20 PM
The checksum feature isn't included in STM32CubeProgrammer. You can use the verify option to verify that the download was successful. Or read out the flash and do your own computation PC-side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-09 1:59 PM
Thanks for the answer. I guess I have to calculate it then by myself. Our Contract Manufacturers always want a checksum for the programming files, usually it was easy to provide by getting it through the ST-Link Utility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-09 2:26 PM
I think this is a feature that's been requested previously
Depends on the fill/blank bytes used.
Here we develop out own binary packaging tools that output the values we need/expect as part of the signing process.
Perhaps try srecord or equivalent tools to standardize the process in a makefile, or wherever
http://srecord.sourceforge.net/
Up vote any posts that you find helpful, it shows what's working..
