This is a reminder to use the forum to help each other, rather than private messages. Private messages get seen by the recipient, while posts are freely readable by the millions of Volvo owners across the globe. Thanks much!

Welcome to the world's #1 Volvo forum!

Volvo Fixes & Advice since 2001.

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).
Post Reply
User avatar
RickHaleParker  
Posts: 5656
Joined: Mon May 25, 2015 2:30 pm
Year and Model: See Signature below.
Location: Kansas
Has thanked: 4 times
Been thanked: 711 times

Re: Vida CEM swapping

Post by RickHaleParker »

solitaire wrote: Sat May 08, 2021 12:22 pm but 3 bytes always in candidate 1-5
Hum ...
If that holds true for all six bytes.
6 bytes 5 candidates per byte. 5^6 = 15,625 possible pins.

15,625 is a short list compared to 100^6.

VTL: How long would it take to test 15,625 possible pins generated from six sets of five candidates. ?
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.

User avatar
vtl
Posts: 2335
Joined: Thu Aug 16, 2012 1:35 pm
Year and Model: 2005 XC70
Location: Boston
Has thanked: 9 times
Been thanked: 112 times

Post by vtl »

RickHaleParker wrote: Sat May 08, 2021 2:56 pm VTL: How long would it take to test 15,625 possible pins generated from six sets of five candidates. ?
> 1000 pins in 640 ms, 1562 pins/s,

10 seconds.
05 XC70, 16 XC60, 19 Tundra
P1+P2 CEM PIN-code retrieval DIY thread: viewtopic.php?f=10&t=85611

User avatar
RickHaleParker  
Posts: 5656
Joined: Mon May 25, 2015 2:30 pm
Year and Model: See Signature below.
Location: Kansas
Has thanked: 4 times
Been thanked: 711 times

Post by RickHaleParker »

vtl wrote: Sat May 08, 2021 7:55 pm > 1000 pins in 640 ms, 1562 pins/s,
10 seconds.
If the correct byte value always ends up a short list. Reduction by shortlisting might be the best compromise between speed and dependability.
Last edited by RickHaleParker on Sat May 08, 2021 8:16 pm, edited 1 time in total.
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.

User avatar
vtl
Posts: 2335
Joined: Thu Aug 16, 2012 1:35 pm
Year and Model: 2005 XC70
Location: Boston
Has thanked: 9 times
Been thanked: 112 times

Post by vtl »

RickHaleParker wrote: Sat May 08, 2021 8:07 pm If the correct byte value always ends up a short list.
But it does not. For the cmp+jmp instruction clusters on the same flash page/cache line/pipeline fetch only the first one yields a larger latency, the following has no latency spike, so it would never make it to the short list.
05 XC70, 16 XC60, 19 Tundra
P1+P2 CEM PIN-code retrieval DIY thread: viewtopic.php?f=10&t=85611

User avatar
RickHaleParker  
Posts: 5656
Joined: Mon May 25, 2015 2:30 pm
Year and Model: See Signature below.
Location: Kansas
Has thanked: 4 times
Been thanked: 711 times

Post by RickHaleParker »

vtl wrote: Sat May 08, 2021 8:14 pm
But it does not. For the cmp+jmp instruction clusters on the same flash page/cache line/pipeline fetch only the first one yields a larger latency, the following has no latency spike, so it would never make it to the short list.
Then how do we ever get bytes B1 & B2?

You are already doing the first three byte shortlist ... you call the ones on the byte shortlist candidates. Three more byte shortlist and you have everything you need to build a Pincode shortlist. Is there some reason a byte shortlist for B3 - B5 cannot be done?
Last edited by RickHaleParker on Sat May 08, 2021 9:58 pm, edited 2 times in total.
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.

jurresmikkelbeer
Posts: 1
Joined: Sat May 08, 2021 9:26 pm
Year and Model: 2005 V50
Location: Amsterdam

Post by jurresmikkelbeer »

T5Luke wrote: Sat Apr 24, 2021 8:08 am Anybody has Dice, CODE and likes to try?
Only tested 1 time on bench and it worked. CEM allows only 100 write cycles so i dont like to do endless tests.

Image

There are some small things i need to fix, if tests work 3 times i will upload here for all...
Hey,

I would like to try, can you send me a PM?

WhizzMan
Posts: 3
Joined: Sun Feb 21, 2021 2:04 am
Year and Model: 2001 XC70
Location: Göteborg
Has thanked: 1 time

Post by WhizzMan »

If voltage is so significant, would it be a good idea to read out the battery voltage before starting so you can at least print a warning that results may not be accurate below X volt? I imagine this will save a ton of questions that people will be posting later on.

User avatar
RickHaleParker  
Posts: 5656
Joined: Mon May 25, 2015 2:30 pm
Year and Model: See Signature below.
Location: Kansas
Has thanked: 4 times
Been thanked: 711 times

Post by RickHaleParker »

Could use some more coders to fork the code, try out some of the other ideas and develop new features.
This is CEM swap not swamp VTL .
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.

User avatar
vtl
Posts: 2335
Joined: Thu Aug 16, 2012 1:35 pm
Year and Model: 2005 XC70
Location: Boston
Has thanked: 9 times
Been thanked: 112 times

Post by vtl »

Yeah, I'm sorry, my free time has evaporated recently. Everyone is welcome to tweak the code and submit improvements, it is opensource.
05 XC70, 16 XC60, 19 Tundra
P1+P2 CEM PIN-code retrieval DIY thread: viewtopic.php?f=10&t=85611

User avatar
RickHaleParker  
Posts: 5656
Joined: Mon May 25, 2015 2:30 pm
Year and Model: See Signature below.
Location: Kansas
Has thanked: 4 times
Been thanked: 711 times

Post by RickHaleParker »

vtl wrote: Mon May 10, 2021 8:16 am Yeah, I'm sorry, my free time has evaporated recently. Everyone is welcome to tweak the code and submit improvements, it is opensource.
I figured that. I have too many pokers in the fire myself.

If I knew Arduino C better I would chip away at some of the other ideas but when it come to Arduino C or any version of C I am just a grasshopper. I contribute what I can. There got to be some C coders that can do way way more then I can.
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.

Post Reply