I'm developing a customized SPI Bootloader code. I plan to use CRC32 in verifying the programmed application code. I used this link as a reference for my CRC32 calculator C-code function in the Bootloader:
But, the values that I get when I use that function isn't the same to the ones I get when I load the hex or bin file to ST-Link. ST-Link is showing different CRC32 values.
On the other hand, when I use online tools such as:
I am getting the same CRC32 values with my C-code function.
Is ST-LINK using a different algorithm (but in the user manual, it says that it's using CRC32)?
Any insights is appreciated!