Title: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: elRey 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 » (http://nefariousmotorsports.com/forum/index.php?topic=2802.msg26739#msg26739) - by masterj (http://www.unitronic-chipped.com/imgs/photos/big/unisetting.jpg) 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 Title: Re: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: elRey 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.
Title: Re: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: prj 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. Title: Re: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: elRey on November 21, 2012, 11:32:11 AM not helpful (your answer, not an emulator)
Title: Re: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: prj 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$. Title: Re: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: phila_dot 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 Title: Re: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: phila_dot 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... Title: Re: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: elRey 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.
Title: Re: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: phila_dot 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. Title: Re: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: elRey 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.
Title: Re: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: phila_dot 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. Title: Re: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: prj 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 ;) Title: Re: Exposing some VS_VERST vars to TKMWL (unisettings) func ? Post by: elRey 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 VS_VERST vsrlmx reference: Code: movbs r4, vsrlmx_byte_3808A2 So, this is what I propose.... Hard code the vstrlx reference to 1 (mulu by 1: C2 F4 E6 8A -> C2 F4 FF 00 ???) 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? |