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
eltoro
Posts: 6
Joined: 30 October 2021
Year and Model: XC60 2011
Location: Finland

Re: Vida CEM swapping

Post by eltoro »

RickHaleParker wrote: 17 Dec 2021, 20:00 This is what I came up with for P3 Bench setup.

Teensy loaded with VTL's P3 branch. Do not use the Main branch.

Connector C5 (Black connector next to the Blue connector )
  • PIN : Function , ( Comment )
    C5:1 : Battery Power (+) , ( 12V which is marked 30+ on a EWD )
    C5:2 : Battery Power (+) , ( 12V which is marked 30+ on a EWD )
Connector C1 ( Green Connector )
  • PIN : Function , ( Comment )
    C1:30 : MS-CAN (+) , LS-CAN H ( Green wire )
    C1:31 : MS-CAN (-) , LS-CAN L ( White wire )
    C1:54 : Battery Power Ground (-) , ( VTL is grounding some place on C3 but C1:54 is the official power ground. )
    C1:63 :15+ , ( Key on. VTL is not using this but Vdash requires the key to be on. Apply +12V for Key on conditions. )
Connector C3 ( Blue Connector )
  • PIN : Function , ( Comment )
    C3:6 HS-CAN (+) , HS-CAN H ( Green wire )
    C3:7 HS-CAN (-) , HS-CAN L ( White wire )
Finally, I managed to finish the bench setup.
I did add second ground connection:
Connector C2 (Brown Connector)
C2: 65 Power Ground

I am not sure if C1:63 is needed? VIDA states it is Relay 15-feed, voltage feed. It does not seem to change anything now.

How do I know CEM is ready and powered on for CAN messaging?
When I power on the CEM, I'll hear a relay clicking sound, but then nothing. Some of the fuses are powered on but not all, kind of what I would expect.
I do have the Teensy connected to CEM but I do not get any CAN responses, all messaging times out. (Teensy HW not verified)
When I measure the CAN lines, there are no expected voltage levels when only the CEM is powered. When Teensy is powered I'll right voltage levels from CAN lines. 120-ohm termination resistors are on both CAN busses.
I do have an old lab power supply that should be capable of at least 12V 2A, power consumption seems pretty low ~10-200mA (rough reading from the analog meter). What is the expected power consumption on the bench setup?

Any ideas about what is missing?
When should the CEM start a message on the CAN busses?
Is there some need for KVM wakeup? CAN message or some other signal?

User avatar
RickHaleParker
Posts: 7129
Joined: 25 May 2015
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 958 times

Post by RickHaleParker »

eltoro wrote: 10 Jan 2022, 00:21
Finally, I managed to finish the bench setup.
I did add second ground connection:
Connector C2 (Brown Connector)
C2: 65 Power Ground

I am not sure if C1:63 is needed? VIDA states it is Relay 15-feed, voltage feed. It does not seem to change anything now.


120-ohm termination resistors are on both CAN busses.

Any ideas about what is missing?
Good catch, I missed the C2:65 Power Ground
I put C1:63 up there so that people would know how to simulate switching the key on.

It is DIN terminal type 15 not "Relay 15". The 15 comes from Standard DIN 72552.
DIN = Deutsches Institut für Normung e.V. ( English: German Institute for Standardisation ).

There is suppose to be 120ῼ on both ends of a CAN bus. Measure the resistance across a 120ῼ with the cracker connected. If it is 60ῼ it is terminated correctly. Two 120ῼ in parallel = 60ῼ. If it measures 120ῼ a second 120ῼ on the other end of the CAN Bus is due.

VTL is the only one that has done this. I don't have any P3 CEMs to experiment with.
Last edited by RickHaleParker on 10 Jan 2022, 06:41, edited 1 time in total.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000.
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0.

vtl  
Posts: 4723
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 603 times

Post by vtl »

RickHaleParker wrote: 10 Jan 2022, 06:18VTL is the only one that has done this. I don't have any P3 CEMs to experiment with.
P3 is simpler: no nanoseconds hunting, just brute force. Once everything is wired correctly, no glitches, etc, it will eventually crack.

User avatar
RickHaleParker
Posts: 7129
Joined: 25 May 2015
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 958 times

Post by RickHaleParker »

vtl wrote: 10 Jan 2022, 06:40 P3 is simpler: no nanoseconds hunting, just brute force. Once everything is wired correctly, no glitches, etc, it will eventually crack.
Should this sequence work?
  • 1. Load Sketch P3.
    2. Turn Cracker off.
    3. Connect the Cracker to the CEM.
    4. Power up the CEM.
    5. Start the Cracker.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000.
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0.

User avatar
RickHaleParker
Posts: 7129
Joined: 25 May 2015
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 958 times

Post by RickHaleParker »

eltoro wrote: 10 Jan 2022, 00:21 I do have the Teensy connected to CEM but I do not get any CAN responses, all messaging times out. (Teensy HW not verified)
Post some close up high resolution pictures of your hardware. We will see if we can spot potential problems with your HW.

Did you read the discussion on Common Ground?
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000.
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0.

vtl  
Posts: 4723
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 603 times

Post by vtl »

RickHaleParker wrote: 10 Jan 2022, 06:49
vtl wrote: 10 Jan 2022, 06:40 P3 is simpler: no nanoseconds hunting, just brute force. Once everything is wired correctly, no glitches, etc, it will eventually crack.
Should this sequence work?
  • 1. Load Sketch P3.
    2. Turn Cracker off.
    3. Connect the Cracker to the CEM.
    4. Power up the CEM.
    5. Start the Cracker.
4. Start the cracker
5. Power up the CEM when the cracker says:

Putting all ECUs into programming mode.
=== CEM-on-the-bench users: you have 5 seconds to apply CEM power! ===


That's for the case when the CEM does not see enough CAN devices on the network. If I understand correctly, with DIM connected and maybe something else, CEM does not go into standby mode.

User avatar
RickHaleParker
Posts: 7129
Joined: 25 May 2015
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 958 times

Post by RickHaleParker »

vtl wrote: 10 Jan 2022, 07:16
4. Start the cracker
5. Power up the CEM when the cracker says:

Putting all ECUs into programming mode.
=== CEM-on-the-bench users: you have 5 seconds to apply CEM power! ===


That's for the case when the CEM does not see enough CAN devices on the network. If I understand correctly, with DIM connected and maybe something else, CEM does not go into standby mode.
Ok .. you will need a Serial Terminal that reconnects automatically when you turn on the cracker. Some Serial Terminals will not reconnect after communication is lost ( Step 3 ).
  • 1. Load Sketch P3.
    2. Setup communication with the Serial Terminal.
    3. Turn Cracker off.
    4. Connect the Cracker to the CEM.
    5. Start the Cracker.
    6. Power up the CEM when the Cracker says:
    Putting all ECUs into programming mode.
    === CEM-on-the-bench users: you have 5 seconds to apply CEM power! ===
Is there some verbose notification that will tell you startup was successful?
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000.
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0.

Niels83
Posts: 1
Joined: 12 June 2020
Year and Model: 2008
Location: Netherlands

Post by Niels83 »

Soooo... I've been going through this threat with some leaps. I want to get the pin of my 2006 C70-II. I have a DiCe and I found this so far: https://github.com/vtl/volvo-cem-cracker

But how do I get it to run through the DiCe? I also saw something called Teensy. Do I also need that next to the Dice? Sorry for asking questions you guys obviously must have discussed, but I can't see it in the opening page or by using the search option in this threat.

User avatar
RickHaleParker
Posts: 7129
Joined: 25 May 2015
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 958 times

Post by RickHaleParker »

Niels83 wrote: 10 Jan 2022, 08:43 But how do I get it to run through the DiCe? I also saw something called Teensy. Do I also need that next to the Dice?
DiCE has nothing to do with this. You build the interface using a Teensy 4.0 development board. Look in the folder doc in the vtl/volvo-cem-cracker zip file.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000.
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0.

eltoro
Posts: 6
Joined: 30 October 2021
Year and Model: XC60 2011
Location: Finland

Post by eltoro »

vtl wrote: 10 Jan 2022, 06:40
RickHaleParker wrote: 10 Jan 2022, 06:18VTL is the only one that has done this. I don't have any P3 CEMs to experiment with.
P3 is simpler: no nanoseconds hunting, just brute force. Once everything is wired correctly, no glitches, etc, it will eventually crack.
I did verify my Teensy HW HS CAN, sending and receiving is working even connected to CEM.
My CEM remains silent. There is no activity on CEM, except some clicky noise. When I try to power on the CEM separately I don't see any voltage levels changes on CAN lines (using multi-meter voltage measurement, I don't have an oscilloscope).

Is it so that it should not need any other messages or voltage signals to wake up the CEM?

Another thing is that P3 branch does have k-line serial3 codes used, is it the merge issues or should there be some HW connections from serial3 to CEM?

Post Reply
  • Similar Topics
    Replies
    Views
    Last post