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 »

vtl wrote: 26 Jul 2021, 11:16
RickHaleParker wrote: 26 Jul 2021, 00:36 This is a CEM-L on the bench.
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.
Odd I can hook up my DiCE and it connects under the same conditions. I have power to D:8, D15 & D16. That is suppose to keep it alive.

Tried it in car on my 2005 XC90. Same results not reading PN. But see the overhead dome light go on and off as it goes in and out of programing mode. However the DIM is not blanking and the radio does not shut down.

What I meant was if auto detect is not defined you don't need the part number because auto detect is undefined when testing a CEM-L. You can deduce that it is a CEM-L from the fact that auto detect is undefined.

A hardware and communication test routine Sketch would be handy for trouble shooting.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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.

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

Post by vtl »

All that means CAN is not working for Teensy.

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 »

vtl wrote: 26 Jul 2021, 18:57 All that means CAN is not working for Teensy.
No CAN communication is useful information.

I might of found the source. There is a lot of noise on the power supply line from the Buck Converter and it showing on the CAN Bus. I going to get some Electrolytic Capacitors and see if I can filter that out.

Now kicking my own arse for not grabbing boxes and boxes of electronics parts at a estate sale a few months back. They where going dirt cheap. :oops:
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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

Post by urosm »

RickHaleParker wrote: 26 Jul 2021, 01:28
urosm wrote: 26 Jul 2021, 01:00
Yes, I cut the trace between V-USB and V-IN.
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.
Between V-USB and V-IN we make a jumper for programming Teensy.
When plug the interface into the OBD2 port, set jumper to cut the trace between V-IN and V-USB. If you understand me :)

About Teensy grounded to the USB port... Must have connected ground or not?
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. -

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 »

urosm wrote: 27 Jul 2021, 01:17
Between V-USB and V-IN we make a jumper for programming Teensy.
When plug the interface into the OBD2 port, set jumper to cut the trace between V-IN and V-USB. If you understand me :)

About Teensy grounded to the USB port... Must have connected ground or not?
Think you are saying the Red wire is not connected when plugged into the OBD2 port. You just have it there so you can power the Teensy from a 5V power source.

Try disconnecting pin #5 of the OBD2 port. Pin #5 is a Signal ground not a Power ground.

Have you tried powering from a 12V source and not connected to the OBD2 port? That would tell you if the problem is in the interface or some interplay with the OBD2 port.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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

Post by urosm »

RickHaleParker wrote: 27 Jul 2021, 03:27
urosm wrote: 27 Jul 2021, 01:17
Between V-USB and V-IN we make a jumper for programming Teensy.
When plug the interface into the OBD2 port, set jumper to cut the trace between V-IN and V-USB. If you understand me :)

About Teensy grounded to the USB port... Must have connected ground or not?
Think you are saying the Red wire is not connected when plugged into the OBD2 port. You just have it there so you can power the Teensy from a 5V power source.

Try disconnecting pin #5 of the OBD2 port. Pin #5 is a Signal ground not a Power ground.

Have you tried powering from a 12V source and not connected to the OBD2 port? That would tell you if the problem is in the interface or some interplay with the OBD2 port.
Yes, that's right about the red wire.

I've tried Teensy with power source 12v without connecting it to the OBD2 port, and the result is the same.
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. -

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 »

urosm wrote: 27 Jul 2021, 05:29 I've tried Teensy with power source 12v without connecting it to the OBD2 port, and the result is the same.
Runs powered by V-USB does not run from onboard regulator. Sounds like it is your on board voltage regulator circuit . I cannot see part numbers in the picture. What regulator are you using? Got a link to a Datasheet?

How about trimming your quotes. So we don't need to scroll through a bunch of unrelated stuff and can tell what you are responding to.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
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.

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

Post by vtl »

RickHaleParker wrote: 26 Jul 2021, 22:26 I might of found the source. There is a lot of noise on the power supply line from the Buck Converter and it showing on the CAN Bus. I going to get some Electrolytic Capacitors and see if I can filter that out.
CAN is not very sensitive to noise, thanks to differential signalling. It is designed to work well in a very noisy environments.

Do you have a logic analyzer like Saleae? Maybe digital oscilloscope? I would check first that Teensy actually sends anything to the bus and CEM replies back. You may find something simple, like CAN buses unintentionally swapped, or H/L lines reversed.

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

Post by vtl »

RickHaleParker wrote: 25 Jul 2021, 10:22
vtl wrote: 25 Jul 2021, 08:41 What year is it? I've heard 2010+ don't want to crack.
I got a 2011 CEM-H to crack. Had to set it to 100 samples. That was the first Frankenstein CEM.
Was talking about P1 2010+ CEMs. I don't have one, but heard about problems with them from people, who crack CEMs routinely.

urosm
Posts: 29
Joined: 24 May 2012
Year and Model: 2015 Volvo XC70 D5
Location: Montenegro
Has thanked: 10 times

Post by urosm »

RickHaleParker wrote: 27 Jul 2021, 06:18 Runs powered by V-USB does not run from onboard regulator. Sounds like it is your on board voltage regulator circuit . I cannot see part numbers in the picture. What regulator are you using? Got a link to a Datasheet?

How about trimming your quotes. So we don't need to scroll through a bunch of unrelated stuff and can tell what you are responding to.
I used the LM7805 regulator.
I think this is the datasheet: https://www.sparkfun.com/datasheets/Com ... LM7805.pdf
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. -

Post Reply
  • Similar Topics
    Replies
    Views
    Last post