The calculated CRC is incorrect

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

The calculated CRC is incorrect

2,642件の閲覧回数
林联伟
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,516件の閲覧回数
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 件の賞賛
返信