PDA

View Full Version : Transit mileage



tb2000
19th May, 2020, 03:27 PM
Hi all,

I've been trying to alter a dump of my speedo cluster, it's showing 170237 miles and should show about 150000 miles.
I've tried looking at a dump of someone else's I found and compared it to the altered version made by another member, I notice the 6 bytes at 0X44H repeated 4 times but in the original dump they are different (well, reading right to left, the first 2 bytes are same and the rest are different), and in the altered dump the 4 sets of 6 bytes are all the same. I can see which bytes need to be changed (although i'm not sure what to change them too yet using hex!) but I don't understand why they are different originally and the same when altered. For example the first set of of bytes in mine is 75 95 7A 16 10 54 but the next set of 6 bytes says 7A 73 75 38 10 54.

Could someone please alter mine as i'm sure i'll mess it up! The mileage showing in the dump is 170237 miles, I need about 150000 miles.

Thanks everyone

clusters
19th May, 2020, 03:42 PM
They are different in original files because it is constantly changing while the odometer increments.

The first two bytes are the CS, the last four are the mileage, and it is calculated in Km.

Your file is byte swapped so 75 95 7a 16 10 54 is calculated as 10 54 7a 16 to decimal = 273971.734 Km (170238 Mi)

The CS = 7a16+1054 = 8a6a xor with ffff = 7595

For 150000 Mi (241402 Km) the string to put in your file is 71 0c 80 90 0E 63

tb2000
19th May, 2020, 03:53 PM
Ok many thanks for your reply. So it's recorded in the 93c76 in km even though i'm using miles?

jomberykaso
19th May, 2020, 05:40 PM
Ok many thanks for your reply. So it's recorded in the 93c76 in km even though i'm using miles?

correct...............

tb2000
19th May, 2020, 06:04 PM
Ok well I entered the data as provided, programmed it back in and it worked perfectly, came up with 149999 miles! Thanks again for all the help!