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 »

T5Luke wrote: 19 Nov 2020, 09:28 How should be right? Is dodge wrong?
Dodge is making statements about Dodges not Volvos.

Is Dodge installing indoors plumbing in their products?
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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
gnalan
Posts: 968
Joined: 21 July 2020
Year and Model: 2001 S60
Location: Ohio
Has thanked: 557 times
Been thanked: 135 times

Post by gnalan »

RickHaleParker wrote: 19 Nov 2020, 09:46 Is Dodge installing indoors plumbing in their products?
That would be awesome! I don't know how many times driving I had to stop somewhere to use the bathroom. A built in flushable toilet for the driver's seat would be perfect. :D
2001 S60, B5244S, AW55-50SN, FWD (Sold)
Cancer/Illness/Caregiver Support Thread

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 »

gnalan wrote: 19 Nov 2020, 13:38 That would be awesome! I don't know how many times driving I had to stop somewhere to use the bathroom. A built in flushable toilet for the driver's seat would be perfect. :D
I read somewhere that some guys in Australia replaced the driver's seat in their Semis with a toilet loo. Pays for itself because they don't need to stop as often. If the truck is not moving its not making money. :wink:
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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.

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 »

Teensy 4.0 @ 24MHz setting, 1 sample... P1 CEM (Slower than P2 as you guys mentioned).
Screenshot from 2020-11-19 21-16-10.png
Screenshot from 2020-11-19 21-16-10.png (32.1 KiB) Viewed 1933 times
Screenshot from 2020-11-19 21-16-02.png

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

Post by vtl »

42 seconds, nice...

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 »

Someone was asking if it was possible to use the Arduino UNO (16MHz) with the P1 CEM.

I was able to make some changes and get the first 2-3 bytes of the PIN with the third being the most unreliable. I think it is possible with some further improvements to reliably get the first 3 bytes, then brute-force the last 3. I was using the atmega2560 (same clock speed) as it has much more RAM which is useful during the development, I think this again could be optimized to reduce it.

Overall though, I think if someone is willing to wire up some board to do all this, they could get an Arduino DUE or teensy and call it a day. I agree with others that if there was a way to do it with hardware most people have it would be best, but I am less confident that is possible.

Regarding the DiCE unit, I am skeptical this can be done even if it reports a timestamp in the microseconds. I looked at a few dot net sample programs that can make use of the J2534 passthrough API. I haven't spent much time on it though, but since it is standardized it should be straightforward to write a sample program to use the DiCE driver provided and send/receive the can messages we need.

The DiCE unit seems to have a Renesas M32C M30855 processor at 32MHz max frequency: https://www.renesas.com/kr/en/products/ ... 5FJGP.html

Without them paying specific attention to the timing for received messages, I highly doubt the code is optimized enough to provide the correct level of resolution. I could be off on my assumptions/calculations..so I am not saying it isn't possible, just seems unlikely.

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

Post by vtl »

I'm not sure you can get much cheaper than Teensy. It is cheap already. Mark got it working with Teensy 3.x, which is two beers cheaper than 4.0. Arduino DUE + its dual CAN-shield is like 3-4x the price.

Chinese fake DiCE clones run with STM. I would not rely on DiCE these days at all, better get a real brand named J2543-compatible dongle with two buses, it will works. I have an xHorse clone that VIDA sees and reads one bus just fine.
Last edited by vtl on 25 Nov 2020, 08:03, edited 1 time in total.

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 »

Yeah, agree to just use teensy. I was just seeing if it was possible on the Arduino UNO which it seems to be at least for P1.

I think it is just a matter of some people want to use parts they already have and not have to wait for an order to arrive. Less about the cost of the teensy or Arduino.

Good to know about the dice clones, I haven't opened mine up yet to see what parts it was using.

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

Post by vtl »

Old DiCE units were a "night shift" on an official production line. Mine is from 2011 or even 10, I was able to update its firmware for Windows 7+ USB support, so it is definitely Renesas-based.

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 »

P1 latency seems to be much easier to detect, maybe an uno or nano is enough if port is directly read and not by digital read() function.
Dice reports very random values for time, i have tested some c lib, if 1ms would be enough it would work but we need much more precission.
Dice exists in serval variations for serval prices you get what you pay for if you search for the processor you want to have, a 1:1 dice is really easy to get, also it is possible to add original bluetooth with some solder skills.
Open p2 bootloader with reading and writing function is on its way.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post