2002 WRX offsets

Postby Navybluesubaru » Mon Jan 09, 2006 12:32 pm

For ECU of A4SGA00C:

In reference to Injector scaling,

With this:
Code: Select all
<map name="Injector Scaling" type="1">
<data count="1" func_2val="[value]" func_val2="" offset="#20AE7" power="2" format="%.0f" mul="#FFFF" caption="Value" desc="Value" color_dir="0" inc="1" incb="5" inc_dir="1"/>
</map>


I get 0,

and with this:
Code: Select all
<map name="Injector Scaling" type="1">
<data count="1" func_2val="[value]" func_val2="" offset="#28AE6" power="2" format="%.0f" mul="#FFFF" caption="Value" desc="Value" color_dir="0" inc="1" incb="5" inc_dir="1"/>
</map>

I get 13139.

I dont know if even the second one is right, I definitely dont get 6442. Now im nervous to modify anything! Perhaps I could comb through with a hex editor or something...any suggestions?
Navybluesubaru
 
Posts: 52
Joined: Wed Dec 28, 2005 4:19 pm
Location: Jacksonville

Postby Kha0S » Mon Jan 09, 2006 1:14 pm

My 900C ECU has it up at 0x28AE0, and it's 0x192A (6442) ... problem is, ecuedit doesn't properly account for places where the endianness is swapped, so I can't come up with a conversion rule that will operate consistently in both directions.
Kha0S
 
Posts: 106
Joined: Tue Jan 11, 2005 12:30 pm
Location: MY02 USDM WRX / Nashua, NH

Postby Navybluesubaru » Mon Jan 09, 2006 5:43 pm

Well I used the hex viewer in ecuedit and searched for "6442" and found nothing. No where in my rom does that ever appear. 6440,6441,6443, and 6444 also do not apear so Its not like the value was slightly modified or anything. I really dont know how im supposed to find the value amongst literally thousands of possibilities.

Jeff
Navybluesubaru
 
Posts: 52
Joined: Wed Dec 28, 2005 4:19 pm
Location: Jacksonville

Postby crazymikie » Mon Jan 09, 2006 8:55 pm

<map name="Injector Scaling" type="1">
<data count="1" offset="#28AE6" power="2" format="%.0f" func_2val="([byte0]*256+[byte1]/256)" func_val2="" caption="Injector Size" color_dir="0" mul="#FFFF" desc="Injector Size" inc="1" incb="5" inc_dir="1"/>
</map>


That's the code I used for the id="A4SGD10C" ECU.

Just search for 0x19 0x2A and find where it appears above 0x28000. That should be the value.


Mike
crazymikie
 
Posts: 105
Joined: Mon Jan 03, 2005 6:45 pm
Location: Watertown, MA

Postby Navybluesubaru » Tue Jan 10, 2006 8:30 am

I'll check that out when I get home. That looks like it will work. I see that there is a "func_2val" equation but no "func_val2". Why is the 2nd one not needed? I thought that you would always need both equations but I guess im missing something somewhere in my understanding. Can you fill me in?

Thanks,
Jeff
Navybluesubaru
 
Posts: 52
Joined: Wed Dec 28, 2005 4:19 pm
Location: Jacksonville

Postby crazymikie » Tue Jan 10, 2006 9:04 am

You do need both- I was just lazy and never put the reverse functions in.

At this point, I've just been looking for maps, not really trying to modify anything with the software.

THanks!
Mike
crazymikie
 
Posts: 105
Joined: Mon Jan 03, 2005 6:45 pm
Location: Watertown, MA

Postby Navybluesubaru » Tue Jan 10, 2006 12:39 pm

I copied/pasted what you put in your previous post for the injector scaling and ecuedit just throws up an error and locks up. I have to click "ok" and it repeats the error over and over so I must terminate the process via task manager. What is with the "byte0" and "byte1"? I think it doesnt like that very much.

Jeff
Navybluesubaru
 
Posts: 52
Joined: Wed Dec 28, 2005 4:19 pm
Location: Jacksonville

Postby Navybluesubaru » Tue Jan 10, 2006 1:06 pm

I find 0x19 and 0x2A (25 & 42 decimal) at #463E. I also find them at #04B84, #06D24, #080D0, and #28AE2. Which one is truely the injector scaling pair? I was hoping to figure this out by today and start reflashing and testing but that might not happen now...im obvously hesitant. We are making progress though.

Here is what I am noticing in ecuEdit:

0x19 0x2A (25,42 dec) is with Power=1. If power is set to two, then it should be the same as 0x192A, which would yield the 6442 that has been mentioned earlier. Instead, ecuEdit is combining them backwards, i.e. 0x2A19, which equates to 10777 dec. Why is it doing this? Better yet, why is it that when in power 2, the values are reversed? That doesnt make any sense to me...

Jeff
Navybluesubaru
 
Posts: 52
Joined: Wed Dec 28, 2005 4:19 pm
Location: Jacksonville

Postby crazymikie » Tue Jan 10, 2006 1:45 pm

[quote="crazymikie"]

Just search for 0x19 0x2A and find where it appears above 0x28000. That should be the value.


Mike[/quote]

The byte0 and byte1 thing is something that was implemented so that you could handle each byte independently (and do something like I showed above to reverse the digits).

Mike
crazymikie
 
Posts: 105
Joined: Mon Jan 03, 2005 6:45 pm
Location: Watertown, MA

Postby Navybluesubaru » Tue Jan 10, 2006 2:09 pm

Well for some reason ecuedit freaks out when it see's "byte1" inside the formula. I tried to move a bunch of stuff around but still could not get it to work.

Here is an idea: instead of modifying a "injector scaling value", why not do this:

Old injector size: 420cc
New injector size: 850cc

Old "Mass Air Flow" * (420/850) = New "Mass Air Flow", where "Mass Air Flow" is the MAF sensor scaling value, measured in grams/second i believe. I have confirmed that this is what the UTEC does in the background anyways when you run their "open loop fueling" with injector scaling turned on. It takes in the current maf value, and adjusts it so that the ecu see's an equivalent maf value that equates to (in this case 420cc/850cc) ~49% as much air.


Jeff
Last edited by Navybluesubaru on Tue Jan 10, 2006 3:18 pm, edited 1 time in total.
Navybluesubaru
 
Posts: 52
Joined: Wed Dec 28, 2005 4:19 pm
Location: Jacksonville

Postby crazymikie » Tue Jan 10, 2006 2:53 pm

Are you using the latest version?
crazymikie
 
Posts: 105
Joined: Mon Jan 03, 2005 6:45 pm
Location: Watertown, MA

Postby Navybluesubaru » Tue Jan 10, 2006 3:19 pm

crazymikie wrote:Are you using the latest version?


Im using version 1.1, file version 1.1.0.16.

Jeff
Navybluesubaru
 
Posts: 52
Joined: Wed Dec 28, 2005 4:19 pm
Location: Jacksonville

Postby crazymikie » Tue Jan 10, 2006 5:11 pm

Look in the ecuedit thread and try version 1.1.0.25.

Mike
crazymikie
 
Posts: 105
Joined: Mon Jan 03, 2005 6:45 pm
Location: Watertown, MA

Postby Navybluesubaru » Wed Jan 11, 2006 3:56 am

[EDIT] I see the link now. Yea, i saw the post info there but i skimmed over the small part that mentioned the new version. Thats what I get for skimming! [/EDIT]

While you say that you have your 0x19 & 0x2A at #28AE6, I find the exact same thing just 4 spots earlier at #28AE2. Perhaps in my ecu revision they put it in a slightly different spot...it looks like it because there it is only 4 places away from where you say yours is. I might try to flash with that modified and see where that gets me.

Jeff
Last edited by Navybluesubaru on Wed Jan 11, 2006 6:07 am, edited 1 time in total.
Navybluesubaru
 
Posts: 52
Joined: Wed Dec 28, 2005 4:19 pm
Location: Jacksonville

Postby NeverLies » Wed Jan 11, 2006 4:56 am

You did read the thread too fast :D

http://www.mytempdir.com/340494

(You may find it on page 4 of the thread : http://forums.openecu.org/viewtopic.php ... c&start=45)
NeverLies
 
Posts: 179
Joined: Tue Apr 12, 2005 1:49 am

PreviousNext

Return to Subaru (all models)

Who is online

Users browsing this forum: No registered users and 7 guests