Dodge bins checksum

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
VX L67 Getrag
Posts: 2877
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria
Contact:

Re: Dodge bins checksum

Post by VX L67 Getrag »

Here you go...
Attachments
Next Batch.zip
(1.24 MiB) Downloaded 155 times
kur4o
Posts: 948
Joined: Sun Apr 10, 2016 9:20 pm

Re: Dodge bins checksum

Post by kur4o »

Range for both crc checksum is figured, too bad the checksum method is some custom crc-16 that don`t match anything I have tried.

Here is a test bin that should match with $9d20 checksum if anyone is willing to explore the method.

In the disassembly there is some bytes used in the calculation. Maybe some table for crc. Here are the bytes looked up in 4 ranges by 32 bytes

Code: Select all

00 00 E0 03 40 03 A0 00 80 06 60 05 C0 05 20 06 
80 09 60 0A C0 0A 20 09 00 0F E0 0C 40 0C A0 0F 

00 00 86 03 8C 03 0A 00 98 03 1E 00 14 00 92 03 
B0 03 36 00 3C 00 BA 03 28 00 AE 03 A4 03 22 00 

00 00 80 63 80 C3 00 A0 81 83 01 E0 01 40 81 23 
83 03 03 60 03 C0 83 A3 02 80 82 E3 82 43 02 20 

00 00 80 05 80 0F 00 0A 80 1B 00 1E 00 14 80 11 
80 33 00 36 00 3C 80 39 00 28 80 2D 80 27 00 22
These are consistant accross different ngc3 calibrations.

Big thanks to VX L67 Getrag for giving some great help.
Attachments
testRANGE__9D20_CKS.bin
(832 KiB) Downloaded 164 times
VX L67 Getrag
Posts: 2877
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria
Contact:

Re: Dodge bins checksum

Post by VX L67 Getrag »

Happy to help to get whatever out there in open source, sorry I couldn't be of more help if I knew more about the calculation side of it I'd delve into it deeper.
VX L67 Getrag
Posts: 2877
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria
Contact:

Re: Dodge bins checksum

Post by VX L67 Getrag »

Not sure whether this is just me looking simple???

It looks like it's just adding the amount changed???
Attachments
Dodge CKS screenshot.png
kur4o
Posts: 948
Joined: Sun Apr 10, 2016 9:20 pm

Re: Dodge bins checksum

Post by kur4o »

VX L67 Getrag wrote:Not sure whether this is just me looking simple???

It looks like it's just adding the amount changed???

What you look at here is the dtcs turned off for p0016,p0031,p0032. Stil haven`t look that in details. I want to figure the checksum first before diving in some tables and dtcs discoveries.

The crc checksum location is down the file at $f8924
VX L67 Getrag
Posts: 2877
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria
Contact:

Re: Dodge bins checksum

Post by VX L67 Getrag »

You mean this 1, this is the 8Bit CKS you already figured out didn't you?
Attachments
Dodge 8Bit CKS screenshot.png
VX L67 Getrag
Posts: 2877
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria
Contact:

Re: Dodge bins checksum

Post by VX L67 Getrag »

oh sorry that 1 I posted earlier was DTC...
Attachments
Dodge CKS screenshot.png
VX L67 Getrag
Posts: 2877
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria
Contact:

Re: Dodge bins checksum

Post by VX L67 Getrag »

AHH sorry there must be another CKS range I haven't looked at yet... I'll keep looking
VX L67 Getrag
Posts: 2877
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria
Contact:

Re: Dodge bins checksum

Post by VX L67 Getrag »

OK so this is the 1 you were talking about....
Dodge DIFFICULT CKS.png
Yeah that 1's not that simple, that other 1 I posted earlier I thought was CKS corrected on P0016 but yeah I was comparing the wrong files SORRY
kur4o
Posts: 948
Joined: Sun Apr 10, 2016 9:20 pm

Re: Dodge bins checksum

Post by kur4o »

You got that range right.

the 8bit sum 2`s compl range is 10000-e0000,e0004-end of file,stored at e0001

The Os part checksum range is 10000-dffff and is stored at the last word that have data, in this case it is at f8c58.

The cal data checksum is hardbiult range and can vary but at this case it must be e015c-f8923, stored at f8924.

Both the os and caldata checksum uses the same method of calculation.
Post Reply