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
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

Re: Vida CEM swapping

Post by RickHaleParker »

gnalan wrote: 21 Dec 2020, 14:14 Has anyone tried the above program? Not sure if it'll give you the codes you're looking for, but it seems to be a decent program.
It is a CAN simulator. Use to test CAN devices and software under development. Like a flight simulator, i produces the environment and experience without the real thing. It has limits it is not going to respond to a CEM crack the way a real one would.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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.

jcdillin
Posts: 196
Joined: 30 October 2014
Year and Model: 06 V70R
Location: Jacksonville Florida
Been thanked: 3 times

Post by jcdillin »

Ok, so I picked up a Teensy 4.0 and a couple 3.3V can transceivers. I'm testing this all out on a spare CEM on the desk before I unleash it on my V70R. :D

I have the CEM powered up with the following wires.

Brown Wire (D6) = Ground
Large Red (E:A) = Constant 12V
Large Red (E:B) = Constant 12V

Yellow (D15) = Switched 12V
Violet (D8) = Switched 12V
Blue-Red (D16) = Switched 12V

I have the can transceiver connected to

White CAN-H = (D:33)
Green CAN-L = (D:48)

So when I apply the switched 12V, relays click and the unit starts drawing ~400mA.

I start the teensy and get the following. I double-checked and I am connected to the HS CAN pins from the DLC.


Code: Select all

CPU Maximum Frequency:   600000000
CPU Frequency:           180000000
Execution Rate:          180 cycles/us
Minimum CEM Reply Time:  30us
Platform:                P2
PIN bytes to measure:    3
Number of samples:       30
Number of loops:         1000

Initialization done.

sending CEM into programming mode
send: ID=000ffffe data=ff 86 00 00 00 00 00 00
send: ID=000ffffe data=ff 86 00 00 00 00 00 00
recv: ID=0042406c data=80 88 00 00 60 00 a0 03
recv: ID=0042406c data=c0 a8 00 00 60 00 a0 03
recv: ID=0042406c data=80 88 00 00 60 00 a0 03
recv: ID=0042406c data=80 88 00 00 60 00 a0 03
recv: ID=0042406c data=80 88 00 00 60 00 a0 03
recv: ID=0042406c data=80 88 00 00 60 00 a0 03
recv: ID=0042406c data=80 88 00 00 60 00 a0 03
recv: ID=0042406c data=80 88 00 00 60 00 a0 03
recv: ID=0042406c data=80 88 00 00 60 00 a0 03
recv: ID=0042406c data=80 88 00 00 60 00 a0 03
recv: ID=0042406c data=80 88 00 00 60 00 a0 03
reading part number
send: ID=000ffffe data=50 88 00 00 00 00 00 00
recv: ID=0042406c data=c0 88 00 00 60 00 a0 03
calculating bytes 0-2
Timeout waiting for CEM reply!
Timeout waiting for CEM reply!
Timeout waiting for CEM reply!
Timeout waiting for CEM reply!
Timeout waiting for CEM reply!
Timeout waiting for CEM reply!
Timeout waiting for CEM reply!
Timeout waiting for CEM reply!
Is the teensy 4.0 code not reliable yet or am I missing something?

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

Post by vtl »

Start the Teensy first, wait for "sending CEM into programming mode", then immediately power on the CEM. CEM on the bench needs to see the ff 86 message in the first 20 ms or so, otherwise it goes into standby mode.

jcdillin
Posts: 196
Joined: 30 October 2014
Year and Model: 06 V70R
Location: Jacksonville Florida
Been thanked: 3 times

Post by jcdillin »

Hmm, tried a few different ways of that with the same result. I'll play around with it a bit more.

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

Post by vtl »

Cut the power fully. I have wiring only in D, all my CEM power is switched.

Other thing to try is 12v->5v DC-DC for Teensy using the same source of 12v.

jcdillin
Posts: 196
Joined: 30 October 2014
Year and Model: 06 V70R
Location: Jacksonville Florida
Been thanked: 3 times

Post by jcdillin »

Are you just providing power via?

Yellow (D15) = Switched 12V
Violet (D8) = Switched 12V
Blue-Red (D16) = Switched 12V

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

Post by vtl »

Yes.

jcdillin
Posts: 196
Joined: 30 October 2014
Year and Model: 06 V70R
Location: Jacksonville Florida
Been thanked: 3 times

Post by jcdillin »

Ok thanks, i'm going to rig up a regulator and try powering the teensy like that.

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

Post by vtl »

Your setup is able to read the CAN messages. I think all is needed is to power on the CEM at right time.

jcdillin
Posts: 196
Joined: 30 October 2014
Year and Model: 06 V70R
Location: Jacksonville Florida
Been thanked: 3 times

Post by jcdillin »

For some reason once I removed power from E:A and E:B which are the 2 large power terminals in the front I'm no longer getting any comms.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post