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
sirloins
Posts: 43
Joined: 5 November 2020
Year and Model: 2010 V50 T5 AWD M66
Location: Ottawa, Canada
Been thanked: 3 times

Re: Vida CEM swapping

Post by sirloins »

Yes I meant microseconds not ms :D whoops. Canbus speed is 500kbps.

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 »

sirloins wrote: 18 Nov 2020, 23:04 Canbus speed is 500kbps.
P1 CEM . : HS CAN 500 kbps, LS CAN 125 kbps. ( Motorola S12, 2005 - 2013 depending on model)
P2 CEM-H: HS CAN 250 kbps, LS CAN 125 kbps. ( Motorola MC68386, 1999 - 2004 )
P2 CEM-L: HS CAN 500 kbps, LS CAN 250 kbps. ( Renesas M32C, 2005-2014 )
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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: 4727
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 606 times

Post by vtl »

Interesting. MY2005 XC70 has LS CAN 125 Kbps.

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 »

RickHaleParker wrote: 18 Nov 2020, 22:47
vtl wrote: 18 Nov 2020, 22:01 At 500 Kbps one clock is 2 us, even at 125 Kbps the resolution stays in a single digit us range, not ms.
Found this in the J2534 API: unsigned long Timestamp;/* receive message timestamp(in microseconds) */

Is it fast enough to do the crack?
Theoretically, yes. If the CAN receiver part of the DiCE works linearly and does not distort the latency even further, it probably can be used.

T5Luke
Posts: 142
Joined: 11 November 2020
Year and Model: S60 T5 2001
Location: DE
Has thanked: 11 times
Been thanked: 130 times

Post by T5Luke »

All P2 have interior CAN at 125 kbps.

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 »

T5Luke wrote: 19 Nov 2020, 08:07 All P2 have interior CAN at 125 kbps.
Interior CAN 🤨 ... P2s don't have indoors plumbing.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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: 4727
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 606 times

Post by vtl »

All of the communication related to this research work happened outside of MVS or any other English-native forum or community, in a very broken English. Plumbin', schlumbin'... Ваапсче пофик...

sirloins
Posts: 43
Joined: 5 November 2020
Year and Model: 2010 V50 T5 AWD M66
Location: Ottawa, Canada
Been thanked: 3 times

Post by sirloins »

I don't have much time in the next couple of days, so I submitted a pull request on that repo with what I have currently.

I tried to keep the defaults working for the P2, but I put a comment in about what settings I used for my P1.

My next goal is to write my own SBL for the unit to dump flash, and then add support for the other standard commands (Write/Checksum etc). I'll see if I can do it in C so it is portable maybe to the P2 platform? Was originally going to learn to write assembly, but it wouldn't be as portable. Any suggestions let me know.

With an C SBL it would be possible I think to make many versions in order to work with the different modules on the P1 platform at least (CCM, DIM and CEM all use MC9S12 chips).

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 »

Yes, I got your PR, thanks! Let me verify it.

Also, 2.5 more successful cracks on P2 were reported! 0.5 is for the failing detection of the third byte, which I know is troublesome. I'm gathering folk's data to tune the algo.

T5Luke
Posts: 142
Joined: 11 November 2020
Year and Model: S60 T5 2001
Location: DE
Has thanked: 11 times
Been thanked: 130 times

Post by T5Luke »

RickHaleParker wrote: 19 Nov 2020, 08:30
T5Luke wrote: 19 Nov 2020, 08:07 All P2 have interior CAN at 125 kbps.
Interior CAN 🤨 ... P2s don't have indoors plumbing.
How should be right? Is dodge wrong?

CAN-Interior (also known as CAN Interior High Speed/IHS)
quote from: http://www.dodgia.com/docont-888.html

Post Reply
  • Similar Topics
    Replies
    Views
    Last post