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
jcdillin
Posts: 196
Joined: 30 October 2014
Year and Model: 06 V70R
Location: Jacksonville Florida
Been thanked: 3 times

Re: Vida CEM swapping

Post by jcdillin »

Ok, i'll try it on my bench unit when I get back to the office in the morning.
vtl wrote: 17 Feb 2021, 16:20 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.

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

Post by vtl »

I'm actually thinking of building a Gerber model for PCB to order. EasyEDA has it all integrated. However I have no experience in it, plus our usual "no free time" in adult life.

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

Post by jcdillin »

Yeah, I was thinking the same thing. I design PCB's as a side job so it would be easy to do. I was thinking it would be cool to have the oled display so it could display the pin without a PC.

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

Post by vtl »

Sure, design one - I'll solder and program it.

paddy0174
Posts: 7
Joined: 25 May 2019
Year and Model: MY2005 XC90
Location: Near Munich
Has thanked: 1 time
Been thanked: 2 times

Post by paddy0174 »

vtl wrote: 17 Feb 2021, 17:43 Sure, design one - I'll solder and program it.
And I would love to buy one! :D
Volvo XC90 D5 AWD Summum MY05
Harley-Davidson Ultra Classic Electra Glide MY91 FLHTCU

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

Post by jcdillin »

Alright, I've been doing some research. While the teensy is nice, it's not cost effective to put into a finished design. The CPU alone is $12 in qty and it's BGA.

I found this CPU which has 2 CAN channels and gets down to $4.80 in qty 25 and there is Arduino support already as it's the CPU in some Adafruit feather products.

https://www.digikey.com/en/products/det ... UT/7390305

I put together a quick schematic

Image

Thoughts? Would this be fast enough?

User avatar
abscate
MVS Moderator
Posts: 35288
Joined: 17 February 2013
Year and Model: 99: V70s S70s,05 V70
Location: Port Jefferson Long Island NY
Has thanked: 1502 times
Been thanked: 3817 times

Post by abscate »

CANBUS is running under 1Mhz so any CPU will be fast enough , nowadays.

Warning, lead time in this stuff is insane right Now, like 36 weeks
Empty Nester
A Captain in a Sea of Estrogen
1999-V70-T5M56 2005-V70-M56 1999-S70 VW T4 XC90-in-Red
Link to Maintenance record thread

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

Post by vtl »

Honestly I don't think cost is the problem. People were paying $300 10+ years ago for the first DiCE knock-offs, in order to maintain their only Volvo. And they were happy they didn't have to pay $1500 for the blue box DiCE. Often these $300 paid off in the very first use or two.

The real cost will be hidden in design, soldering, board bringup and porting the software, all done in countries with high wages. The fair cost of the cracker as it is known today is over $50k - because many smart people had to spent a lot of second shifts working on it. All done for free, for people, because we are generous, plus open collaboration pays off in more ways than making little secrets out of air and forcing people to pay for know-how. Mind you, if you have to pay a security research firm to do this job, the price will go exorbitant, far into six digits. Chipping off $7 from MCU price is like saving cash for those silent lurkers who will start selling the cracker on ebay and aliexpress en masse.

Ok, enough whining. Back to the real thing... ;)

The CPU needs to have enough guts to sample 500 KHz CAN-bus and detect transitions. That one is probably fine. 240 MHz ESP32 didn't make it, because conditional jumps were taking 2 us. I didn't went far enough in figuring out why, maybe it was running from flash and fetching a cache line for mispredicted branch take that long.

jcdillin, could you also add a 12v level shifter for K-Line? Earlier MYs need K-line communication in order to open CAN. It is one way (out).

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

Post by vtl »

Btw, I've got a feedback that using a proper gauge for the power and signal wiring radically increases the crack success.

Also if your CAN wires are long, make sure to match the pair length and twist them slightly - CAN uses a differential signalling.

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

Post by jcdillin »

Do you need something like this to talk to it serially?

https://www.nxp.com/products/interfaces ... ce:MC33660

Or just toggle it?

Post Reply
  • Similar Topics
    Replies
    Views
    Last post