Vida CEM swapping
- RickHaleParker
- Posts: 7129
- Joined: 25 May 2015
- Year and Model: See Signature below.
- Location: Kansas
- Has thanked: 8 times
- Been thanked: 958 times
Just realized the Teensy 4.0 fits a Wide 28 Pin DIP socket. Useful if you want to reuse the Teensy 4.0 for other projects.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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.
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.
- RickHaleParker
- Posts: 7129
- Joined: 25 May 2015
- Year and Model: See Signature below.
- Location: Kansas
- Has thanked: 8 times
- Been thanked: 958 times
Some of the CEM-L will not read on the bench unless you comment out this line in the code.
#define CEM_PN_AUTODETECT /* comment out for P2 CEM-L on the bench w/o DIM */
Just add /* to the front of the line
/* #define CEM_PN_AUTODETECT /* comment out for P2 CEM-L on the bench w/o DIM */
The CEM-L is not a end node. On the bench, the four 120ῼ resistors go on the end node CAN pins.
----------------------------------------------
+12V power supply ==> CEM Pins E1 or E2 ( The large two pin connector in the fuse section )
Ground Power supply ==> CEM Pin D6.
----------------------------------------------
Diagnostics ports: No terminating resistors because they are not end nodes. Which means no terminating resistor on the CAN transceiver also.
Teensy HS-H ==> CEM Pin D:33
Teensy HS-L ==> CEM Pin D:48
Teensy LS-H ==> CEM Pin D:40
Teensy LS-L ==> CEM Pin D:55
----------------------------------------------
The four 120ῼ terminating resistors go across the end node pins on the CEM.
CAN HS end node 1: CEM Pins D:31 & D:46
CAN HS end node 2: CEM Pins D:32 & D:47
CAN LS end node 1: CEM Pins D:35 & D:50
CAN LS end node 2: CEM Pins D:37 & D:52
----------------------------------------------
I power up the CEM then power up the Teensy. Works for me on CEM-L & CEM-H.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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.
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.
-
Evautos
- Posts: 5
- Joined: 30 March 2022
- Year and Model: 2005 XC70
- Location: Devon
- Has thanked: 2 times
Update:
The transceivers I ordered finally arrived yesterday and I managed to have another try this morning. Both CEM cracked successfully using HS and LS CAN both connected on the vehicle and just HS on the bench (with the 120 ohm resistors still fitted to the transceiver board for CAN (which I was going to remove, but forgot in my rush to try it))
My original 10kohm jumper connection wasn’t great and the transceiver that I was using from an old pcm was a 4.5 volt minimum voltage, so the Teensy may not have been driving it correctly? Although it did decode the part number previously each time and got the first two bytes correct a few times too, so it was probably just my poor connections and maybe the lack of LS CAN not being connected and silencing it.
Thank you vtl and RickHaleParker for your hard work
The transceivers I ordered finally arrived yesterday and I managed to have another try this morning. Both CEM cracked successfully using HS and LS CAN both connected on the vehicle and just HS on the bench (with the 120 ohm resistors still fitted to the transceiver board for CAN (which I was going to remove, but forgot in my rush to try it))
My original 10kohm jumper connection wasn’t great and the transceiver that I was using from an old pcm was a 4.5 volt minimum voltage, so the Teensy may not have been driving it correctly? Although it did decode the part number previously each time and got the first two bytes correct a few times too, so it was probably just my poor connections and maybe the lack of LS CAN not being connected and silencing it.
Thank you vtl and RickHaleParker for your hard work
-
Evautos
- Posts: 5
- Joined: 30 March 2022
- Year and Model: 2005 XC70
- Location: Devon
- Has thanked: 2 times
Interesting to see what it's doing.
With those 120ohm resistors in place the CAN signal looks pretty good at approx the correct voltages.
With those 120ohm resistors in place the CAN signal looks pretty good at approx the correct voltages.
- Attachments
-
- 20220403_124939.jpg (4.45 MiB) Viewed 758 times
-
- 20220403_124906.jpg (4.08 MiB) Viewed 758 times
-
- 20220403_124654.jpg (4.79 MiB) Viewed 758 times
-
- 20220403_125300.jpg (4.55 MiB) Viewed 758 times
-
vtl
- Posts: 4727
- Joined: 16 August 2012
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 114 times
- Been thanked: 606 times
My CEM-L goes into some sort of standby mode after like 20 ms if it sees no DIM on the bus, maybe other modules, too. I usually run the cracker without autodetect and power up the CEM when the cracker says "Putting all ECUs into programming mode.".
-
Evautos
- Posts: 5
- Joined: 30 March 2022
- Year and Model: 2005 XC70
- Location: Devon
- Has thanked: 2 times
The two CEM-L I have been using both seem to stay ready to communicate whenever. In the vehicle I could just connect and the programme would start identify and run without any ignition key input and even with the door switch state not changing. I know some vehicles wake the CAN up as soon as a door is opened or a proximity remote is detected.
I left the one on the bench this morning and forgot to turn off power to it and it connected straight away as soon as the programme started when I reconnected to take the scope captures.
The part numbers of the ones I have are 30728542.
I left the one on the bench this morning and forgot to turn off power to it and it connected straight away as soon as the programme started when I reconnected to take the scope captures.
The part numbers of the ones I have are 30728542.
- RickHaleParker
- Posts: 7129
- Joined: 25 May 2015
- Year and Model: See Signature below.
- Location: Kansas
- Has thanked: 8 times
- Been thanked: 958 times
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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.
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.
- charlie13
- Posts: 46
- Joined: 23 March 2022
- Year and Model: 2009 XC70
- Location: Krakow
- Has thanked: 8 times
- Been thanked: 18 times
Links to Vadis 2005 and Volvo EWD 2014D if someone doesn't. password via private message
Thank you for all your help! Teensy 4.0 works. For P1 and P2. In fact, the can circuits were faulty after assembling the 1050, everything works
Thank you for all your help! Teensy 4.0 works. For P1 and P2. In fact, the can circuits were faulty after assembling the 1050, everything works
- Attachments
-
- links.7z
- (367 Bytes) Downloaded 153 times
-
- IMG20220406203109.jpg (3.35 MiB) Viewed 613 times
-
- IMG20220406172232.jpg (4.04 MiB) Viewed 613 times
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1 Replies
- 6431 Views
-
Last post by RickHaleParker
-
- 5 Replies
- 8699 Views
-
Last post by forumoto






