Notices
EcuFlash

94170015 MAP to MAF Patch:

 
Old Feb 2, 2009, 05:07 AM
  #106  
Evolving Member
Thread Starter
iTrader: (7)
 
evoredy's Avatar
 
Join Date: Apr 2008
Location: San Jose, CA
Posts: 341
Received 2 Likes on 1 Post
aha. interesting.

for ref to all, here's whats replaced in the evo8 renditions/maybe i'll apply the naming scheme to them. i have not included some minor data/locaition areas on both code posts. they can be found/compared easily:

Code:
ROM:000112DC ; =============== S U B R O U T I N E =======================================
ROM:000112DC
ROM:000112DC
ROM:000112DC sub_112DC:                              ; CODE XREF: sub_112AA+6p
ROM:000112DC                 sts.l   pr, @-r15
ROM:000112DE                 mov.l   r14, @-r15
ROM:000112E0                 mov     r15, r14
ROM:000112E2                 mov.l   r1, @-r15
ROM:000112E4                 mov.l   r2, @-r15
ROM:000112E6                 mov.l   r8, @-r15
ROM:000112E8                 mov.l   @(h'CC,pc), r4 ; [000113B8] = off_63D0
ROM:000112EA                 mov.l   @(h'C8,pc), r10 ; [000113B4] = sub_CC6
ROM:000112EC                 jsr     @r10 ; sub_CC6
ROM:000112EE                 nop
ROM:000112F0                 mov.l   @(h'BC,pc), r0 ; [000113B0] = unk_FFFF8890
ROM:000112F2                 mov.w   @r0, r0
ROM:000112F4                 tst     #h'20, r0
ROM:000112F6                 bt      loc_112FE
ROM:000112F8                 mov.l   @(h'C0,pc), r4 ; [000113BC] = off_7914
ROM:000112FA                 bra     loc_11300
ROM:000112FC                 nop
ROM:000112FE ; ---------------------------------------------------------------------------
ROM:000112FE
ROM:000112FE loc_112FE:                              ; CODE XREF: sub_112DC+1Aj
ROM:000112FE                 mov.l   @(h'C0,pc), r4 ; [000113C0] = off_7914
ROM:00011300
ROM:00011300 loc_11300:                              ; CODE XREF: sub_112DC+1Ej
ROM:00011300                 mov.l   @(h'C0,pc), r10 ; [000113C4] = sub_DE0
ROM:00011302                 jsr     @r10 ; sub_DE0
ROM:00011304                 nop
ROM:00011306                 extu.w  r0, r1
ROM:00011308                 mov.l   @(h'BC,pc), r4 ; [000113C8] = unk_339C
ROM:0001130A                 mov.l   @(h'C0,pc), r10 ; [000113CC] = sub_C28
ROM:0001130C                 jsr     @r10 ; sub_C28
ROM:0001130E                 nop
ROM:00011310                 mov     r0, r2
ROM:00011312                 mov.l   @(h'BC,pc), r4 ; [000113D0] = unk_338E
ROM:00011314                 mov.l   @(h'B4,pc), r10 ; [000113CC] = sub_C28
ROM:00011316                 jsr     @r10 ; sub_C28
ROM:00011318                 nop
ROM:0001131A                 mulu    r0, r2
ROM:0001131C                 sts     macl, r8
ROM:0001131E                 mov     r1, r4
ROM:00011320                 mov.l   @(h'B0,pc), r10 ; [000113D4] = sub_22E56
ROM:00011322                 jsr     @r10 ; sub_22E56
ROM:00011324                 nop
ROM:00011326                 extu.w  r0, r4
ROM:00011328                 mov     r8, r5
ROM:0001132A                 mov.w   @(h'3C,pc), r6 ; [0001136A] = h'4000
ROM:0001132C                 mov.l   @(h'A8,pc), r10 ; [000113D8] = sub_68A
ROM:0001132E                 jsr     @r10 ; sub_68A
ROM:00011330                 nop
ROM:00011332                 extu.w  r0, r4
ROM:00011334                 mov.l   @(h'A4,pc), r10 ; [000113DC] = sub_590
ROM:00011336                 jsr     @r10 ; sub_590
ROM:00011338                 nop
ROM:0001133A                 shll2   r0
ROM:0001133C                 shll    r0
ROM:0001133E                 mov.l   @(h'2AC,pc), r10 ; [000115EC] = unk_FFFF898C
ROM:00011340                 mov.w   r0, @r10
ROM:00011342                 mov.l   @(h'9C,pc), r10 ; [000113E0] = unk_FFFF8A90
ROM:00011344                 mov.w   @r10, r10
ROM:00011346                 extu.w  r10, r10
ROM:00011348                 mov.l   @(h'2A0,pc), r4 ; [000115EC] = unk_FFFF898C
ROM:0001134A                 mov.w   @r4, r4
ROM:0001134C                 extu.w  r4, r4
ROM:0001134E                 mov     r10, r5
ROM:00011350                 mov.l   @(h'90,pc), r10 ; [000113E4] = sub_762
ROM:00011352                 jsr     @r10 ; sub_762
ROM:00011354                 nop
ROM:00011356                 mov.l   @(h'288,pc), r11 ; [000115E0] = unk_FFFF8990
ROM:00011358                 mov.w   r0, @r11
ROM:0001135A                 mov.l   @r15+, r8
ROM:0001135C                 mov.l   @r15+, r2
ROM:0001135E                 mov.l   @r15+, r1
ROM:00011360                 mov.l   @r15+, r14
ROM:00011362                 lds.l   @r15+, pr
ROM:00011364                 rts
ROM:00011366                 nop
ROM:00011366 ; End of function sub_112DC
EDIT: yeah maflong's one of the reasons i took a break lol. that and longsub

EDIT2/so i don't keep bumping: i think i found the general area in the 015's maflong routine/still needs more labeling for normal people lol.

Code:
ROM:00026578 ; ---------------------------------------------------------------------------
ROM:00026578
ROM:00026578 cmp:                                    ; CODE XREF: maflong+2DCj
ROM:00026578                 mov.l   @(h'C,pc), r10 ; [00026588] = mafsource_main
ROM:0002657A                 mov.w   @r10, r10
ROM:0002657C                 mov.l   @(h'25C,pc), r11 ; [000267DC] = mafsource1
ROM:0002657E                 mov.w   @r11, r11
ROM:00026580                 cmp/hi  r11, r10
ROM:00026582                 bf      loc_26594
ROM:00026584                 bra     loc_2658C
ROM:00026586                 nop
ROM:00026586 ; ---------------------------------------------------------------------------
ROM:00026588 off_26588:      .data.l mafsource_main  ; DATA XREF: maflong+B2r
ROM:00026588                                         ; maflong+1C4r ...
ROM:0002658C ; ---------------------------------------------------------------------------
ROM:0002658C
ROM:0002658C loc_2658C:                              ; CODE XREF: maflong+2DAj
ROM:0002658C                                         ; maflong+2FEj
ROM:0002658C                 mov.l   @(h'24C,pc), r10 ; [000267DC] = mafsource1
ROM:0002658E                 mov.w   @r10, r10
ROM:00026590                 mov.l   @(h'258,pc), r11 ; [000267EC] = mafsource_main
ROM:00026592                 mov.w   r10, @r11
ROM:00026594
ROM:00026594 loc_26594:                              ; CODE XREF: maflong+2FCj
ROM:00026594                 mov.l   @(h'248,pc), r0 ; [000267E0] = unk_FFFF8A4C
ROM:00026596                 mov.w   @r0, r0
ROM:00026598                 tst     #1, r0
ROM:0002659A                 bf      loc_265A8
ROM:0002659C                 mov.l   @(h'25C,pc), r10 ; [000267FC] = unk_FFFF8998
ROM:0002659E                 mov.w   @r10, r10
ROM:000265A0                 mov.l   @(h'240,pc), r11 ; [000267E4] = mafs1xmafmult
ROM:000265A2                 mov.w   @r11, r11
ROM:000265A4                 cmp/hi  r11, r10
ROM:000265A6                 bf      loc_265B0
ROM:000265A8
ROM:000265A8 loc_265A8:                              ; CODE XREF: maflong+314j
ROM:000265A8                 mov.l   @(h'238,pc), r10 ; [000267E4] = mafs1xmafmult
ROM:000265AA                 mov.w   @r10, r10
ROM:000265AC                 mov.l   @(h'24C,pc), r11 ; [000267FC] = unk_FFFF8998
ROM:000265AE                 mov.w   r10, @r11
ROM:000265B0
ROM:000265B0 loc_265B0:                              ; CODE XREF: maflong+320j
ROM:000265B0                 mov.l   @(h'238,pc), r10 ; [000267EC] = mafsource_main
ROM:000265B2                 mov.w   @r10, r10
ROM:000265B4                 mov.l   @(h'238,pc), r11 ; [000267F0] = unk_FFFF898A
ROM:000265B6                 mov.w   @r11, r11
ROM:000265B8                 cmp/hs  r11, r10
ROM:000265BA                 bf      loc_265DE
ROM:000265BC                 mov.l   @(h'22C,pc), r13 ; [000267EC] = mafsource_main
ROM:000265BE                 mov.w   @r13, r13
ROM:000265C0                 mov.l   @(h'22C,pc), r10 ; [000267F0] = unk_FFFF898A
ROM:000265C2                 mov.w   @r10, r10
ROM:000265C4                 sub     r10, r13
ROM:000265C6                 extu.w  r13, r13
ROM:000265C8                 mov.l   @(h'21C,pc), r10 ; [000267E8] = unk_FFFF899E
ROM:000265CA                 mov.w   @r10, r10
ROM:000265CC                 extu.w  r10, r10
ROM:000265CE                 cmp/hs  r13, r10
ROM:000265D0                 bf      loc_265D6
ROM:000265D2                 bra     loc_265FC
ROM:000265D4                 nop
ROM:000265D6 ; ---------------------------------------------------------------------------
ROM:000265D6
ROM:000265D6 loc_265D6:                              ; CODE XREF: maflong+34Aj
ROM:000265D6                 mov.l   @(h'210,pc), r10 ; [000267E8] = unk_FFFF899E
ROM:000265D8                 mov.w   r13, @r10
ROM:000265DA                 bra     loc_265FC
ROM:000265DC                 nop
ROM:000265DE ; ---------------------------------------------------------------------------
ROM:000265DE
ROM:000265DE loc_265DE:                              ; CODE XREF: maflong+334j
ROM:000265DE                 mov.l   @(h'210,pc), r13 ; [000267F0] = unk_FFFF898A
ROM:000265E0                 mov.w   @r13, r13
ROM:000265E2                 mov.l   @(h'208,pc), r10 ; [000267EC] = mafsource_main
ROM:000265E4                 mov.w   @r10, r10
ROM:000265E6                 sub     r10, r13
ROM:000265E8                 extu.w  r13, r13
ROM:000265EA                 mov.l   @(h'208,pc), r10 ; [000267F4] = unk_FFFF89A2
ROM:000265EC                 mov.w   @r10, r10
ROM:000265EE                 extu.w  r10, r10
ROM:000265F0                 cmp/hs  r13, r10
ROM:000265F2                 bf      loc_265F8
ROM:000265F4                 bra     loc_265FC
ROM:000265F6                 nop
ROM:000265F8 ; ---------------------------------------------------------------------------
ROM:000265F8
ROM:000265F8 loc_265F8:                              ; CODE XREF: maflong+36Cj
ROM:000265F8                 mov.l   @(h'1F8,pc), r10 ; [000267F4] = unk_FFFF89A2
ROM:000265FA                 mov.w   r13, @r10
ROM:000265FC
ROM:000265FC loc_265FC:                              ; CODE XREF: maflong+34Cj
ROM:000265FC                                         ; maflong+354j ...
ROM:000265FC                 mov.l   @(h'1FC,pc), r2 ; [000267FC] = unk_FFFF8998
ROM:000265FE                 mov.w   @r2, r2
ROM:00026600                 mov.l   @(h'1F4,pc), r8 ; [000267F8] = unk_FFFF899A
ROM:00026602                 mov.w   @r8, r8
ROM:00026604                 extu.w  r8, r8
ROM:00026606                 extu.w  r2, r2
ROM:00026608                 cmp/hs  r8, r2
ROM:0002660A                 bf      loc_26614
ROM:0002660C                 mov     r2, r13
ROM:0002660E                 sub     r8, r13
ROM:00026610                 bra     loc_26618
ROM:00026612                 nop

Last edited by evoredy; Feb 2, 2009 at 05:49 AM.
evoredy is offline  
Old Feb 2, 2009, 08:08 PM
  #107  
Evolved Member
iTrader: (22)
 
Appauldd's Avatar
 
Join Date: Nov 2003
Location: Northern KY near Cincy
Posts: 2,408
Likes: 0
Received 3 Likes on 3 Posts
????

So how can us commoners use the code?

I have played with the patch listed earlier until I am blue in the face. I cannot, for the life of me, ge my car to stop rich stalls at a roll to stop. GRRRRR.
Appauldd is offline  
Old Feb 3, 2009, 03:38 AM
  #108  
Evolved Member
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 4 Likes on 3 Posts
The code discussion is about converting to full SD.

If the MAF limiting patch has been applied correctly to your ROM, then I think it must be a setup issue as it should work. This is not a criticism, I know how many hours of frustration it can take playing with these things. I think a lot of the problem is that you're trying to tune a secondary airflow calculation which is only used in certain circumstances, and this is always tricky. I think on cars like this a blow through MAF or full SD conversion would be the way to go, hopefully soon this will be possible.
jcsbanks is offline  
Old Feb 4, 2009, 07:54 AM
  #109  
Evolved Member
iTrader: (22)
 
Appauldd's Avatar
 
Join Date: Nov 2003
Location: Northern KY near Cincy
Posts: 2,408
Likes: 0
Received 3 Likes on 3 Posts
I cannot get the car to stop running RICH (10.6 to 11.8) at a roll to stop. I removed the MAP to MAF patch to ensure my fuel trims are set cottectly, of which they are (all less than +/- 3). Then, I re-installed the patch and still rich. The patch also makes my fuel trims adjust constantly.

The car will start and idle perfectlywith 14.7 AFR when cold. It isn't until i get rolling that the issue occurs.

I am only trying to use the patch to keep the car from stalling because of FP Green, big cams (revolvers) and an HKS intake pipe with a K&N small cone filter. Basically my car is modded to the hilt.

I tried increasing the resolution of the idle stabily control sensitivity to 138. The car does recover a bit quicker than before but still runs rich on a roll to stop.

I set the MAP to MAF VE RPM to look exactly like lean spool RPM values. This was done becasue, as i noted earlier, changing the VE RPM values also changes the Lean Spool RPM values.

I then set a max of 255 in every cell extept the 500 and 1000 RPM. I have 500 set to 0 and 1000 set to 127 (1/2 of 255).

Another thing I tried is to raise the MAP to MAF offset to 140, then 150, then 175. These seemed to help each time I raised it as the logged MAP Emulated MAF values were closer to the MAF Hz.

The car pulls great once moving, though I did notice it is a tad richer than without the patch. Funny thing is the O2 values read by my Zt2 are nearly identical to my fuel map settings with the patch installed.

I also noticed that when I leave the car in gear and let the engine slow the car, the O2 does not cut to 21 AFR like without the patch. It is like the car is trying to maintain 14.7 cruise AFR. After a bit of time it will eventually go to 21 AFR. The patch could also be messing with the
Decel Fuel Cut Delay.

I have my EGR blocked and disabled. I also have lean spool disabled, both through periphery. Might this be causing a bit of an issue?
Appauldd is offline  
Old Feb 4, 2009, 10:02 AM
  #110  
Evolved Member
iTrader: (38)
 
gsrboi80's Avatar
 
Join Date: Aug 2005
Location: On a cliff
Posts: 7,811
Received 21 Likes on 21 Posts
I notice the little rich AFR rolling to a stop as well then goes full lean idle 16.00 max lean on my wideband. It'll try to correct but it like to go full lean

My Decel fuel cut seems to be ok. WOT pulls are spot on
gsrboi80 is offline  
Old Feb 5, 2009, 09:26 PM
  #111  
Evolved Member
iTrader: (22)
 
Appauldd's Avatar
 
Join Date: Nov 2003
Location: Northern KY near Cincy
Posts: 2,408
Likes: 0
Received 3 Likes on 3 Posts
Any updates???
Appauldd is offline  
Old Feb 6, 2009, 06:30 PM
  #112  
Evolving Member
Thread Starter
iTrader: (7)
 
evoredy's Avatar
 
Join Date: Apr 2008
Location: San Jose, CA
Posts: 341
Received 2 Likes on 1 Post
Originally Posted by Appauldd View Post
Any updates???
i think this all has moved over to the jcsbanks SD post. thanks for pointing out the lean spool trailing time issue in the other thread. i'll mod the patches and repost/but it should be usless as SD seems to be in reach with jcsbanks.
evoredy is offline  
Old Feb 7, 2009, 01:12 AM
  #113  
Evolved Member
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 4 Likes on 3 Posts
Not useless at all evoredy. Very useful work you've done, and you also understand these routines. I'm also sharing the RPM with other tables, I don't think it is a problem as my RPM VE table has little effect and I don't change the RPM values from their stock 500-8000 RPM.

I think the difficulties with tuning the limit system are that you have two airflow calculations, and a slightly confusing offset.
jcsbanks is offline  
The following users liked this post:
evoredy (Jun 27, 2019)
Old Feb 7, 2009, 05:38 AM
  #114  
Evolved Member
iTrader: (22)
 
Appauldd's Avatar
 
Join Date: Nov 2003
Location: Northern KY near Cincy
Posts: 2,408
Likes: 0
Received 3 Likes on 3 Posts
Originally Posted by evoredy View Post
i think this all has moved over to the jcsbanks SD post. thanks for pointing out the lean spool trailing time issue in the other thread. i'll mod the patches and repost/but it should be usless as SD seems to be in reach with jcsbanks.

I think your patch will work for those of us not wanting to go full SD. Maybe you can just make the minor repairs so that those of us with after market intakes and smaller turbos can take advantage of better drivability.
Appauldd is offline  
 
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
ziad
EcuFlash
113
Jun 11, 2017 12:38 PM
mrfred
EcuFlash
375
Jan 28, 2017 09:58 PM
mrfred
EcuFlash
316
Apr 24, 2016 10:24 AM
roni4g63
EcuFlash
1
Nov 14, 2015 11:45 AM
03whitegsr
EcuFlash
19
Oct 17, 2009 10:20 PM


Thread Tools
Search this Thread
Quick Reply: 94170015 MAP to MAF Patch:


Contact Us - About Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

© 2019 MH Sub I, LLC dba Internet Brands

We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.