Just wanted to spell out the coding part since it took me a whole day to understand and maybe others are as dumb as me. Here's the conversions and math:
If line 7 is F11E and you change to F320, you have to modify line 25 to offset that change.
So,
Convert your line 7 into decimal using this:
Hex to decimal number converter and how to convert.
www.rapidtables.com
Hex Decimal
F11E = 61726
F320 = 62240
Find the difference between the two decimal numbers:
62240 minus 61726 equals 514
Convert line 25 into decimal:
040D = 1037
Since line 7 was increased by 514, we need to subtract that:
1037 minus 514 equals 523
Now convert 523 into hexidecimal using this:
Decimal to hex number conversion calculator and how to convert.
www.rapidtables.com
523 is 020B in hexidecimal.
Entering 020B in line 25 is what I needed to get my setup to work, your car may be different as your line 25 may be different.
Thanks everyone for this forum and great instruction. i am able to activate my mazda 2 2008 , european model, japanese vin. remember ever car code might be different. pull the code calculate the value and use it. before make any chabge please save original value using for scan. you can find you tube video how to save default value . below there is a you tube link.
Here is my note for the code what i use in my mazda 2 2008. hope it will help some one.
FIRST PULL 2 VALUE FROM PCM LINE NO 7 AND LINE NUMBER 25 using for scan.
LINE 07 -> FFFF FF41 F11E (original value) -----> FFFF FF41 F320 (final value)
LINE 25 -> FFFF FFFF EDF6 (original value) -----> FFFF FFFF EBF4 (final value)
Hex to decimal number converter and how to convert.
www.rapidtables.com
HEXA TO DECIMAL
F11E - > 61726 (1111,0001,0001,1110-> in binary you dont need binary , i just keep it from my note.)
F320 - > 62240 (1111,0011,0010,0000 -> in binary you dont need binary , i just keep it from my note.)
DIFFERENCE is + 514
WE ADD 514 SO WE HAVE TO MINUS 514 FROM line 25
DECIMAL TO HEXA
Hex to decimal number converter and how to convert.
www.rapidtables.com
EDF6 - > 60918 so 60918-514 = 60404 which is EBF4 (1110110111110110 -> in binary you dont need binary , i just keep it from my note.)
EBF4 - > 60404 ( 1110101111110100 -> in binary you dont need binary , i just keep it from my note.)
NEW LINE 25 IS
FFFF FFFF EBF4
WE CAN USE HAXA CALCULATOR TO DO THE SAME CALCULATION
Hex calculator,bitwise calculator: add,sub,mult,div,xor,or,and,not,shift.
www.rapidtables.com
we can do in this way also , there is a you tube video. here is the link.
My value is F11E, 1E is checksum value. so we add 2 to F1 value to activate cruse control so we need to add 2 to checksum as well to balance the whole line.
F1+2 = F3 WE ADD 2 WITH F1 SO WE GET F3
1E+2 = 20
SO NEW VALUE F320
because we add 2 so we need to minus 2 from line 25. line 25 is the checksum for the whole table. using the calculator we get new value.
ED-2 =EB
F6-2 =F4
SO NEW VALUE EBF4
Have a great day every body, happy coding. chears.
F1= 11110001
F3= 11110011 change of binary 1 tell the computer that cruse control is activate. if you notice we add 10 (11110011-11110001=10). 10 in hexa decimal is 2. thats why we add 2 and later we minus 2.