2021-09-09 11:32 AM
2021-09-09 01: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.
2021-09-09 01: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.
2021-09-09 02: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/