The calculated CRC is incorrect

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The calculated CRC is incorrect

950 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

825 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