cancel
Showing results for 
Search instead for 
Did you mean: 

ROM Bootloader Get Checksum command fails

JBill.10
Associate II

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.

1 REPLY 1
TDK
Super User

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.

TDK_0-1758212882823.png

 

If you feel a post has answered your question, please click "Accept as Solution".