Pages: [1]
Author Topic: Exposing some VS_VERST vars to TKMWL (unisettings) func ?  (Read 12289 times)
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« on: November 21, 2012, 11:19:46 AM »

Could we substitue one or more of the less used channels/variable in TKMWL (unisettings) with some more useful variables from VS_VERST?

i.e.
make the unisettings channel 11 (unused) to adjust VS_VERST 16: vsrlmx or 17: vsldtv ?


Use VCDS with UNISETTINGS functionality« on: November 07, 2012, 05:36:04 AM » - by masterj



maybe as simple as repointing where vsrlmx is reference in LDRLMX to location of vstrlx and then addressing where vstrlx was originally referenced from.

Thanks,
Rey
Logged
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #1 on: November 21, 2012, 11:22:01 AM »

I'm more insterested in exposing vsldtv for fine tuning KFLDRL without having to flash every time I change duty to log.
Logged
prj
Hero Member
*****

Karma: +1072/-480
Offline Offline

Posts: 6034


« Reply #2 on: November 21, 2012, 11:24:21 AM »

I'm more insterested in exposing vsldtv for fine tuning KFLDRL without having to flash every time I change duty to log.

With ME7 just get a real time emu and be done with it.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #3 on: November 21, 2012, 11:32:11 AM »

not helpful (your answer, not an emulator)
Logged
prj
Hero Member
*****

Karma: +1072/-480
Offline Offline

Posts: 6034


« Reply #4 on: November 21, 2012, 12:10:17 PM »

Well your other option is to modify code to read or write that value from EEPROM or RAM and after that write the EEPROM or RAM over diagnostics.

Worth it? Hardly when you can get an emulator for 500$.
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
phila_dot
Hero Member
*****

Karma: +173/-11
Offline Offline

Posts: 1709


« Reply #5 on: November 21, 2012, 12:18:43 PM »

I don't think that this is something the can be hacked together, but I'm curious enough to take a look.

I created the thread below a while back and have briefly looked into getting the calibration interface working. I think that writing a program for this purpose is the best solution.

http://nefariousmotorsports.com/forum/index.php?topic=1145.0

Logged
phila_dot
Hero Member
*****

Karma: +173/-11
Offline Offline

Posts: 1709


« Reply #6 on: November 21, 2012, 12:20:21 PM »

Well your other option is to modify code to read or write that value from EEPROM or RAM and after that write the EEPROM or RAM over diagnostics.

Worth it? Hardly when you can get an emulator for 500$.

Or get the calibration interface working...
Logged
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #7 on: November 21, 2012, 12:27:51 PM »

In LDRLMX rlmax_w is offset by vsrlmx (VS_VERST). It can't be that hard to replace the reference there to vsrlmx to another location... say location of channel 11 of TKMWL.
Logged
phila_dot
Hero Member
*****

Karma: +173/-11
Offline Offline

Posts: 1709


« Reply #8 on: November 21, 2012, 01:05:08 PM »

In LDRLMX rlmax_w is offset by vsrlmx (VS_VERST). It can't be that hard to replace the reference there to vsrlmx to another location... say location of channel 11 of TKMWL.

You are assuming that channel 11 or whatever will have the same characteristics as vsrlmx.
Logged
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #9 on: November 21, 2012, 01:35:36 PM »

Very true. But at least it's a possibility until proven not to be. Just trying to get some gears turning.
Logged
phila_dot
Hero Member
*****

Karma: +173/-11
Offline Offline

Posts: 1709


« Reply #10 on: November 21, 2012, 01:49:08 PM »

Very true. But at least it's a possibility until proven not to be. Just trying to get some gears turning.

Always good to be thinking outside the box.

I'll take a quick peek next chance I get.
Logged
prj
Hero Member
*****

Karma: +1072/-480
Offline Offline

Posts: 6034


« Reply #11 on: November 21, 2012, 04:08:58 PM »

And what happens if you want to modify something else?
Go in asm code, and again search for this stuff and modify it?

I mean, I understand doing this on an ECU which does not have real time emulation available.
But on ME7? Even if you work on your car only, you are going to save so much time...

This is the reason for my "not helpful" comment Wink
Logged

PM's will not be answered, so don't even try.
Log your car properly - WinOLS database - Tools/patches
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #12 on: November 23, 2012, 10:21:48 AM »

(address references from the old Audi TT def)

TKMWL channel 12
12: vstrlx_byte_380AE6 - 0xFF

var reference:
Code:
movbz   r4, vstrlx_byte_380AE6
C2 F4 E6 8A
mulu    r4, r9

VS_VERST vsrlmx reference:
Code:
movbs   r4, vsrlmx_byte_3808A2
D2 F4 A2 88
shl     r4, #5
add     r4, r7

So, this is what I propose.... Hard code the vstrlx reference to 1 (mulu by 1: C2 F4 E6 8A -> C2 F4 FF 00 Huh)
and repoint the vsrlmx reference to vstrlx_byte_380AE6 (D2 F4 A2 88 -> D2 F4 E6 8A)

So, I'm adding vstrlx to rlmax instead of mulu. That will allow the ability to increase rlmax from unisetting/vagcom not just scale down.

Thoughts?
« Last Edit: November 23, 2012, 10:24:36 AM by elRey » Logged
Pages: [1]
  Print  
 
Jump to:  

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