cancel
Showing results for 
Search instead for 
Did you mean: 

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

FrankYang-P&S
Associate III

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

1 REPLY 1
FrankYang-P&S
Associate III

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