Login Register

Vida CEM swapping

Post Reply
T5Luke
Posts: 142
Joined: 11 Nov 2020, 17:00
Year and Model: S60 T5 2001
Location: DE
Has thanked: 11 times
Been thanked: 130 times

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: 4934
Joined: 16 Aug 2012, 13:35
Year and Model: 2005 XC70
Location: Boston
Has thanked: 129 times
Been thanked: 686 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 Jul 2020, 13:39
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 Oct 2014, 13:32
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: 4934
Joined: 16 Aug 2012, 13:35
Year and Model: 2005 XC70
Location: Boston
Has thanked: 129 times
Been thanked: 686 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 Jul 2020, 13:39
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 Mar 2016, 16:29
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: 7201
Joined: 25 May 2015, 14:30
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 978 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.
Active
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2017 Ford PIU. 3.5l, Twin Turbo, 365 Hp.
............................
Past
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000. ( Killed by a plastic radiator. )
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion ( I moved, the project did not )
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0. ( Transmission dead after sitting for a winter )

User avatar
gnalan
Posts: 968
Joined: 21 Jul 2020, 13:39
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 Jul 2020, 13:39
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