Pages: 1 2 3 [4] 5 6 ... 21
Author Topic: 06A906032HN, Implementation of launch-control and NLS  (Read 227217 times)
sn00k
Sr. Member
****

Karma: +59/-2
Offline Offline

Posts: 277


« Reply #45 on: January 20, 2012, 08:57:26 PM »

wow, i just noticed that i have managed to forget the actual spark-cut function of the LC.. sorries!  Roll Eyes

ive updated the pdf in the first post(page 3) to rev001, which contains an additional adress at line 3 of the function, ive marked it in yellow with "UPDATE!!".. damn these pdfs are not easy to edit.. now it changed my font and everything.. but you can still read it, ill clean it up once we know this works.

thanks Nosbeui for bringing this to my attention!  Smiley

argdub: ill try to complete my new routine and then release it with info on the additional functions and how to implement it.. and yes, you are very correct in that we do need to reduce air charge to control this  Wink
« Last Edit: January 20, 2012, 09:04:50 PM by sn00k » Logged
sn00k
Sr. Member
****

Karma: +59/-2
Offline Offline

Posts: 277


« Reply #46 on: January 20, 2012, 09:14:21 PM »

is it too much to ask the original file plus the original with nls and flat shift? It should be more helpful this way.

well, i implemented this to my own stage 1 tune right away, so id have to add it to the original HN-file first.. but its right there in the thread where setzi posted the v2 function for the M-box, just compare that file to a std M-box .bin and you can see all the changes made  Smiley

Logged
Nosbeui
Newbie
*

Karma: +16/-2
Offline Offline

Posts: 19


« Reply #47 on: January 20, 2012, 11:10:31 PM »

Success!! Well mostly... 4B0906018P 400bb 2000 Audi A4 1.8t Manual.  Thanks to sn00k's kind help the launch control works perfectly at low  throttle positions.  However at higher throttle position engine RPM continues to rise beyond the limiter.  Should I be looking at lengthening the ignition cut duration?

I'm also all for a less aggressive launch control routine that utilizes some throttle cut.  Looking forward to that being written.
Logged
setzi62
Full Member
***

Karma: +142/-0
Offline Offline

Posts: 249


« Reply #48 on: January 21, 2012, 12:26:48 AM »

Success!! Well mostly... 4B0906018P 400bb 2000 Audi A4 1.8t Manual.  Thanks to sn00k's kind help the launch control works perfectly at low  throttle positions.  However at higher throttle position engine RPM continues to rise beyond the limiter.  Should I be looking at lengthening the ignition cut duration?

No!!! You should not lengthen the ignition cut duration!

Log your battery voltage (ub) with ME7Logger while you perform the ignition cut and you will see that
it drops heavily due to very high current in the ignition driver stage.
Your ECU does not support the simple hack to set closing time to zero - this could blow some fuse
or even burn your coilpacks I asume.
Logged
sn00k
Sr. Member
****

Karma: +59/-2
Offline Offline

Posts: 277


« Reply #49 on: January 21, 2012, 06:16:03 AM »

it shouldnt rise that far past the limiter.. but the explosions in the exhaust should be stronger and less frequent at higher throttle.. as said, not sure that the 400BB ecus have the new IGN-driver needed for this.. strange that it seem to work at lower throttle positions tho..?

setzi, you know if there is a good way to tell if an ECU have the later "compatible" IGN-driver?



the ignition cut duration is for the NLS and not the LC.
Logged
kenmac
Full Member
***

Karma: +6/-0
Offline Offline

Posts: 161


« Reply #50 on: January 21, 2012, 11:53:21 PM »

I assume by implementing this, one should get rid of the "rudimentary" launch control method documented on the s4wiki.  I'd imagine they can't coexist.

http://s4wiki.com/wiki/Tuning#Launch_control
Logged
kenmac
Full Member
***

Karma: +6/-0
Offline Offline

Posts: 161


« Reply #51 on: January 22, 2012, 02:03:27 AM »

sn00k, first let me thank you for an extremely easy to follow guide.  There is one step that has confused me.  In step 6, you advise the reader to consider the address mapping to 8xxx as we've seen in other 0x38xxxx addresses.  The address in the example, 0x384FF0, you would expect to receive this treatment, where you add 8 to the first digit in 4FF0.  This would normally give you CFF0, wouldn't it?  But your end result just switches the two bits around from 4FF0 to "F0 4F".  So was this address actually mapped?

Line 6, here we find the NLScounter, which setzi originally placed at 0x384FF0 in the RAM, remember? you should allready have found a free adress for this earlier looking into your .ecu file, so go ahead and alter this one located at bit 7-8, in form of "F0 4F" which in reverse becomes 4FF0.. remember the above about these 0x38xxxx adresses becoming remapped as 8xxx, keep this in mind! line 6 done.
Logged
sn00k
Sr. Member
****

Karma: +59/-2
Offline Offline

Posts: 277


« Reply #52 on: January 22, 2012, 04:35:53 AM »

ah, in the code there is a pointer to the RAM, 0x38 at that place, so you would really just use the 4FF0 for adress 0x384FF0.

"exts    #38h, #1"

i need to change that so ppl dont get confused, ty for noticing this Smiley


regarding the other form of LC, yes, actually they can co-exist, i earlier used this "rudimentary" LC for some experiments in where to place the fuel-cut, and throttle control, so it can be used simultaneously, BUT, it needs to be properly calibrated to this spark-cut.
ie setting the rudimentary to 4500rpm(throttle controlled), and then fuel-cut 50 rpms over this, and now this new spark-cut to 4300-4500..
ive found 4300 gives huge "explosions" in the exhaust and builds a TON of boost, but not very controlled.. whilst closing in on 4500 this gives a milder LC, but doesnt build as much boost.. still WAY more then the "rudimentary" LC.
4435-4445 seem to build boost very nicely, and shooting a constant blue flame out the exhaust.. it is very agressive, as in many small explosions.. 4500rpm was just an example, any value can be set.. so basically this is how i calibrated the new routine i wrote.


« Last Edit: January 22, 2012, 05:13:23 AM by sn00k » Logged
sn00k
Sr. Member
****

Karma: +59/-2
Offline Offline

Posts: 277


« Reply #53 on: January 22, 2012, 05:11:31 AM »

Updated the pdf in the first post(page 3) to rev002, with changes made to the text regarding line 6 in the function: as there is a pointer to the RAM, 0x380000, in the code here, the NLS-counter is not remapped according to previous "rules".
Logged
kenmac
Full Member
***

Karma: +6/-0
Offline Offline

Posts: 161


« Reply #54 on: January 22, 2012, 11:30:55 PM »

Success!  Couldn't have done it without your PDF.  Thanks again.  I just forgot to update my checksums, so now I'm dealing with a bricked ECU that I need to put on the bench.  But the first run before it bricked was a lot of fun!  Should be back in action tomorrow.
Logged
sn00k
Sr. Member
****

Karma: +59/-2
Offline Offline

Posts: 277


« Reply #55 on: January 23, 2012, 04:48:41 AM »

nice! you mind sharing here which car, modelyear and ecu code you managed this on?  Grin
Logged
rob.mwpropane
Sr. Member
****

Karma: +32/-0
Offline Offline

Posts: 370


WWW
« Reply #56 on: January 23, 2012, 06:42:25 AM »

I really enjoyed the write up. Pretty easy to follow, and written so someone who has no knowledge of assembling code can get the idea. I've posted a file that has what I've worked out. I'm pretty confident that it is correct, but if someone has time to have a look I'd appreciate it. I have not implemented this on my car yet, but hope to if things are validated. Thanks sN00k, really great job!!

Edit: Added a bin file with the code implemented, it has NOT been tested on a real car! This is for a 2001 Audi A4 1.8tqm.

Edit2: File has been fixed upon sn00k pointing out 2 errors on my behalf. Thanks sn00k!! File SHOULD be good to go. Just set FTOMN to 0.
« Last Edit: January 23, 2012, 04:44:53 PM by rob.mwpropane » Logged

This has nothing to do with cars but you can see my glorifying job at,

www.MWPropane.com
kenmac
Full Member
***

Karma: +6/-0
Offline Offline

Posts: 161


« Reply #57 on: January 23, 2012, 07:09:58 AM »

nice! you mind sharing here which car, modelyear and ecu code you managed this on?  Grin

Sure, here's my scratchpad.  Currently trying different launch RPMs, but it is LOUD.  Also, one time I disappeared in a black cloud of smoke from the exhaust. Tongue

Code:
Implementation of NLS & LC Function 
 on 06A906032PL - 2003 VW 1.8T GTI (20th anniversary)
------------------------------------------------------

Function Location: B3000
Variables: 17E00

RAM Variables:
-------------
tsrldyn         0x380BE0    0BE0 -> 8BE0 -> E0 8B
B_kuppl         0x00FD4C.7  4C -> 26
vfil_w 0x381C6C    1C6C -> 9C6C -> 6C 9C
nmot_w 0x00F8A4
wped 0x3809BC    09BC -> 89BC -> BC 89
B_brems 0x00FD4C.5
counter_NoLiftShift: 0x384FF0


Function Parameters:
-------------------
SpeedThreshold: 0x17E00 size 2, 16bit LSB
LaunchRPM: 0x17E02 size 2, 16bit LSB
IgnitionCutDuration: 0x17E04 size 2, 16bit LSB
RPMThreshold: 0x17E06 size 2, 16bit LSB
AccPedalThreshold: 0x17E08 size 1, 8bit LSB

Revised Function:
----------------
9A 26 13 70 F2 F4 6C 9C D7 00 81 00 F2 F9 00 7E
40 49 9D 0B F2 F4 A4 F8 D7 00 81 00 F2 F9 02 7E
40 49 FD 03 F7 8E E0 8B 0D 2F 9A 26 29 70 8A 26
22 50 F2 F4 A4 F8 D7 00 81 00 F2 F9 06 7E 40 49
FD 1A C2 F4 02 8B D7 00 81 00 C2 F9 08 7E 40 49
FD 12 D7 00 38 00 F2 F4 F0 4F D7 00 81 00 F2 F9
04 7E 40 49 9D 11 F7 8E E0 8B 08 41 D7 00 38 00
F7 F8 F0 4F 0D 09 D7 00 38 00 F6 8F F0 4F 0D 04
D7 00 38 00 F6 8E F0 4F F3 F8 A8 89 DB 00 FF FF
« Last Edit: January 23, 2012, 07:12:18 AM by kenmac » Logged
professor
Sr. Member
****

Karma: +25/-0
Offline Offline

Posts: 409



« Reply #58 on: January 23, 2012, 10:27:24 AM »

Sure, here's my scratchpad.  Currently trying different launch RPMs, but it is LOUD.  Also, one time I disappeared in a black cloud of smoke from the exhaust. Tongue

Code:
Implementation of NLS & LC Function 
 on 06A906032PL - 2003 VW 1.8T GTI (20th anniversary)
------------------------------------------------------

Function Location: B3000
Variables: 17E00

RAM Variables:
-------------
tsrldyn         0x380BE0    0BE0 -> 8BE0 -> E0 8B
B_kuppl         0x00FD4C.7  4C -> 26
vfil_w 0x381C6C    1C6C -> 9C6C -> 6C 9C
nmot_w 0x00F8A4
wped 0x3809BC    09BC -> 89BC -> BC 89
B_brems 0x00FD4C.5
counter_NoLiftShift: 0x384FF0


Function Parameters:
-------------------
SpeedThreshold: 0x17E00 size 2, 16bit LSB
LaunchRPM: 0x17E02 size 2, 16bit LSB
IgnitionCutDuration: 0x17E04 size 2, 16bit LSB
RPMThreshold: 0x17E06 size 2, 16bit LSB
AccPedalThreshold: 0x17E08 size 1, 8bit LSB

Revised Function:
----------------
9A 26 13 70 F2 F4 6C 9C D7 00 81 00 F2 F9 00 7E
40 49 9D 0B F2 F4 A4 F8 D7 00 81 00 F2 F9 02 7E
40 49 FD 03 F7 8E E0 8B 0D 2F 9A 26 29 70 8A 26
22 50 F2 F4 A4 F8 D7 00 81 00 F2 F9 06 7E 40 49
FD 1A C2 F4 02 8B D7 00 81 00 C2 F9 08 7E 40 49
FD 12 D7 00 38 00 F2 F4 F0 4F D7 00 81 00 F2 F9
04 7E 40 49 9D 11 F7 8E E0 8B 08 41 D7 00 38 00
F7 F8 F0 4F 0D 09 D7 00 38 00 F6 8F F0 4F 0D 04
D7 00 38 00 F6 8E F0 4F F3 F8 A8 89 DB 00 FF FF

I think this code isnt correct at line 5.


Line 5:  FD 1A C2 F4 02 8B D7 00 81 00 C2 F9 08 7E 40 49

should be

Line 5:  FD 1A C2 F4 BC 89 D7 00 81 00 C2 F9 08 7E 40 49
Logged

Seat Ibiza MK4 Cupra 1.8t 20V, stg3.
"Those 1.8T 20V machines are really tough" ©
sn00k
Sr. Member
****

Karma: +59/-2
Offline Offline

Posts: 277


« Reply #59 on: January 23, 2012, 10:42:23 AM »

professor: thats right, so his NLS should not be seeing the WPED, the signal from the accelerator pedal position.. fix it! ..or you will be grinding gears the first time you try to WOT-shift.. and thats not a nice experience..  Grin
Logged
Pages: 1 2 3 [4] 5 6 ... 21
  Print  
 
Jump to:  

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