Login Register

Vida CEM swapping

A mid-size luxury crossover SUV, the Volvo XC90 made its debut in 2002 at the Detroit Motor Show. Recognized for its safety, practicality, and comfort, the XC90 is a popular vehicle around the world. The XC90 proved to be very popular, and very good for Volvo's sales numbers, since its introduction in model year 2003 (North America). P2 platform.
Post Reply
5ft24
Posts: 203
Joined: 14 April 2013
Year and Model: 2005 XC90 V8 AWD
Location: Sedro Woolley, Washington
Has thanked: 20 times
Been thanked: 12 times

Re: Vida CEM swapping

Post by 5ft24 »

That's it! Thank you

oscilloscope
Posts: 285
Joined: 20 May 2022
Year and Model: 2005
Location: uk
Has thanked: 27 times
Been thanked: 11 times

Post by oscilloscope »

5ft24 wrote: 08 Oct 2022, 17:51 That's it! Thank you
No worries 👍

oscilloscope
Posts: 285
Joined: 20 May 2022
Year and Model: 2005
Location: uk
Has thanked: 27 times
Been thanked: 11 times

Post by oscilloscope »

matija0610 wrote: 07 Oct 2022, 21:48 Screenshot_2.png

8-bit SUM whole CONF block
I think everything is clear in the picture ;)
I assumed that when a checksum is calculated it needed too be the entirety of the dump not just some of it. ?

Too add have you ever used the dataman software ? , that has a checksum calculator built in. It's very confusing too use I even asked the developers how it works and they didn't really give me a very clear answer.

ZRimaZ
Posts: 77
Joined: 8 March 2009
Year and Model: XC60 MY2016 3.0 T6
Location: Lithuania, Kaunas
Has thanked: 23 times
Been thanked: 13 times

Post by ZRimaZ »

oscilloscope wrote: 09 Oct 2022, 02:18

I assumed that when a checksum is calculated it needed too be the entirety of the dump not just some ...
No. Matija showed exact block which checksum has to be recalculated after config change. To be more exact, in tis particular cem, at 0xEBD00 is the lenght of config block, 0xEBD01 - checksum itself, 0xEBD02 - start of config block with lenght from 0xEBD00
Have a nice day,

ZRimaZ

oscilloscope
Posts: 285
Joined: 20 May 2022
Year and Model: 2005
Location: uk
Has thanked: 27 times
Been thanked: 11 times

Post by oscilloscope »

ZRimaZ wrote: 09 Oct 2022, 02:24
oscilloscope wrote: 09 Oct 2022, 02:18

I assumed that when a checksum is calculated it needed too be the entirety of the dump not just some ...
No. Matija showed exact block which checksum has to be recalculated after config change. To be more exact, in tis particular cem, at 0xEBD00 is the lenght of config block, 0xEBD01 - checksum itself, 0xEBD02 - start of config block with lenght from 0xEBD00
so the checksum for DF (location 000EBD00) is saved within 01 its shifted to the right? :?:

ZRimaZ
Posts: 77
Joined: 8 March 2009
Year and Model: XC60 MY2016 3.0 T6
Location: Lithuania, Kaunas
Has thanked: 23 times
Been thanked: 13 times

Post by ZRimaZ »

😳no! Read my answer one more time, looks at Matija's screenshot and analyse it one more time!
Have a nice day,

ZRimaZ

oscilloscope
Posts: 285
Joined: 20 May 2022
Year and Model: 2005
Location: uk
Has thanked: 27 times
Been thanked: 11 times

Post by oscilloscope »

so 000EBD00 from DF to 000EBD80 is checksum calculated (which is high lighted in black) , is that 223 bytes calculated in the checksum?

or is DF the sum calculated for the above addresses and saved in that byte location ?

ZRimaZ
Posts: 77
Joined: 8 March 2009
Year and Model: XC60 MY2016 3.0 T6
Location: Lithuania, Kaunas
Has thanked: 23 times
Been thanked: 13 times

Post by ZRimaZ »

Length of xonfig block to be checksumed is 8C start of the block is next byte after DF, which is checksum
Have a nice day,

ZRimaZ

matija0610
Posts: 50
Joined: 25 October 2021
Year and Model: 2003 S60 D5
Location: Croatia
Has thanked: 21 times
Been thanked: 13 times

Post by matija0610 »

ignore the whole flash, concentrate only on the configuration part.
one more time:
checksum 1 - length of config part (BC on my example)
checksum 2 - 8-bit SUM whole CONF block part (DF)
ZRimaZ drew your attention to the addresses and I think we have clarified enough.
simple, try it on an example, it will surely be clear to you

oscilloscope
Posts: 285
Joined: 20 May 2022
Year and Model: 2005
Location: uk
Has thanked: 27 times
Been thanked: 11 times

Post by oscilloscope »

matija0610 wrote: 09 Oct 2022, 04:03 ignore the whole flash, concentrate only on the configuration part.
one more time:
checksum 1 - length of config part (BC on my example)
checksum 2 - 8-bit SUM whole CONF block part (DF)
ZRimaZ drew your attention to the addresses and I think we have clarified enough.
simple, try it on an example, it will surely be clear to you
Yes thanks for pointing out my attention was drawn to the addresses. And yet it still confused me , and no it wasn't clarified enough! ,

Now , maybe the way that Is explained it is it not clear. , I have made many tests with a checksum calculator. But I have this nagging feeling that why is the checksum at 00 ( the very first byte) isn't the checksum overriding something already there? Which could of course cause problems during the copy back over. , I could perform test after test but without a frame reference how am I ment to know what is correct or going down the wrong rabbit hole?.

Why don't you exsplain it.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post