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
vtl
Posts: 4724
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 604 times

Re: Vida CEM swapping

Post by vtl »

dikidera wrote: 28 Apr 2023, 04:12 Perhaps the bit timing code is wrong in your Arduino code? There are quite a lot of configuration options for the CAN bus. Bit sampling, synchronization etc.
It works on his car. Also MCP2515 Arduino library is that simple. CAN.begin() == CAN_OK and you're OK.

stevedi
Posts: 8
Joined: 10 January 2023
Year and Model: 2006 V70R
Location: Montreal
Been thanked: 3 times

Post by stevedi »

dikidera wrote: 28 Apr 2023, 04:12 I used this CAN hat for RPI https://www.waveshare.com/2-ch-can-hat.htm and it's better in almost every single way, in that it's wired internally to the correct pins, so it's plug n play and has no messy wires.
This is exactly the hat I use for all of my projects, it works really well but I couldn't for the life of me get it to crack the CEM pin by connecting it to the teensy via SPI (using old code meant for a shield). I ended up soldering wires from the teensy directly to the transeivers on the hat, and it worked perfectly first try using the new code.

Image

jamezcab
Posts: 16
Joined: 17 April 2023
Year and Model: 2004 xc90
Location: uk
Has thanked: 1 time

Post by jamezcab »

jamezcab wrote: 20 Apr 2023, 11:38
vtl wrote: 20 Apr 2023, 10:33
jamezcab wrote: 20 Apr 2023, 10:22 😂 my apologies this is a lab rat i ordered. obviously incorrect
Be a man and make it a CEM!
i know what your saying my friend 😂 but an xc90 is a large ornament if i brick cem 😅


so here i have data read with arduino. at first i tried read all and opened in cem software but i think data is not complete lots of “ff” and some small data

so then i tried read security and have more data but dont know where to obtain pin?

why i cannot get complete read i dont know but i did remake connections a few times 🤷‍♂️
Attachments
volvo james .bin.txt
(41.27 KiB) Downloaded 71 times

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 »

Memory which is not programmed is occupied by 0xFF bytes. This is normal. It's only when you do 2-3 reads and all of them have differences is when you should be concerned.

jamezcab
Posts: 16
Joined: 17 April 2023
Year and Model: 2004 xc90
Location: uk
Has thanked: 1 time

Post by jamezcab »

dikidera wrote: 28 Apr 2023, 14:52 Memory which is not programmed is occupied by 0xFF bytes. This is normal. It's only when you do 2-3 reads and all of them have differences is when you should be concerned.
please take a look at attached 👆👆👆

T5Luke
Posts: 142
Joined: 11 November 2020
Year and Model: S60 T5 2001
Location: DE
Has thanked: 11 times
Been thanked: 130 times

Post by T5Luke »

Think you have some connection error, data doesn't look right to me

if you read from 0x0000 you should get something like this:

Code: Select all

00000000  00 FF D2 00 00 00 08 00 00 00 04 24 00 00 04 24  .ÿÒ........$...$
00000010  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000020  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000030  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000040  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000050  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000060  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000070  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000080  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000090  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
Last edited by T5Luke on 28 Apr 2023, 15:36, edited 1 time in total.

jamezcab
Posts: 16
Joined: 17 April 2023
Year and Model: 2004 xc90
Location: uk
Has thanked: 1 time

Post by jamezcab »

T5Luke wrote: 28 Apr 2023, 15:31 Think you have some connection error, data doesn't look right to me

thank you 🙏 i will try again tomorrow

jamezcab
Posts: 16
Joined: 17 April 2023
Year and Model: 2004 xc90
Location: uk
Has thanked: 1 time

Post by jamezcab »

T5Luke wrote: 28 Apr 2023, 15:31 Think you have some connection error, data doesn't look right to me

if you read from 0x0000 you should get something like this:

Code: Select all

00000000  00 FF D2 00 00 00 08 00 00 00 04 24 00 00 04 24  .ÿÒ........$...$
00000010  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000020  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000030  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000040  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000050  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000060  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000070  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000080  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$
00000090  00 00 04 24 00 00 04 24 00 00 04 24 00 00 04 24  ...$...$...$...$


thank you it appears that you must use power supply for arduino when using the 5 volt output to supply the cem
Attachments
IMG_2889.jpeg
IMG_2889.jpeg (1.12 MiB) Viewed 460 times

T5Luke
Posts: 142
Joined: 11 November 2020
Year and Model: S60 T5 2001
Location: DE
Has thanked: 11 times
Been thanked: 130 times

Post by T5Luke »

This looks perfect...
I power the cem by 12V to its connector...

jamezcab
Posts: 16
Joined: 17 April 2023
Year and Model: 2004 xc90
Location: uk
Has thanked: 1 time

Post by jamezcab »

is this file good? still cant make work with cemtool but i cannot make into .bin
Attachments
volvo labrat cem.txt
(1.28 MiB) Downloaded 76 times

Post Reply
  • Similar Topics
    Replies
    Views
    Last post