The calculated CRC is incorrect

cancel
Showing results for 
Search instead for 
Did you mean: 

The calculated CRC is incorrect

234 Views
林联伟
Contributor I

I am using Codewarrior 11.1 to compile the program of the S12ZVMC256 chip. In the prm file, use the CHECKSUM command to calculate the CRC of the application code. The method used is METHOD_CRC8 (Figure 1). Unfortunately, the calculated CRC result is shown as B6 (Figure 2), which is incorrect. The correct CRC should be D5. What is the reason? The project I tested is shown in the attachment.

Labels (1)
0 Kudos
1 Reply

109 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

The METHOD_CRC8 algorithm used in CodeWarrior can be find in attached checksum files.

Please refer attached files to generate CRC8 method.

Have a nice day

Jun Zhang

0 Kudos