GM TCM Checksum Calculation
-
- Posts: 590
- Joined: Thu Feb 13, 2020 11:32 pm
- cars: Mainly GM trucks, a Cruze and an Equinox for dailys..
Re: GM TCM Checksum Calculation
There is a bunch of text in the middle of the file that does not look like calibration data to me, possible write up some code that does the 16 bit checksum and if it's wrong then it steps another byte and tries again.. It'd take a little while but doable.. What I don't know is if that's the whole cal file or if there is dead space defined somehow.
I am also used to seeing a checksum AND a CVN(usually a crc-16) but I don't see that in this file? why is that? Older OS doesn't have a CVN?? I'm used to looking at 08 and up to around 2013 but I only have had a glance at the T76 files..
I am also used to seeing a checksum AND a CVN(usually a crc-16) but I don't see that in this file? why is that? Older OS doesn't have a CVN?? I'm used to looking at 08 and up to around 2013 but I only have had a glance at the T76 files..
-
- Posts: 2886
- Joined: Sun Aug 02, 2009 9:16 pm
- Location: Bayside, Melbourne, Victoria
- Contact:
Re: GM TCM Checksum Calculation
Have you got the original un-edited version of the section you know the cks is correct for, that may help identify where it is & how to calculate it.
Re: GM TCM Checksum Calculation
This is original file. I just try calculate checksum and haven’t edit data yetVX L67 Getrag wrote:Have you got the original un-edited version of the section you know the cks is correct for, that may help identify where it is & how to calculate it.
Re: GM TCM Checksum Calculation
Ah, you mean we can try take checksum 16 bit AND with CVN? I will try it, thank youironduke wrote:There is a bunch of text in the middle of the file that does not look like calibration data to me, possible write up some code that does the 16 bit checksum and if it's wrong then it steps another byte and tries again.. It'd take a little while but doable.. What I don't know is if that's the whole cal file or if there is dead space defined somehow.
I am also used to seeing a checksum AND a CVN(usually a crc-16) but I don't see that in this file? why is that? Older OS doesn't have a CVN?? I'm used to looking at 08 and up to around 2013 but I only have had a glance at the T76 files..
-
- Posts: 2886
- Joined: Sun Aug 02, 2009 9:16 pm
- Location: Bayside, Melbourne, Victoria
- Contact:
Re: GM TCM Checksum Calculation
I don't think you're going to figure out the CKS of that entire file as it looks like there's comments added in which aren't part of a normal T76 calibration.
- Attachments
-
- comments in file.png (55.77 KiB) Viewed 5106 times
Re: GM TCM Checksum Calculation
This is a cvn I taked of this fileironduke wrote:There is a bunch of text in the middle of the file that does not look like calibration data to me, possible write up some code that does the 16 bit checksum and if it's wrong then it steps another byte and tries again.. It'd take a little while but doable.. What I don't know is if that's the whole cal file or if there is dead space defined somehow.
I am also used to seeing a checksum AND a CVN(usually a crc-16) but I don't see that in this file? why is that? Older OS doesn't have a CVN?? I'm used to looking at 08 and up to around 2013 but I only have had a glance at the T76 files..
- Attachments
-
- AE26CF05-CC5E-4324-81BF-FE27F1210688.jpeg (56.89 KiB) Viewed 5106 times
- antus
- Site Admin
- Posts: 8261
- Joined: Sat Feb 28, 2009 8:34 pm
- cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B - Contact:
Re: GM TCM Checksum Calculation
I googled "AW 5AT C100 VM20S" which is in the file near the end, and landed on this: https://translate.google.com/translate? ... ch&pto=aue
There they say op-com is reporting for their captiva:
Box
ID: 0x0601 Hardware
number: 96625011
System name: AW 5AT C100 VM20S
Part number: 96625125 Software
version number: 05C26174
Programming Date: 20080129
Hardware key number: PCO1STN # 04
System description: AISIN0200
So I think that may be what you have, or very close to. It looks like an Aisin brand controller, so its probably a similar or same method of calculating sums as other aisin of the same era. I dont know how those work, but someone might?
Edit: A bit more playing around near that string and I am thinking like this:
I think there are a couple of sections in the file, and there is a small section at the end. So Im looking at that because its easier to highlight small chunks and see the whole segment. Ive highlighted what looks like the start of the section, as decimal its 96625143 (very similar to 96625125 above). So I think this might a small segment, closely related to but different from the one on the russian forums. Probably its the same controller, and you have an update to the above system. The green might be checksum for this segment, or the blue. The red is the system name. The yellow may or may not be part of it, same with the blue and the red. Ive tried all those combinations with sum16 crc16 and crc16-ccitt, but no match so far.
There they say op-com is reporting for their captiva:
Box
ID: 0x0601 Hardware
number: 96625011
System name: AW 5AT C100 VM20S
Part number: 96625125 Software
version number: 05C26174
Programming Date: 20080129
Hardware key number: PCO1STN # 04
System description: AISIN0200
So I think that may be what you have, or very close to. It looks like an Aisin brand controller, so its probably a similar or same method of calculating sums as other aisin of the same era. I dont know how those work, but someone might?
Edit: A bit more playing around near that string and I am thinking like this:
I think there are a couple of sections in the file, and there is a small section at the end. So Im looking at that because its easier to highlight small chunks and see the whole segment. Ive highlighted what looks like the start of the section, as decimal its 96625143 (very similar to 96625125 above). So I think this might a small segment, closely related to but different from the one on the russian forums. Probably its the same controller, and you have an update to the above system. The green might be checksum for this segment, or the blue. The red is the system name. The yellow may or may not be part of it, same with the blue and the red. Ive tried all those combinations with sum16 crc16 and crc16-ccitt, but no match so far.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
Re: GM TCM Checksum Calculation
thank you, yes, this is my tcm information (very close to) as picture i show above.antus wrote:I googled "AW 5AT C100 VM20S" which is in the file near the end, and landed on this: https://translate.google.com/translate? ... ch&pto=aue
There they say op-com is reporting for their captiva:
Box
ID: 0x0601 Hardware
number: 96625011
System name: AW 5AT C100 VM20S
Part number: 96625125 Software
version number: 05C26174
Programming Date: 20080129
Hardware key number: PCO1STN # 04
System description: AISIN0200
So I think that may be what you have, or very close to. It looks like an Aisin brand controller, so its probably a similar or same method of calculating sums as other aisin of the same era. I dont know how those work, but someone might?
Re: GM TCM Checksum Calculation
hiironduke wrote:There is a bunch of text in the middle of the file that does not look like calibration data to me, possible write up some code that does the 16 bit checksum and if it's wrong then it steps another byte and tries again.. It'd take a little while but doable.. What I don't know is if that's the whole cal file or if there is dead space defined somehow.
I am also used to seeing a checksum AND a CVN(usually a crc-16) but I don't see that in this file? why is that? Older OS doesn't have a CVN?? I'm used to looking at 08 and up to around 2013 but I only have had a glance at the T76 files..
i checked again. CVN of this file is correct . checksum of whole file 96625143 is FD80(CRC-16). but it not haven't relationship with 2 first byte check sum of the file C7 F6
- antus
- Site Admin
- Posts: 8261
- Joined: Sat Feb 28, 2009 8:34 pm
- cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B - Contact:
Re: GM TCM Checksum Calculation
The same ID is also here at the start of the file. Maybe were looking at a table of contents as well, at one or the other end.
- Attachments
-
- Image20.png (11.51 KiB) Viewed 5086 times
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396