There's Openmoose for CEM-B. I don't see why you'd want to build something on a Teensy.mirelay wrote: 03 Apr 2026, 06:59 Hi all! I was very happy to find this thread long time ago, when I decided that I want to swap my M56 with M66. I understood that I have to config the CEM in order to have cruise control when in 6th gear and reverse lock.
Аt first I was disappointed because I read that getting the PIN is not possible for CEM-B, which I have in my 2001 S60. But recently I heard about OpenMoose so I got a laptop and got my CEM pin.
In the meantime though, I bought Teensy, CAN communicators and a used CEM from a scrapyard and started experimenting. The short story is that I can't make it work and any help would be appreciated.
So I am in the correct cem-b branch and when I run the code unmodified I get the "Unknown CEM part number 0...". I tried hardcoding the part number and other stuff, but with no success. Teensy seems to crash after "Reading RAM.." line.
I don't use additional 5V power to the board. I use 12V transformer for the CEM, powering E3, E6 and B3 (read this in the thread) and grounding E1. At first I have switched the CAN transceivers connections to the CEM but have fixed that.
Vida CEM swapping
-
Arty
- Posts: 17
- Joined: 09 May 2024, 05:39
- Year and Model: 2006 S60
- Location: Russia, Krasnodar
- Has thanked: 7 times
- Been thanked: 5 times
-
vtl
- Posts: 4927
- Joined: 16 Aug 2012, 13:35
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 129 times
- Been thanked: 686 times
It perhaps needs K-Line to open diagnostic CAN-buses. I have a MC33290 K-Line chip added on my cracker, but never managed to reflect it in the schematics, since cracking via timing attack does not work with these CEMs. You can connect to CAN-HS and CAN-LS pins, which is only available if you have it on the table.mirelay wrote: 03 Apr 2026, 06:59 Hi all! I was very happy to find this thread long time ago, when I decided that I want to swap my M56 with M66. I understood that I have to config the CEM in order to have cruise control when in 6th gear and reverse lock.
Аt first I was disappointed because I read that getting the PIN is not possible for CEM-B, which I have in my 2001 S60. But recently I heard about OpenMoose so I got a laptop and got my CEM pin.
In the meantime though, I bought Teensy, CAN communicators and a used CEM from a scrapyard and started experimenting. The short story is that I can't make it work and any help would be appreciated.
So I am in the correct cem-b branch and when I run the code unmodified I get the "Unknown CEM part number 0...". I tried hardcoding the part number and other stuff, but with no success. Teensy seems to crash after "Reading RAM.." line.
I don't use additional 5V power to the board. I use 12V transformer for the CEM, powering E3, E6 and B3 (read this in the thread) and grounding E1. At first I have switched the CAN transceivers connections to the CEM but have fixed that.
-
mirelay
- Posts: 2
- Joined: 13 Aug 2018, 12:50
- Year and Model: 2001 S60 2.4 140ps
- Location: Sofia
- Has thanked: 2 times
I already got the code, but I wanted to have the cracker for future cars and to test.Arty wrote: 03 Apr 2026, 07:14 There's Openmoose for CEM-B. I don't see why you'd want to build something on a Teensy.
Well, I will follow if you sometime in the future decide to update the schematics.vtl wrote: 03 Apr 2026, 07:34 It perhaps needs K-Line to open diagnostic CAN-buses. I have a MC33290 K-Line chip added on my cracker, but never managed to reflect it in the schematics, since cracking via timing attack does not work with these CEMs. You can connect to CAN-HS and CAN-LS pins, which is only available if you have it on the table.
1.jpg
2.jpg
-
vtl
- Posts: 4927
- Joined: 16 Aug 2012, 13:35
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 129 times
- Been thanked: 686 times
I'm lazy...mirelay wrote: 03 Apr 2026, 09:54 Well, I will follow if you sometime in the future decide to update the schematics.
Or if you are going to use it in car, better don't cheap out and make the full protection as per chip schematics.
Don't know if this is the right place, but seems like the most fitting thread for this problem and this was one of the threads I read the most.
I was trying to get my CEM PIN for my V70 MK2 for eventually programming power seats as one of the hall sensors gave out, so I tried it with Openmoose and managed to get the pin with Fast Recover Pin, and managed to do it, so I tried Check PIN, which then probably put it into programming mode, and now I'm pretty much stuck.
I've recently had such a flow fixing everything on this car and now I probably bit off more than I can chew, so any help would be appreciated here too!
I was trying to get my CEM PIN for my V70 MK2 for eventually programming power seats as one of the hall sensors gave out, so I tried it with Openmoose and managed to get the pin with Fast Recover Pin, and managed to do it, so I tried Check PIN, which then probably put it into programming mode, and now I'm pretty much stuck.
I've recently had such a flow fixing everything on this car and now I probably bit off more than I can chew, so any help would be appreciated here too!
-
vtl
- Posts: 4927
- Joined: 16 Aug 2012, 13:35
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 129 times
- Been thanked: 686 times
So, what's the question? How to get it unstuck? Disconnect the battery if there's no button to get it unstuck.Hyppis wrote: 08 Apr 2026, 09:45 Don't know if this is the right place, but seems like the most fitting thread for this problem and this was one of the threads I read the most.
I was trying to get my CEM PIN for my V70 MK2 for eventually programming power seats as one of the hall sensors gave out, so I tried it with Openmoose and managed to get the pin with Fast Recover Pin, and managed to do it, so I tried Check PIN, which then probably put it into programming mode, and now I'm pretty much stuck.
I've recently had such a flow fixing everything on this car and now I probably bit off more than I can chew, so any help would be appreciated here too!
-
vtl
- Posts: 4927
- Joined: 16 Aug 2012, 13:35
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 129 times
- Been thanked: 686 times
Car "dies" when blocks go into programming mode. Either send an "undie" CAN message or disconnect the battery for a minute.Hyppis wrote: 08 Apr 2026, 10:00 Yes, sorry, that's exactly the question!
So do you know what has happened here? Do I just disconnect the battery and wait a while to get it out of programming mode?
-
Dudde
- Posts: 76
- Joined: 22 Jan 2020, 11:19
- Year and Model: 2005 V70 and more
- Location: Finland
- Has thanked: 16 times
- Been thanked: 17 times
Disconnect battery, you have CEM B so there is no "fast" way of changing car config for free through OBDHyppis wrote: 08 Apr 2026, 10:00 Yes, sorry, that's exactly the question!
So do you know what has happened here? Do I just disconnect the battery and wait a while to get it out of programming mode?
That worked!
Really interesting how there is absolutely zero information about that anywhere that I found (before now lol) so a big thank you!
It at least seems like I got the CEM PIN anyways, so is there any better way to check that it is the correct one?
Really interesting how there is absolutely zero information about that anywhere that I found (before now lol) so a big thank you!
It at least seems like I got the CEM PIN anyways, so is there any better way to check that it is the correct one?
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1 Replies
- 8905 Views
-
Last post by RickHaleParker
-
- 6 Replies
- 8708 Views
-
Last post by abscate
-
- 27 Replies
- 27472 Views
-
Last post by cn90
-
- 10 Replies
- 10106 Views
-
Last post by jonesg
-
- 7 Replies
- 5349 Views
-
Last post by RickHaleParker






