Tool/software: Code Composer Studio
Hi!
What are the required way of calculating the CRC in the same way as the linker CRC32 (CRC32_PRIME) with the hardware CRC32 module?
crc_table(linkerCRC, algorithm=CRC32_PRIME)
E.g.set data in reversed? get result in reversed? XOR with what? seed with what etc?
CRC32_setSeed(0x00000000, CRC32_MODE);
uint32_t *FRAM_memory=(uint32_t*)linkerCRC.recs[0].addr;
for(i=0; i<(linkerCRC.recs[0].size); i+=4){
CRC32_set32BitData(*FRAM_memory++);
}
result=(CRC32_getResult(CRC32_MODE));
The above is my test code that doesn't match the linker's result.
Thanks in advance