HCS12 checksum calculation

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

HCS12 checksum calculation

Jump to solution
1,043 Views
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.

Tags (1)
1 Solution
924 Views
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

View solution in original post

2 Replies
925 Views
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

924 Views
fabio_antonucci
Contributor II

Many thanks, I'll try! 

0 Kudos