It works on his car. Also MCP2515 Arduino library is that simple. CAN.begin() == CAN_OK and you're OK.
Vida CEM swapping
-
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
-
stevedi
- Posts: 8
- Joined: 10 January 2023
- Year and Model: 2006 V70R
- Location: Montreal
- Been thanked: 3 times
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.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.

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
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.
-
T5Luke
- Posts: 142
- Joined: 11 November 2020
- Year and Model: S60 T5 2001
- Location: DE
- Has thanked: 11 times
- Been thanked: 130 times
Think you have some connection error, data doesn't look right to me
if you read from 0x0000 you should get something like this:
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.
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 (1.12 MiB) Viewed 460 times
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
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1 Replies
- 6431 Views
-
Last post by RickHaleParker
-
- 5 Replies
- 8699 Views
-
Last post by forumoto






