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
rkam
Posts: 102
Joined: 19 October 2022
Year and Model: 14473_96090_XC7007
Location: Norway
Has thanked: 5 times
Been thanked: 25 times

Re: Vida CEM swapping

Post by rkam »

There are people earlier in this thread that have used orange5.

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 »

Skavac wrote: 02 Feb 2024, 22:02 Anyone knows if CEM-L can be read with Orange5? I can see it supports M30855F, but I can't find a wiring diagram to connect the CEM to the orange 5. Reason I am asking because failed write with IOTerminal. Now CEM is dead
viewtopic.php?p=582463#p582463

Skavac
Posts: 18
Joined: 12 January 2020
Year and Model: 1998 Volvo S90
Location: Tangerang
Has thanked: 2 times
Been thanked: 6 times

Post by Skavac »

I see that M16C Flasher needs CEM PIN for it to work. I still have the original PIN before the CEM got bricked. What if the write process changed the PIN of the CEM? Is there a way I can still use M16C Flasher?

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 »

Skavac wrote: 03 Feb 2024, 20:18 I see that M16C Flasher needs CEM PIN for it to work. I still have the original PIN before the CEM got bricked. What if the write process changed the PIN of the CEM? Is there a way I can still use M16C Flasher?
No, it does not need the Volvo software PIN. M16/M32 chips have another, their own PIN embedded into interrupt vector at the very end of address space. It prevents reading the flash contents unless the PIN is known. Volvo sets it to all 00s or FFs, which indicates unlocked flash.

rkam
Posts: 102
Joined: 19 October 2022
Year and Model: 14473_96090_XC7007
Location: Norway
Has thanked: 5 times
Been thanked: 25 times

Post by rkam »

Renesas Flash Development Toolkit 4.09 can also be used to read and write M32C with a 5Volt serial interface.
https://www.renesas.com/us/en/software- ... amming-gui
Attachments
L_CEM.jpg
L_CEM.jpg (168.58 KiB) Viewed 1032 times

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 »

rkam wrote: 04 Feb 2024, 07:46 Renesas Flash Development Toolkit 4.09 can also be used to read and write M32C with a 5Volt serial interface.
https://www.renesas.com/us/en/software- ... amming-gui
This is how I bricked my CEM ;) It said it can't write the flash, after erasing it.

rkam
Posts: 102
Joined: 19 October 2022
Year and Model: 14473_96090_XC7007
Location: Norway
Has thanked: 5 times
Been thanked: 25 times

Post by rkam »

I'm not 100% sure that I have used FDT to write a CEM, so I guess there could be some problems.
But I have successfully programmed a DiCE with FDT.

dikidera
Posts: 1304
Joined: 15 August 2022
Year and Model: S60 2005
Location: Galaxy far far away
Has thanked: 67 times
Been thanked: 175 times

Post by dikidera »

While we are on the topic. It was nice building my own tools to read and write my ECM, but I think for other modules(and for my next car) I need a more robust tool that will guarantee less bricking(I mean I have not bricked anything so far but still) what is a cheap tool or not very expensive which can read and write the CEM,ECM,TCM,DIM and so forth all-in-one?

DIM: I want to change my language and maybe other things, depending
ECM: Well we know I often poke at it
TCM: After I finish analyzing the CAN signal stuff I plan to try and enable earlier lockup of TCC and less slip lockup, but I need flash write + checksum
CEM: I dont yet have pin for it, but the goal is to enable if possible BLISS,Rear parking sensors, increase heat output of seats, maybe even enable power seats, avg/instant fuel consumption, xenon/adaptive turning headlights(if they exist for 2005+) and other things I may not be aware of now.

Preferably in-car, I don't want to take out any of these modules out.

fmobile
Posts: 3
Joined: 13 August 2023
Year and Model: 2004 S60 restyle
Location: Almaty
Has thanked: 1 time

Post by fmobile »

vtl wrote: 27 Jan 2024, 10:25 Cool work! If you format your code according to existing style and squash your commits into a small batch of meaningful one (one commit does one thing, like implements feature, with good commit message) we can merge it to upstream.

We also need to integrate Christian's "one pass" branch. Any volunteers? Last I remember it failed to crack those tricky P2 CEMs which have a "bad" pin routine placement in flash.
Thanks Vitaly!
I was out of forum for some time. Meanwhile I see that you have implemented Abort button already, I am glad that my idea idea was useful :D

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 »

fmobile wrote: 06 Feb 2024, 13:32 Thanks Vitaly!
I was out of forum for some time. Meanwhile I see that you have implemented Abort button already, I am glad that my idea idea was useful :D
I haven't touched the code for over a year. It was Mark Dapoz.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post