https://electronics.stackexchange.com/q ... e-for-a-soConstantinos wrote: ↑24 Jan 2023, 14:58 Should I design my own con or should I just use a breadboard?
Vida CEM swapping
-
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
Re: Vida CEM swapping
-
oscilloscope
- Posts: 285
- Joined: 20 May 2022
- Year and Model: 2005
- Location: uk
- Has thanked: 27 times
- Been thanked: 11 times
I have 5 of them pcbs from pcbway. I'm yet to try them out and I have 30 of the recommended transceivers Ric suggested too use.Constantinos wrote: ↑23 Jan 2023, 10:23 Good evening.
I have been for a cheap but effective way to unlock my cem pin through the obd2 port
I found the teensy 4.0 method but I'm having a hard time finding parts.
I found a pcb file which has all the wiring for the pcb as well.
However, I cannot find the bosch cf160 transceivers needed for the job.
Also, in the schematic on github, I can see that some resistors that need installing, but I'm not sure where to install them on the pcb.
The pcb link:
https://www.pcbway.com/project/sharepro ... 037d5.html
The github link: https://github.com/vtl/volvo-cem-cracker
-
oscilloscope
- Posts: 285
- Joined: 20 May 2022
- Year and Model: 2005
- Location: uk
- Has thanked: 27 times
- Been thanked: 11 times
This kvaser cable , how deep can it go? , for instance, key insertion , and synchronization activities?dikidera wrote: ↑23 Jan 2023, 13:49The help file seems to be missing the actual articles outlined before. I have vida installed, but couldn't find these help files in C:/Vida.rkam wrote: ↑23 Jan 2023, 09:57 I believe J2534-2 is an extension to allow communication with more modules.
Here are some sections marked with J2524-2
https://github.com/diamondman/J2534-Pas ... 34_v0404.h
DiCE J2534 help file can also be useful.
J2534.zip
Some history and revisions:
https://www.kvaser.com/developer-blog/s ... on-part-1/
-
rkam
- Posts: 102
- Joined: 19 October 2022
- Year and Model: 14473_96090_XC7007
- Location: Norway
- Has thanked: 5 times
- Been thanked: 25 times
The Kvaser cable itself cannot do anything special.
It all depends on what software you have.
Several professional software applications can use the Kvaser interface, but then again the software might be useless without datafiles.
On Volvo, the DiCE can do mostly the same.
Kvaser is better for datalogging.
It all depends on what software you have.
Several professional software applications can use the Kvaser interface, but then again the software might be useless without datafiles.
On Volvo, the DiCE can do mostly the same.
Kvaser is better for datalogging.
-
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
I have fantastic news.
It all works...Finally. The CAN stuff at least. I could not get VIDA to work because of my socket code. But I managed to dump my maps in as little as 15-19 seconds.
No need for K-line stuff, no "tester present" frames.
I had to put all modules to sleep with FF86, then I could read/write to the ECU with my code.
Most importantly however, when I was done I had to explicitly wake all modules on both BUSes, otherwise the car would not start.
Below is the dump of the maps for BIFUEL CNG, with name of revision or whatever Z7D.
It all works...Finally. The CAN stuff at least. I could not get VIDA to work because of my socket code. But I managed to dump my maps in as little as 15-19 seconds.
No need for K-line stuff, no "tester present" frames.
I had to put all modules to sleep with FF86, then I could read/write to the ECU with my code.
Most importantly however, when I was done I had to explicitly wake all modules on both BUSes, otherwise the car would not start.
Below is the dump of the maps for BIFUEL CNG, with name of revision or whatever Z7D.
- Attachments
-
- dump.zip
- (83.8 KiB) Downloaded 98 times
-
vtl
- Posts: 4724
- Joined: 16 August 2012
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 114 times
- Been thanked: 603 times
Great! Share your code at github. Opensource is what makes us morally light years ahead of those shadow forum readers who use our work for their own profit, but never return anything back to the community.
-
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
I will.
But first. I have to identify how and where the A6 command is handled. At the beginning of my endeavor I was much more optimistic in my reverse engineering of this thing, but one big unintentional hurdle is the design of the architecture or perhaps the space savings of the compiler or both, which produce code which leaves us with little to no xrefs(not xrefs produced by IDA automatically, but those we can infer by simply glancing at the code)
The very fact that the CAN registers(or every single chip peripheral) are accessed in an indirect way is horrifying from where I stand. Just by doing this, it is difficult to interpret what a piece of code is doing because this applies to the whole ECU firmware.
It would have been nice to use JTAG for this, but the JTAG interface is proprietary and the features are undocumented, otherwise I would've hooked my RPI and traced, single stepped and inspected each register individually .
This may still be possible somewhat, but I will verify soon. I just have to furiously type more code.
But first. I have to identify how and where the A6 command is handled. At the beginning of my endeavor I was much more optimistic in my reverse engineering of this thing, but one big unintentional hurdle is the design of the architecture or perhaps the space savings of the compiler or both, which produce code which leaves us with little to no xrefs(not xrefs produced by IDA automatically, but those we can infer by simply glancing at the code)
The very fact that the CAN registers(or every single chip peripheral) are accessed in an indirect way is horrifying from where I stand. Just by doing this, it is difficult to interpret what a piece of code is doing because this applies to the whole ECU firmware.
It would have been nice to use JTAG for this, but the JTAG interface is proprietary and the features are undocumented, otherwise I would've hooked my RPI and traced, single stepped and inspected each register individually .
This may still be possible somewhat, but I will verify soon. I just have to furiously type more code.
-
oscilloscope
- Posts: 285
- Joined: 20 May 2022
- Year and Model: 2005
- Location: uk
- Has thanked: 27 times
- Been thanked: 11 times
I was curious to know if I am able to add to the wiki section. With picture references for cem connection plans , for the cems I encounter ?
It might help folks
Way I ask is I am not massively formilar with github and I don't know its ins and outs. ,
It might help folks
Way I ask is I am not massively formilar with github and I don't know its ins and outs. ,
-
vtl
- Posts: 4724
- Joined: 16 August 2012
- Year and Model: 2005 XC70
- Location: Boston
- Has thanked: 114 times
- Been thanked: 603 times
What's your github name?oscilloscope wrote: ↑28 Jan 2023, 11:46 I was curious to know if I am able to add to the wiki section. With picture references for cem connection plans , for the cems I encounter ?
It might help folks
Way I ask is I am not massively formilar with github and I don't know its ins and outs. ,
-
oscilloscope
- Posts: 285
- Joined: 20 May 2022
- Year and Model: 2005
- Location: uk
- Has thanked: 27 times
- Been thanked: 11 times
Amcelectronicsvtl wrote: ↑28 Jan 2023, 13:53What's your github name?oscilloscope wrote: ↑28 Jan 2023, 11:46 I was curious to know if I am able to add to the wiki section. With picture references for cem connection plans , for the cems I encounter ?
It might help folks
Way I ask is I am not massively formilar with github and I don't know its ins and outs. ,
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1 Replies
- 6431 Views
-
Last post by RickHaleParker
-
- 5 Replies
- 8699 Views
-
Last post by forumoto






