Skip to main content
Saredo
Associate III
Mar 26, 2021 9:44 AM UTC
Solved

STM32 *.bin file corruption

Hello, I am using Keil and generating a *.bin file of my program from the *.axf file.

I would like to know if there is a way to check before loading the binary file if it is corrupted.

Is there some checksum to read or something.

    This topic has been closed for replies.
    Tesla DeLorean
    Tesla DeLoreanBest answer
    Guru
    Mar 26, 2021 12:38 PM UTC

    Typically one would need to add a checksum or CRC in a post-link step, or part of your process of converting the object into a deliverable image.

    You can add scripts/executables in a User options tab.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

    2 replies

    Tesla DeLorean
    Tesla DeLoreanBest answer
    Guru
    Mar 26, 2021 12:38 PM UTC

    Typically one would need to add a checksum or CRC in a post-link step, or part of your process of converting the object into a deliverable image.

    You can add scripts/executables in a User options tab.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Saredo
    SaredoAuthor
    Associate III
    Apr 22, 2021 1:43 PM UTC

    Thanks for the answer