2025-09-18 8:57 AM
STM32G473 via SPI
I have most of the other commands working, but the Get Checksum command (0xA1) fails to return an ACK when I send the CRC init value.
I am using the default CRC configuration:
#define DEFAULT_CRC32_POLY 0x04C11DB7U
#define DEFAULT_CRC_INITVALUE 0xFFFFFFFFU
It accepts the command, start address, memory size, and polynomial, then fails on the init value.
I haven't found any documentation that indicates what init value is accepted on this MCU, but I do find it hard to believe it does not accept the default init value from the HAL itself.
2025-09-18 9:28 AM
Does it NACK?
Can you show the exact bytes you send in each step in some sort of log?
Initialization value should ACK regardless of if it can be changed.