Got my PT V2.0 assembled. It is not reading the CEM Part numbers. Would it get that far if it was not communicating on the CANL or CANH ? A little more verbose so we can confirm that and that is happening would be handy for us non-coders.
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
Re: Vida CEM swapping
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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
Dead in the water right now. Downloaded your latest master sketch .... it will not compile and upload to the Teensy 4.0.
Arduino: 1.8.13 (Windows 10), TD: 1.53, Board: "Teensy 4.0, Serial, 600 MHz, Faster, US English"
E:\Sketches\VTL\volvo-cem-cracker-master\volvo-cem-cracker-master\volvo-cem-cracker\volvo-cem-cracker.ino:16:30: warning: "/*" within comment [-Wcomment]
#define LAT_ONLY /* choose candidates by latency only (vs latency/standard deviation) */
^
E:\Sketches\VTL\volvo-cem-cracker-master\volvo-cem-cracker-master\volvo-cem-cracker\volvo-cem-cracker.ino:12:1: error: 'st' does not name a type
st is brute-forced */
^
Multiple libraries were found for "FlexCAN_T4.h"
Used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\FlexCAN_T4
Not used: C:\Users\RickP\OneDrive\Documents\Arduino\libraries\FlexCAN_T4-master
Error compiling for board Teensy 4.0.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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
Got the master to compile. Commented out #define CEM_PN_AUTODETECT. No change.
This is a CEM-L on the bench.
Why is the CEM_PN_AUTODETECT still running when it is not defined
Perhaps if PN = 0 then prop the user to enter the CEM part number or CEM type in the serial terminal. Instead of giving up.
This is a CEM-L on the bench.
Why is the CEM_PN_AUTODETECT still running when it is not defined
Perhaps if PN = 0 then prop the user to enter the CEM part number or CEM type in the serial terminal. Instead of giving up.
Last edited by RickHaleParker on 26 Jul 2021, 01:45, edited 1 time in total.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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.
-
urosm
- Posts: 29
- Joined: 24 May 2012
- Year and Model: 2015 Volvo XC70 D5
- Location: Montenegro
- Has thanked: 10 times
Yes, I cut the trace between V-USB and V-IN.RickHaleParker wrote: ↑25 Jul 2021, 10:31The 2004 V70 is a CEM-B. The side attack does not work on a CEM-B.
The 2005 V70 is a CEM-L. The side attack does works on the CEM-L.
Schematic is good.
If you are cracking in-car. the battery needs to be in good health and fully charged. A CEM may stop responding to the carcker if the voltage is low.
Did you cut the trace between V-USB and V-IN on the back of the Teensy 4.0?
How about some pictures of your CEM cracker. So we can look for possible problems.
Here is a photo of the board:

Here are photos of the interface:


Volvo 744 TDIC SOLD, 1989. ; 1997. - 2000.
Volvo 855 GLT + LPG Estate SOLD, 1996. ; 1998. - 2020.
Volvo V70 D5 SOLD, 2004. ; 2013. - 2021.
Volvo XC70 D5 SOLD, 2007. ; 2017. - 2021.
Nissan Pathfinder DRIVING, 2007. ; 2019. -
Volvo XC70 D5 DRIVING, 2015. ; 2021. -
Volvo XC90 D5 DRIVING, 2008. ; 2022. -
Volvo 855 GLT + LPG Estate SOLD, 1996. ; 1998. - 2020.
Volvo V70 D5 SOLD, 2004. ; 2013. - 2021.
Volvo XC70 D5 SOLD, 2007. ; 2017. - 2021.
Nissan Pathfinder DRIVING, 2007. ; 2019. -
Volvo XC70 D5 DRIVING, 2015. ; 2021. -
Volvo XC90 D5 DRIVING, 2008. ; 2022. -
- RickHaleParker
- Posts: 7129
- Joined: 25 May 2015
- Year and Model: See Signature below.
- Location: Kansas
- Has thanked: 8 times
- Been thanked: 958 times
You have a Red wire running from the Teensy V-IN to J1 V-USB. That is the same as not cutting the trace. You also have Teensy grounded to the USB port. Remove the Red and Black wires fron J1. Plug the interface into the OBD2 port. The Tennsy will power off U4.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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.
-
ricked
- Posts: 38
- Joined: 24 May 2021
- Year and Model: xc90
- Location: lowlands
- Has thanked: 6 times
- Been thanked: 2 times
i know what the error was... CEM is dead, after 4 runs of the cracker i did try to read it with xprog and carprog both cant connect to mcu.
owner did jump start the car with cables reversed
-
vtl
- Posts: 4727
- Joined: 16 August 2012
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 114 times
- Been thanked: 606 times
It's not running, the code sends everything to programming mode and then tries to read the part number as a CAN connectivity test.RickHaleParker wrote: ↑26 Jul 2021, 00:36 Got the master to compile. Commented out #define CEM_PN_AUTODETECT. No change.
This is a CEM-L on the bench.
Why is the CEM_PN_AUTODETECT still running when it is not defined![]()
-
vtl
- Posts: 4727
- Joined: 16 August 2012
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 114 times
- Been thanked: 606 times
Start with the CEM being powered off. Press the reset button on Teensy, wait for "Sending blah-blah", sharply apply the power to the CEM. You have about 20 ms from the CEM's on-the-bench start to send the programming mode messages, otherwise it goes into a sleeping/idle mode.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1 Replies
- 6431 Views
-
Last post by RickHaleParker
-
- 5 Replies
- 8699 Views
-
Last post by forumoto






