Checksum
#1
Checksum
How is it calculated… I’ve burned a whole series of chips tonight that do nothing but put the ecm in limphome mode (fast flashing CES light). The last time I had this issue it was using the latest and greatest $58 xdf which later on I got a reaponse “Oh, we new it calculated it wrong… sorry…”
So the question becomes, is there an alterative way of calculating or doublechecking a checksum?
So the question becomes, is there an alterative way of calculating or doublechecking a checksum?
#2
Supreme Member
iTrader: (1)
Join Date: Jan 2002
Location: garage
Posts: 4,432
Likes: 0
Received 1 Like
on
1 Post
Engine: 3xx ci tubo
Transmission: 4L60E & 4L80E
It is an 8-bit checksum. If you only changed one or two values you can figure it out be subracting/adding to the checksum from what it was with the old values. Other way it to calculate it using a C program using byte as the types. In any case, not worth the effort.
Download the rr_v14.ecu file and use that. It is correct and has a lot of the info that is missing from other xdf/ecu files.
Download the rr_v14.ecu file and use that. It is correct and has a lot of the info that is missing from other xdf/ecu files.
#5
TGO Supporter
Join Date: Jul 2000
Posts: 812
Likes: 0
Received 1 Like
on
1 Post
Engine: 5.7L V8
Transmission: 700R4
Basically what the checksum does is add up every value in the binary as a single byte. If it goes greater than 255 it wraps around to 0 again.
http://wasabi.dynu.com:8080/wiki/ind...68HC11Checksum
The bin editor programs all calculate the checksum for you.
http://wasabi.dynu.com:8080/wiki/ind...68HC11Checksum
The bin editor programs all calculate the checksum for you.
#6
Because that was the last time that I had that same problem, and I think it was v13 or the original reliese of v14, which is the reason that I’m asking.
So is there another way to calculate it? Or can I check to see if it is defined correctly in the .ecu or .xdf somehow (since they’re easy enough to edit if I knew how they were supposed to be calculating it)?
So is there another way to calculate it? Or can I check to see if it is defined correctly in the .ecu or .xdf somehow (since they’re easy enough to edit if I knew how they were supposed to be calculating it)?
#7
Supreme Member
iTrader: (1)
Join Date: Jan 2002
Location: garage
Posts: 4,432
Likes: 0
Received 1 Like
on
1 Post
Engine: 3xx ci tubo
Transmission: 4L60E & 4L80E
I found a checksum calculator if you are still interested. I tested it and it works properly. You have to zero out the first 8 bytes to get the proper GM checksum. This is because the calculator does the entire bin and GM only does the entire bin without the first 8 bytes. Let me know if you still need it.
Trending Topics
#8
TGO Supporter
Join Date: Jan 2000
Location: In your ear. No, the other one.
Posts: 1,861
Likes: 0
Received 0 Likes
on
0 Posts
Car: '89 Trans Am WS6
Engine: 350 TPI
Transmission: T5WC
Axle/Gears: 3.08 posi
As Alex pointed out, the editors calculate it for you. The problem with the ECU/XDF was that it had the incorrect bin size or incorrect checksum calculation. It has been corrected in the latest versions.
There is no need to calculate it externally. In fact, for tuning, I would highly recommend simply disabling it (by setting the mask ID byte to 0xAA).
There is no need to calculate it externally. In fact, for tuning, I would highly recommend simply disabling it (by setting the mask ID byte to 0xAA).
Thread
Thread Starter
Forum
Replies
Last Post