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
Canadian Moose
Posts: 82
Joined: 5 September 2016
Year and Model: 2002 V70
Location: Canada
Been thanked: 1 time

Re: Vida CEM swapping

Post by Canadian Moose »

efe09 wrote: 15 Jan 2021, 10:01 E0CDC487-E5C5-46C4-9A28-989B0D369FE8.jpeg86026E05-F661-4A05-B733-1BAF69E8A3E1.jpeg

>>> more is not possible >>>

why does the program not continue 😖
What year is your car? I am stuck in the same spot with my 2002.

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

Post by vtl »

Canadian Moose wrote: 16 Feb 2021, 15:05 What year is your car? I am stuck in the same spot with my 2002.
Earlier MYs need K-Line to be managed for CAN communications be possible. That's a bit more schematic and code.

https://hackingvolvo.blogspot.com/2012/ ... n-bus.html

User avatar
efe09
Posts: 18
Joined: 4 January 2021
Year and Model: 2009 XC90 D5
Location: Ansbach
Has thanked: 17 times

Post by efe09 »

Canadian Moose wrote: 16 Feb 2021, 15:05
efe09 wrote: 15 Jan 2021, 10:01 E0CDC487-E5C5-46C4-9A28-989B0D369FE8.jpeg86026E05-F661-4A05-B733-1BAF69E8A3E1.jpeg

>>> more is not possible >>>

why does the program not continue 😖
What year is your car? I am stuck in the same spot with my 2002.

Hi Canadian Moose,

My Volvo XC90 D5 My2009

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

Post by jcdillin »

All right, so I had a really busy stretch at work and shelved this project for the time being. Now picking it back up today.

So far I've tried 1 CEM on the Bench and 2 in cars all with the same result. On each of the 3 cars i've tried the Part Number changes so i'm pretty confident that everything is talking OK.

Bench CEM is from an 07 S60
Car 1 Test is an 06 V70R
Car 2 Test is an 07 V70NA

This is with a teensy 4.0 and 3.3V can transceiver on each HS and LS networks.
Using

#define HW_SELECTION TEENSY_CAN_HW

Any suggestions on how to move forward?

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

CAN high-speed init done.
CAN low-speed init done.
Initialization done.

Putting all ECUs into programming mode.
---> ID=000ffffe data=ff 86 00 00 00 00 00 00
---> ID=000ffffe data=ff 86 00 00 00 00 00 00
Reading part number from ECU 0x50
---> ID=000ffffe data=50 88 00 00 00 00 00 00
<--- ID=0042406c data=c0 88 00 00 60 00 c0 03
Part Number: 0000600012003
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!

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

Post by vtl »

Most likely the bus is not silent (some other module keeps sending CAN messages). I keep kicking my own buns to try the cracker in-car versus on-bench, but something else comes up before I can turn my attention to the cracker. Like right now I'm rebuilding alternator in wife's almost new (5 y.o only) XC60, we need to vehicles, and I can't mess the P2 XC70 up.

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

Post by jcdillin »

Yeah, i'm getting the same timeout on the bench CEM so I don't think it's the module issue in this case. Something else is wonky.

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

Post by vtl »

Do you have a 120 Ohm termination? Stabilized +5v coming not from USB? Try removing that Zener diode (CAN-L is 2.5v max, 3.3v MCU handles it well).

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

Post by jcdillin »

Interesting, so I put the can RX line as per the Arduino file instructions since I'm using a Teensy with the built in can and not an CAN shield. Should have it direct to the can L on the HS network?

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

Post by vtl »

I have the CAN-L Teensy's pin wired to a real CAN-L, in any configuration. Not sure why Mark (who wrote the doc) thinks RX line is better, besides it is 3.3v safe. I tried it once and it worked, however the SNR (signal-to-noise ratio) was worse.

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 »

To the guys having trouble getting their configuration to work. It might help if you edit the schematic to reflect your hardware build. Then post the schematic and the code you are using here so others can look it over.

EasyEDA Download

PS: Where are the json files for the schematic ?
Last edited by RickHaleParker on 17 Feb 2021, 17:14, 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.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post