Please share.
Vida CEM swapping
-
Yariy
- Posts: 41
- Joined: 1 July 2024
- Year and Model: XC90
- Location: Moskow
- Has thanked: 13 times
- Been thanked: 10 times
sbl source code for CEMB. The test version.WhizzMan wrote: ↑14 Jul 2025, 00:40Would 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?
- Attachments
-
- CEMB_sbl_test_04.zip
- (2.25 KiB) Downloaded 75 times
-
Treur
- Posts: 126
- Joined: 16 November 2024
- Year and Model: 2007 V70
- Location: Estonia
- Has thanked: 3 times
- Been thanked: 6 times
This CEM can be readed without SBL (by address)WhizzMan wrote: ↑14 Jul 2025, 00:40Would 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?
-
Yariy
- Posts: 41
- Joined: 1 July 2024
- Year and Model: XC90
- Location: Moskow
- Has thanked: 13 times
- Been thanked: 10 times
That's right, you can count on the address. You can read in Programm Mode and Diag Mode, but you will not read the EEPROM area that is blocked.Treur wrote: ↑14 Jul 2025, 09:09This CEM can be readed without SBL (by address)WhizzMan wrote: ↑14 Jul 2025, 00:40Would 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?
-
Treur
- Posts: 126
- Joined: 16 November 2024
- Year and Model: 2007 V70
- Location: Estonia
- Has thanked: 3 times
- Been thanked: 6 times
Этот цем вообще не интересно читать по Кану. Во первых нужен пин, что бы его получить надо цеплять по бдм, а если мы уже на проводах, то чего церемониться!?))) Вот 835 это интересно (855 я читаю и пишу по Кану).
-
Yariy
- Posts: 41
- Joined: 1 July 2024
- Year and Model: XC90
- Location: Moskow
- Has thanked: 13 times
- Been thanked: 10 times
There is a trick that allows you to read the PIN code using CAN. I can't tell you about this trick here. They shared it with me and I gave my word not to reveal secrets.
-
Treur
- Posts: 126
- Joined: 16 November 2024
- Year and Model: 2007 V70
- Location: Estonia
- Has thanked: 3 times
- Been thanked: 6 times
Сказал а, говори и б, но в принципе ход мысли понятен и не трудно додумать дальше)))) Принцип тот же, как терминал декриптует епром.Yariy wrote: ↑14 Jul 2025, 11:36There is a trick that allows you to read the PIN code using CAN. I can't tell you about this trick here. They shared it with me and I gave my word not to reveal secrets.
-
porcupine7655
- Posts: 24
- Joined: 28 April 2025
- Year and Model: 2006
- Location: Sweden
- Has thanked: 4 times
- Been thanked: 18 times
Next small step with my V70 BiFuel 2006.
Readout of CEM-L with M30855FW cpu using a SBL.
Only read implemented so far.
Decrypt of eeprom data is implemented but not verified that data is correct. It looks good, much more 0 values now and not just random. Parts that was FF (unused) now looks like random, but it is as expected.
Sharing both c cource for the sbl and a python script using it. I'm running on a old raspberry pi using socketcan. There is a long delay between every message sent over can as otherwise I get overflow in socketcan in the raspberry end. Maybe I should upgrade my old v3 raspberry to something faster and newer.
I have only tested it on bench, not in car.
Readout of CEM-L with M30855FW cpu using a SBL.
Only read implemented so far.
Decrypt of eeprom data is implemented but not verified that data is correct. It looks good, much more 0 values now and not just random. Parts that was FF (unused) now looks like random, but it is as expected.
Sharing both c cource for the sbl and a python script using it. I'm running on a old raspberry pi using socketcan. There is a long delay between every message sent over can as otherwise I get overflow in socketcan in the raspberry end. Maybe I should upgrade my old v3 raspberry to something faster and newer.
I have only tested it on bench, not in car.
Code: Select all
~/cem/tools/sbl $ python3 sblflasher.py
Bus sleep....Bus idle
Check SBL running..NO
Sending SBL....Done
Checking loaded SBL OK
Starting SBL Done
Check SBL running..YES
Read memory 0xfb0000 -- 0xffffff.
0xfb0000................
0xfc0000................
0xfd0000................
0xfe0000................
0xff0000................
Checking CRC..OK
Read memory 0x0 -- 0x7ff.
0x000000
Checking CRC..OK
Read memory 0xffff00 -- 0xffff3c.
0xffff00
Checking CRC..OK
Exiting, Restart bus.Done
- Attachments
-
- cem-l_m30855FW_sbl_reader.zip
- (153.11 KiB) Downloaded 66 times
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1 Replies
- 6396 Views
-
Last post by RickHaleParker
-
- 5 Replies
- 8644 Views
-
Last post by forumoto






