2022-11-30 05:23 PM
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
2022-12-08 05:06 PM
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