HCS12 checksum calculation

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

HCS12 checksum calculation

跳至解决方案
1,071 次查看
fabio_antonucci
Contributor II

Hello, I have a HCS12 (MC9S12DG256) CPU and I'm looking for the tool nedded to calculate the checksum:
CPU is used for a motorkbike ECU (electornic control unit).
I actually need to undestand how may I calculate the correct checksum of a file before flashing the ECU.
I use Windows 10 but I can find also a Win XP without any problem.

标记 (1)
1 解答
952 次查看
BlackNight
NXP Employee
NXP Employee

I'm not sure if the S12DG is using a special CRC polynom, but I would think the SRecord tool (see CRC Checksum Generation with ‘SRecord’ Tools for GNU and Eclipse | MCU on Eclipse ) could be used for this. You can use it from script or batch files are intergrate it into your build.

I hope this helps,

Erich

在原帖中查看解决方案

2 回复数
953 次查看
BlackNight
NXP Employee
NXP Employee

I'm not sure if the S12DG is using a special CRC polynom, but I would think the SRecord tool (see CRC Checksum Generation with ‘SRecord’ Tools for GNU and Eclipse | MCU on Eclipse ) could be used for this. You can use it from script or batch files are intergrate it into your build.

I hope this helps,

Erich

952 次查看
fabio_antonucci
Contributor II

Many thanks, I'll try! 

0 项奖励