Dodge bins checksum

They go by many names, P01, P59, VPW, '0411 etc . Circa 1999 to 2006. All VPW OBD2 PCMs.
Posts: 2590
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria

Re: Dodge bins checksum

Postby VX L67 Getrag » Mon Jan 11, 2021 10:45 am

Here you go...
Attachments
Next Batch.zip
(1.24 MiB) Downloaded 5 times

Posts: 315
Joined: Sun Apr 10, 2016 9:20 pm

Re: Dodge bins checksum

Postby kur4o » Tue Jan 12, 2021 8:37 am

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 5 times

Posts: 2590
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria

Re: Dodge bins checksum

Postby VX L67 Getrag » Tue Jan 12, 2021 8:43 am

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.

Posts: 2590
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria

Re: Dodge bins checksum

Postby VX L67 Getrag » Tue Jan 12, 2021 9:03 am

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

It looks like it's just adding the amount changed???
Attachments
Dodge CKS screenshot.png

Posts: 315
Joined: Sun Apr 10, 2016 9:20 pm

Re: Dodge bins checksum

Postby kur4o » Tue Jan 12, 2021 9:41 am

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

Posts: 2590
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria

Re: Dodge bins checksum

Postby VX L67 Getrag » Tue Jan 12, 2021 9:47 am

You mean this 1, this is the 8Bit CKS you already figured out didn't you?
Attachments
Dodge 8Bit CKS screenshot.png

Posts: 2590
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria

Re: Dodge bins checksum

Postby VX L67 Getrag » Tue Jan 12, 2021 9:48 am

oh sorry that 1 I posted earlier was DTC...
Attachments
Dodge CKS screenshot.png

Posts: 2590
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria

Re: Dodge bins checksum

Postby VX L67 Getrag » Tue Jan 12, 2021 9:50 am

AHH sorry there must be another CKS range I haven't looked at yet... I'll keep looking

Posts: 2590
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria

Re: Dodge bins checksum

Postby VX L67 Getrag » Tue Jan 12, 2021 10:11 am

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

Posts: 315
Joined: Sun Apr 10, 2016 9:20 pm

Re: Dodge bins checksum

Postby kur4o » Tue Jan 12, 2021 6:15 pm

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.

Previous

Return to GM LS1 512Kbyte and 1Mbyte

Who is online

Users browsing this forum: No registered users and 3 guests