Login Register

Vida CEM swapping

Post Reply
vtl
Posts: 4926
Joined: 16 Aug 2012, 13:35
Year and Model: 2005 XC70
Location: Boston
Has thanked: 129 times
Been thanked: 686 times

Post by vtl »

kaptensea wrote: 13 Jul 2026, 14:42 Someone got a diagram for reading/writing to CEM-L with a raspberry and the cem L sbl flasher?
search.php?keywords=m16c-flasher.de&t=85611&sf=msgonly

dwappertam
Posts: 14
Joined: 02 Jan 2025, 05:27
Year and Model: 2001 S60 P2
Location: On this planet
Has thanked: 3 times

Post by dwappertam »

Yariy wrote: 14 Jul 2025, 01:58
WhizzMan wrote: 14 Jul 2025, 00:40
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?
sbl source code for CEMB. The test version.
Can u tell me how to load the sbl or do i have to flash it? or how do i make use of it ?

kaptensea
Posts: 6
Joined: 13 Jul 2026, 13:58
Year and Model: 2004 V70
Location: Tibro

Post by kaptensea »

I’m building my first CEM PIN Cracker, I have the Teensy and two canbus, but I’m confused about R1-R4. Do I need them? I’m gonna build adapters so I can crack the PIN both in car and on bench with CEM connector to OBD female adapter I built

No display, just connect to PC

vtl
Posts: 4926
Joined: 16 Aug 2012, 13:35
Year and Model: 2005 XC70
Location: Boston
Has thanked: 129 times
Been thanked: 686 times

Post by vtl »

kaptensea wrote: 30 Jul 2026, 15:06 I’m building my first CEM PIN Cracker, I have the Teensy and two canbus, but I’m confused about R1-R4. Do I need them? I’m gonna build adapters so I can crack the PIN both in car and on bench with CEM connector to OBD female adapter I built

No display, just connect to PC
CAN-bus shield has the resistors.

dikidera
Posts: 1346
Joined: 15 Aug 2022, 09:59
Year and Model: S60 2005
Location: Galaxy far far away
Has thanked: 68 times
Been thanked: 187 times

Post by dikidera »

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?
More bytes can be packed by including them in the space for the 29 bit id reducing the transmit time to even lower.

kaptensea
Posts: 6
Joined: 13 Jul 2026, 13:58
Year and Model: 2004 V70
Location: Tibro

Post by kaptensea »

vtl wrote: 30 Jul 2026, 16:37
kaptensea wrote: 30 Jul 2026, 15:06 I’m building my first CEM PIN Cracker, I have the Teensy and two canbus, but I’m confused about R1-R4. Do I need them? I’m gonna build adapters so I can crack the PIN both in car and on bench with CEM connector to OBD female adapter I built

No display, just connect to PC
CAN-bus shield has the resistors.
I noticed it has both the 120 and 10k Ohm. Thanks for answer!

And the RS 10k ohm is already connected to GND on the CAN card so I don’t need a cable from RS to GND?

Using waveshare SN65HVD230

vtl
Posts: 4926
Joined: 16 Aug 2012, 13:35
Year and Model: 2005 XC70
Location: Boston
Has thanked: 129 times
Been thanked: 686 times

Post by vtl »

kaptensea wrote: 04 Aug 2026, 15:38 I noticed it has both the 120 and 10k Ohm. Thanks for answer!

And the RS 10k ohm is already connected to GND on the CAN card so I don’t need a cable from RS to GND?

Using waveshare SN65HVD230
Don't need to do anything extra with the existing off-the-shelf CAN shield, just wire it up. You may need to pull or put back the 120 Ohm jumper, depending on how the cracker is connected to CEM. On the bench cracking: need to terminate the bus, the jumper is on. In car cracking: no need to terminate, the jumper is off.

kaptensea
Posts: 6
Joined: 13 Jul 2026, 13:58
Year and Model: 2004 V70
Location: Tibro

Post by kaptensea »

Anyone have SBL for DIM cloning on P2? Or some explanation for this?

User avatar
RickHaleParker
Posts: 7196
Joined: 25 May 2015, 14:30
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 978 times

Post by RickHaleParker »

Working on two new latency-measurement methods for the Volvo CEM PIN Cracker (VCPC).

"poll" is the current software-polling method.

"captureA" and "captureB" use the Teensy's timer peripherals as hardware-capture coprocessors.

Both hardware-capture methods reduced the measured spread from 112 ticks to 38 ticks—a reduction of 74 ticks in polling-related jitter.

Further same-edge testing produced zero spread across 2,048 captures. This tells us the remaining 38-tick spread is not capture quantization error. It comes from the M7-controlled event-generation path in the simulated test environment.

Code: Select all

             MIN     MAX   SPREAD      MEAN
poll       14963   15075      112   15017.803
captureA   14999   15037       38   15017.873
captureB   14999   15037       38   15017.847
Still in the lab, using a Teensy in a simulated environment. The next step is testing with hardware-timed events and then in the real CEM environment.
Active
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2017 Ford PIU. 3.5l, Twin Turbo, 365 Hp.
............................
Past
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000. ( Killed by a plastic radiator. )
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion ( I moved, the project did not )
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0. ( Transmission dead after sitting for a winter )

dikidera
Posts: 1346
Joined: 15 Aug 2022, 09:59
Year and Model: S60 2005
Location: Galaxy far far away
Has thanked: 68 times
Been thanked: 187 times

Post by dikidera »

Pleased to announce Moose Diag https://play.google.com/store/apps/deta ... .app&hl=en it can do what Vida can and more, free but with ads.


You can monitor the CAN bus like cansniffer whilst also logging it. You can read and clear DTCs, with additional information on them. You can also search the database for information on DTCs without reading the car, in case you need to cross reference from another scanner.

CSV logging, live data viewing of up to 15 params, live graphing so you can see things like lambda on a graph. Parts catalog, service information.

In the live data view I also expose all hidden params that were visible in DHA, but you have to scroll down a bit. You can also create quick lists so you can easily go back to logging instead of searching for params manually, which btw you can, there's an actual search available for quickly finding stuff.

More features to come, like custom scripts to passively read the can bus so we dont have to query it, this improves sample rate a ton.

Currently works with Mongoose JLR cable(with USB OTG adapter), but will likely support more stuff in the future.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post