Skip to main content
FrankYang-P&S
Associate II
Dec 1, 2022 1:23 AM UTC
Question

What is CRC algorithm used in No-Stretch Get Memory Checksum of I2C bootloader

Hi,

There is No-Stretch Get Memory Checksum command in I2C bootloader, Does someone know the CRC algorithm used?

The UART & SPI bootloader, Host can set the CRC polynomial & CRC initial value in Get Checksum command, but there is no such description in this command of I2C bootloader.

Thanks a lot,

Best Regards

Frank

This topic has been closed for replies.

1 reply

FrankYang-P&S
Associate II
Dec 9, 2022 1:06 AM UTC

After test, the result is:

The CRC32 algorithm used in I2C bootloader of STM32 system (I2C bootloader version 1.2) as below:

Poly = 0x04C11DB7

Init = 0xFFFFFFFF

RefIn = false

RefOut = false

XorOut = 0x00000000

Best Regards

Frank