Vida CEM swapping
-
Treur
- Posts: 129
- Joined: 16 Nov 2024, 09:19
- Year and Model: 2007 V70
- Location: Estonia
- Has thanked: 3 times
- Been thanked: 7 times
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.
I have decrypted eprom by io-terminal for compare.
I see that using my code I decrypt the first 61 bytes correctly.
-
Dudde
- Posts: 76
- Joined: 22 Jan 2020, 11:19
- Year and Model: 2005 V70 and more
- Location: Finland
- Has thanked: 16 times
- Been thanked: 17 times
I can give you solution when i get homeTreur 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
-
Yariy
- Posts: 48
- Joined: 01 Jul 2024, 03:21
- Year and Model: XC90
- Location: Moskow
- Has thanked: 16 times
- Been thanked: 10 times
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?
-
Yariy
- Posts: 48
- Joined: 01 Jul 2024, 03:21
- Year and Model: XC90
- Location: Moskow
- Has thanked: 16 times
- Been thanked: 10 times
Thank you. I will send the data in parts with checksum calculation. If the block checksum is incorrect, then send it again.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.
-
Treur
- Posts: 129
- Joined: 16 Nov 2024, 09:19
- Year and Model: 2007 V70
- Location: Estonia
- Has thanked: 3 times
- Been thanked: 7 times
Оптимально читать блоками по минимально 16 сообщений за раз (обычно используется по 32) в режиме запрос-ответ. То есть послали запрос, в котором указали откуда читать, что читать и по сколько сообщений за раз выдавать, получили сообщения, получили завершающее сообщение (можно сунуть КС например) и запрашиваем следующую порцию. И так далее. Через интернет напрямую блоки не читают ибо там совершенно конские с точки зрения CAN задержки (~100ms >). Обычно читается локально софтом и по мере поступления, или всё сразу отгружается по сети получателю.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?
Кстати, если КС не правильная, блок не должен ни чего повторять сам, это задача софта.
-
WhizzMan
- Posts: 33
- Joined: 21 Feb 2021, 02:04
- Year and Model: 2001 XC70
- Location: Göteborg
- Has thanked: 8 times
- Been thanked: 2 times
Would you be willing to share your code so we can do our own dumps?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?
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1 Replies
- 8885 Views
-
Last post by RickHaleParker
-
- 6 Replies
- 8688 Views
-
Last post by abscate
-
- 27 Replies
- 27437 Views
-
Last post by cn90
-
- 10 Replies
- 10085 Views
-
Last post by jonesg
-
- 7 Replies
- 5336 Views
-
Last post by RickHaleParker






