Skip to main content
PHofm.1
Associate
September 9, 2021
Question

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

  • September 9, 2021
  • 3 replies
  • 2519 views

..

This topic has been closed for replies.

3 replies

TDK
Super User
September 9, 2021

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.

"If you feel a post has answered your question, please click ""Accept as Solution""."
PHofm.1
PHofm.1Author
Associate
September 9, 2021

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.

Tesla DeLorean
Guru
September 9, 2021

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/

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..