Vida CEM swapping
-
oscilloscope
- Posts: 285
- Joined: 20 May 2022
- Year and Model: 2005
- Location: uk
- Has thanked: 27 times
- Been thanked: 11 times
I assumed that when a checksum is calculated it needed too be the entirety of the dump not just some of it. ?matija0610 wrote: ↑07 Oct 2022, 21:48 Screenshot_2.png
8-bit SUM whole CONF block
I think everything is clear in the picture![]()
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
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 0xEBD00oscilloscope 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 ...
Have a nice day,
ZRimaZ
ZRimaZ
-
oscilloscope
- Posts: 285
- Joined: 20 May 2022
- Year and Model: 2005
- Location: uk
- Has thanked: 27 times
- Been thanked: 11 times
so the checksum for DF (location 000EBD00) is saved within 01 its shifted to the right?ZRimaZ wrote: ↑09 Oct 2022, 02:24No. 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 0xEBD00oscilloscope 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 ...
-
oscilloscope
- Posts: 285
- Joined: 20 May 2022
- Year and Model: 2005
- Location: uk
- Has thanked: 27 times
- Been thanked: 11 times
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 ?
or is DF the sum calculated for the above addresses and saved in that byte location ?
-
matija0610
- Posts: 50
- Joined: 25 October 2021
- Year and Model: 2003 S60 D5
- Location: Croatia
- Has thanked: 21 times
- Been thanked: 13 times
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
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
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! ,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
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.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1 Replies
- 6431 Views
-
Last post by RickHaleParker
-
- 5 Replies
- 8699 Views
-
Last post by forumoto






