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
T5Luke
Posts: 142
Joined: 11 November 2020
Year and Model: S60 T5 2001
Location: DE
Has thanked: 11 times
Been thanked: 130 times

Re: Vida CEM swapping

Post by T5Luke »

I don't know if it makes sense to discuss about an os here. If you diag your car with dice you are forced to windows anyway. Many production environments are based on windows also, every os systems has pros and cons. Also most normal users here in forum would use a windows os and if you are a pro in another os it would be easy for you to adopt the serial terminal for your needs. For me it doesnt matter in which os to prog. But my diagnostic computer runs on windows and i see no reason in dual boot or use a vm.

But beside, this tool cracks the code. Just some simple commands would be nice in termianl. So a terminal only use and a optional connected programm could work on this project. It won't be the best way to read a binary file from arduino terminal window or paste binary data for flashing into arduino terminal.

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

Post by vtl »

gnalan wrote: 24 Nov 2020, 23:19 Which distro do you use, or do you build your own from the command line?
Various. Mainline distros don't differ much these days.

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 »

How's the progress going?
2001 S60, B5244S, AW55-50SN, FWD (Sold)
Cancer/Illness/Caregiver Support Thread

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

Post by jcdillin »

Any reason why the 2 channel can shield for the PI couldn't be used? It's already 3.3V logic level so would save the level shifting. Looks like the INT would still have to be manually wired over.

https://www.amazon.com/seeed-studio-CAN ... B08NDLXHNW

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

Post by vtl »

Mark Dapoz did a port for the built-in CANs and external transceivers. Porting this Arduino code to other bare-metal platform is trivial. Anything will do the crack if it is able to see the reply latency in 1us increments.

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, 00:17 P2 CEM-H: HS CAN 250 kbps, LS CAN 125 kbps. ( Motorola MC68386, 1999 - 2004 )
I can't seem to find a datasheet for the MC68386. Are you sure that's the correct IC?
2001 S60, B5244S, AW55-50SN, FWD (Sold)
Cancer/Illness/Caregiver Support Thread

User avatar
yagger
Posts: 373
Joined: 24 March 2016
Year and Model: V60 2016
Location: DreamLand
Has thanked: 6 times
Been thanked: 39 times

Post by yagger »

.
Attachments
CEMs MCU.jpg

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: 17 Dec 2020, 06:45 I can't seem to find a datasheet for the MC68386. Are you sure that's the correct IC?
I cannot find a datasheet. I found the part number on the D5T5 website. Companies are keeping a tight rein on what use to be readily available information. Not surprising considering one of the big issues today is the right to repair.

The MC683XX line started under Motorola continued under Freescale Semiconductor. Don't know if it survived the merger with NXP.

I wonder if it a typo on the D5T5 website. I found the datasheet for a MC68336. 3 is often misread as 8. I got a CEM-H somewhere in the shed. Maybe I will find it and pop it open.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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 »

2001 S60, B5244S, AW55-50SN, FWD (Sold)
Cancer/Illness/Caregiver Support Thread

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 »

https://github.com/GENIVI/CANdevStudio

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.

If anyone has used the program, were you successful with using DiCE to do the reading/writing? Something I'm thinking about trying, if I can use my Genuine Volvo DiCE. I paid enough for it that I don't want to spend more money to make something that'll do the same thing the DiCE is capable of doing straight out of the box. Obviously you can read and send data with DiCE through VIDA, but I don't see a way to intercept the messages/data being read/written in real time using VIDA.
2001 S60, B5244S, AW55-50SN, FWD (Sold)
Cancer/Illness/Caregiver Support Thread

Post Reply
  • Similar Topics
    Replies
    Views
    Last post