The calculated CRC is incorrect

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

The calculated CRC is incorrect

2,583 次查看
林联伟
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.

标签 (1)
0 项奖励
回复
1 回复

2,457 次查看
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 项奖励
回复