Pages: 1 [2]
Author Topic: MED9.1 Create your own Measuring Blocks and log RAM locations with VCDS  (Read 11633 times)
Tatan974
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 19


« Reply #15 on: September 22, 2015, 08:36:39 AM »

.
« Last Edit: September 22, 2015, 08:53:38 AM by Tatan974 » Logged
AleS3
Newbie
*

Karma: +1/-1
Offline Offline

Posts: 22



Hi guys,
thanks to Basano that made wonderful guides about MED9 disassembling i started playing with IDA and managed to add measuring blocks with VCDS....BUT i can't log and see then cause i have the encrypted .CLB label file and i don't manage to read and update the label file....
How can i sort it out??...i tried to convert the file with SVCdec.exe but it doesn't work Sad
I attach the label file, the car is an S3 with CDLA engine...
Logged
AleS3
Newbie
*

Karma: +1/-1
Offline Offline

Posts: 22



Solved with converted file...
Logged
dream3R
Hero Member
*****

Karma: +14/-6
Offline Offline

Posts: 1202



how did you convert it?  You're generally expected to share here matey Smiley   

edit: Ah it's me7 from the code lol
« Last Edit: May 02, 2016, 06:17:26 PM by dream3R » Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
AleS3
Newbie
*

Karma: +1/-1
Offline Offline

Posts: 22



how did you convert it?  You're generally expected to share here matey Smiley  

edit: Ah it's me7 from the code lol
You are right mate, i thought nobody care about it.
I found a lbl converted file database on web, i deleted the old .clb from label folder and replaced with the edited .lbl and it works well!
Next step will be try to switch map without reflashing..
Logged
dream3R
Hero Member
*****

Karma: +14/-6
Offline Offline

Posts: 1202



least the set of labels on UDS cars are given if asked LOL
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
przemek4net
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


« Reply #21 on: January 19, 2018, 05:08:42 AM »

Hi,
I start to play with IDA and I get such problem.
As pattern I used “procedure” for RPM reading (in my case variable in the 2nd table “1” / 2nd position in this table)
This “procedure” reads RPM, store in R5, call “43960” (which store r3, r4, r5 in some place in memory – probably used in communication ECU -> OBD -> VCDS)
So I wanted to make some “counter” based on some place in memory like:
-   Read memory to the register r5
-   Add +1 (delta)
-   Store r5 in the memory
Like 0,1,2…. 245, 255, 0,1…255 (*40 factor)
That is my code

But… when I use this code (also with delta 0!) – I get “error group not available”
When I change instruction stb to lbz (instead of write - read again – just to keep order/addresses of instructions and avoid playing with offset for b instruction)… it works fine (value in memory 129 => 5180 rpm; 130 -> 5200 rpm – factor seems to be 40)
2nd problem: in Winols my memory cell is at 1C708 … that is the beginning of bin /probably some code Cheesy/… I would like to have it for example at 1CC708 – could y help me with calculation “offset” for b instruction?


Why it crash when I process stb (with the same value as original – in r3 is 0)  - because it is logical part ROM and processor protect writing of this part of memory???
Soft 8E0907115C
0261S02145
387403
Ecu without the car (vcds connected on bench)... I suppose it is 2.0tfsi (bought for playing)
Logged
jezTT
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 17


« Reply #22 on: March 23, 2018, 10:49:04 AM »

I created a spreadsheet that allows custom tables of measuring blocks specific from a binary, and thought I'd share it as a small thanks for the information in this thread.

I spent many hours going about things the wrong way to try and define my measuring blocks, and made this spreadsheet after I figured out an accurate way to go about it. Hopefully others will get some use out of it and it saves some headaches  Cheesy

It's for Med9 but is fully editable, so may be able to be adapted for use with other ecus.

v1.1 - Tidied sheets up, clarified instructions.
« Last Edit: March 25, 2018, 03:57:43 AM by jezTT » Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.018 seconds with 17 queries. (Pretty URLs adds 0.001s, 0q)