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
Treur
Posts: 126
Joined: 16 November 2024
Year and Model: 2007 V70
Location: Estonia
Has thanked: 3 times
Been thanked: 6 times

Re: Vida CEM swapping

Post by Treur »

Yes, that's CEM L

Dudde
Posts: 64
Joined: 22 January 2020
Year and Model: 2005 V70 and more
Location: Finland
Has thanked: 14 times
Been thanked: 17 times

Post by Dudde »

Treur wrote: 11 Jul 2025, 03:47 Yes, that's CEM L
And you got the key from flash? Also what serial number is the CEM?

Treur
Posts: 126
Joined: 16 November 2024
Year and Model: 2007 V70
Location: Estonia
Has thanked: 3 times
Been thanked: 6 times

Post by Treur »

Yes, key from flash, I don't remember serial, but it's a 835 mcu.
I have decrypted eprom by io-terminal for compare.
I see that using my code I decrypt the first 61 bytes correctly.
files.zip
(121.35 KiB) Downloaded 38 times

Dudde
Posts: 64
Joined: 22 January 2020
Year and Model: 2005 V70 and more
Location: Finland
Has thanked: 14 times
Been thanked: 17 times

Post by Dudde »

Treur wrote: 11 Jul 2025, 06:45 Yes, key from flash, I don't remember serial, but it's a 835 mcu.
I have decrypted eprom by io-terminal for compare.
I see that using my code I decrypt the first 61 bytes correctly.
files.zip
I can give you solution when i get home

Treur
Posts: 126
Joined: 16 November 2024
Year and Model: 2007 V70
Location: Estonia
Has thanked: 3 times
Been thanked: 6 times

Post by Treur »

Dudde wrote: 11 Jul 2025, 07:27
Treur wrote: 11 Jul 2025, 06:45 Yes, key from flash, I don't remember serial, but it's a 835 mcu.
I have decrypted eprom by io-terminal for compare.
I see that using my code I decrypt the first 61 bytes correctly.
files.zip
I can give you solution when i get home
Ok, thanks. I already decrypted 183 bytes
..................
..................
Decrypted all file.

Yariy
Posts: 41
Joined: 1 July 2024
Year and Model: XC90
Location: Moskow
Has thanked: 13 times
Been thanked: 10 times

Post by Yariy »

Hi everybody. I wrote SBL for CEMB to read the full contents of the flash. While in test mode, CAN packets are transmitted in uncontrolled mode with 8 bytes of data. 512 KB is transmitted in 1.3 minutes. The period between CAN packets is 1.192 milliseconds. I receive all data packets on the table without errors. And now I have some questions. 1. Isn't the time between data packets 1.192 milliseconds short if you read the block remotely via the Internet? 2. Is it necessary to make the transfer of controlled request-response type instead of uncontrolled data transfer?

dikidera
Posts: 1304
Joined: 15 August 2022
Year and Model: S60 2005
Location: Galaxy far far away
Has thanked: 67 times
Been thanked: 175 times

Post by dikidera »

You can always dump it and send in chunks. Usually ping is high, its nowhere near 1ms unless done locally.

Yariy
Posts: 41
Joined: 1 July 2024
Year and Model: XC90
Location: Moskow
Has thanked: 13 times
Been thanked: 10 times

Post by Yariy »

dikidera wrote: 13 Jul 2025, 12:41 You can always dump it and send in chunks. Usually ping is high, its nowhere near 1ms unless done locally.
Thank you. I will send the data in parts with checksum calculation. If the block checksum is incorrect, then send it again.

Treur
Posts: 126
Joined: 16 November 2024
Year and Model: 2007 V70
Location: Estonia
Has thanked: 3 times
Been thanked: 6 times

Post by Treur »

Yariy wrote: 13 Jul 2025, 10:40 Hi everybody. I wrote SBL for CEMB to read the full contents of the flash. While in test mode, CAN packets are transmitted in uncontrolled mode with 8 bytes of data. 512 KB is transmitted in 1.3 minutes. The period between CAN packets is 1.192 milliseconds. I receive all data packets on the table without errors. And now I have some questions. 1. Isn't the time between data packets 1.192 milliseconds short if you read the block remotely via the Internet? 2. Is it necessary to make the transfer of controlled request-response type instead of uncontrolled data transfer?
Оптимально читать блоками по минимально 16 сообщений за раз (обычно используется по 32) в режиме запрос-ответ. То есть послали запрос, в котором указали откуда читать, что читать и по сколько сообщений за раз выдавать, получили сообщения, получили завершающее сообщение (можно сунуть КС например) и запрашиваем следующую порцию. И так далее. Через интернет напрямую блоки не читают ибо там совершенно конские с точки зрения CAN задержки (~100ms >). Обычно читается локально софтом и по мере поступления, или всё сразу отгружается по сети получателю.

Кстати, если КС не правильная, блок не должен ни чего повторять сам, это задача софта.

WhizzMan
Posts: 33
Joined: 21 February 2021
Year and Model: 2001 XC70
Location: Göteborg
Has thanked: 8 times
Been thanked: 2 times

Post by WhizzMan »

Yariy wrote: 13 Jul 2025, 10:40 Hi everybody. I wrote SBL for CEMB to read the full contents of the flash. While in test mode, CAN packets are transmitted in uncontrolled mode with 8 bytes of data. 512 KB is transmitted in 1.3 minutes. The period between CAN packets is 1.192 milliseconds. I receive all data packets on the table without errors. And now I have some questions. 1. Isn't the time between data packets 1.192 milliseconds short if you read the block remotely via the Internet? 2. Is it necessary to make the transfer of controlled request-response type instead of uncontrolled data transfer?
Would you be willing to share your code so we can do our own dumps?

Post Reply
  • Similar Topics
    Replies
    Views
    Last post