Page 1 of 2
My ecuEdit XML for A4SGC00C ROMs

Posted:
Thu Feb 23, 2006 10:32 am
by rewt
Hey everyone... not sure if this is the correct section for this, but I wanted to post up my XML description for my A4SGC00C ROM. Please note, any map with a (?) in its name isn't complete...
Anyone else is welcome to help me finish mapping out the ROM as well, and/or fix any of my mistakes


Posted:
Fri Feb 24, 2006 2:33 pm
by rewt
An update... still working on both fixing named maps and finding new ones. I think I've found a couple new maps, but aside from RPM, I haven't figured out what I'm looking at.
Have fun checking it out, and if you find anything, please let me know. Thanks!

Posted:
Thu Mar 02, 2006 2:55 pm
by treefrogaz
I have the same ecu just wanted to see if you have added anymore to this.

Posted:
Thu Mar 02, 2006 7:07 pm
by rewt
Nope, not yet, but I'm still working. I'll update as I decode more maps.

Posted:
Mon Mar 06, 2006 9:29 pm
by rewt
Update... I've added more maps. Any named map marked with a "(?)" means I've got the map, but I don't know the units and/or the correct formula for converting from ECU code. Any "special" map is something that appears to be a map, but I don't know what it is...
Any feedback is appreciated; help would be great. I'm still looking for any maps having to do with MAP sensor scaling.
Also, the functions I use are:
- Code: Select all
<ecu_tools>
<function name="toRPM" expr="[value]*50"/>
<function name="frRPM" expr="[value]/50" dir="0"/>
<function name="toAFR" expr="14.7/(1 + ([value] / 128))"/>
<function name="frAFR" expr="(14.7*128)/[value]-128" dir="0"/>
<function name="toLoad" expr="[value]/8192"/>
<function name="frLoad" expr="[value]*8192" dir="0"/>
<function name="toIgn" expr="([value]-57) * 360 / 1024"/>
<function name="toIgnC" expr="[value] * 360 / 1024"/>
<function name="toEGT" expr="([value]-40)*5"/>
<function name="toThrt" expr="[value]*100/169"/>
<function name="toWDuty" expr="[value]*100/246"/>
<function name="toBoostBar" expr="[value]/93.7"/>
<function name="toTempC" expr="([value]-64)*20/32"/>
<function name="toAirFlow" expr="[value]*300/256"/>
<function name="toAirFlow16" expr="[value]*300/65536"/>
<function name="toMAFvolt" expr="[value]*0.019534"/>
<function name="toBoostPSI" expr="([value] - 94) * .15425" dir="1"/>
<function name="logGear5MT" expr="IF(([value]*1000/[value2])<=9,1,IF(([value]*1000/[value2])<=16,2,IF(([value]*1000/[value2])<=22.5,3,IF(([value]*1000/[value2])<=31.5,4,5))))" dir="2"/>
<function name="toBigEndRPM" expr="[value] / 512 * 100" dir="1"/>
</ecu_tools>

Posted:
Thu Mar 09, 2006 1:33 pm
by treefrogaz
I think the injector scaling is off.

Posted:
Thu Mar 09, 2006 9:07 pm
by rewt
Why do you think the scaling is off?

Posted:
Thu Mar 09, 2006 9:22 pm
by treefrogaz
when i read my injector scaling it says 5727 on ecuedit but when we read it on ecutek it read 550

Posted:
Thu Mar 09, 2006 9:43 pm
by qoncept
treefrogaz wrote:when i read my injector scaling it says 5727 on ecuedit but when we read it on ecutek it read 550
func_2val="( ( [byte0] * 256 ) + ( [byte1] / 256 ) )"
should read..
func_2val="( 2447960 / ( ( [byte0] * 256 ) + ( [byte1] / 256 ) ) )"
What injectors are you using? ecutek seems to have it wrong.

Posted:
Thu Mar 09, 2006 9:45 pm
by treefrogaz
I'm running the Sti Pinks

Posted:
Thu Mar 09, 2006 11:20 pm
by cboles
i don't really use ecuedit much but, shouldn't this be:
func_2val="( 2447960 / ( ( [byte0] * 256 ) + [byte1]) ) )"
qoncept wrote:treefrogaz wrote:when i read my injector scaling it says 5727 on ecuedit but when we read it on ecutek it read 550
func_2val="( ( [byte0] * 256 ) + ( [byte1] / 256 ) )"
should read..
func_2val="( 2447960 / ( ( [byte0] * 256 ) + ( [byte1] / 256 ) ) )"
What injectors are you using? ecutek seems to have it wrong.

Posted:
Fri Mar 10, 2006 12:18 am
by epifan
cboles wrote:i don't really use ecuedit much but, shouldn't this be:
func_2val="( 2447960 / ( ( [byte0] * 256 ) + [byte1]) ) )"
Or, simply func_2val="2447960/[value]" in big endian ecu format

Posted:
Fri Mar 10, 2006 12:39 am
by cboles
even better


Posted:
Fri Mar 10, 2006 8:01 am
by rewt
Yeah, I was just displaying the value in decimal; I wasn't actually converting it to cc's. I'll try the big-endian settings for ecuEdit, and see if I can simplify the equation like epifan pointed out.
Thanks for the info, everyone. Keep the feedback coming on this XML.

Posted:
Fri Mar 10, 2006 12:58 pm
by treefrogaz
qoncept wrote:treefrogaz wrote:when i read my injector scaling it says 5727 on ecuedit but when we read it on ecutek it read 550
func_2val="( ( [byte0] * 256 ) + ( [byte1] / 256 ) )"
should read..
func_2val="( 2447960 / ( ( [byte0] * 256 ) + ( [byte1] / 256 ) ) )"
What injectors are you using? ecutek seems to have it wrong.
mine read the top one but i change it to the bottom one everything is working great now.