My ecuEdit XML for A4SGD10C ROMs

Developer topics relating to software that provides a tuning UI to alter ECU code and data

Moderator: Freon

My ecuEdit XML for A4SGD10C ROMs

Postby rewt » Mon Mar 06, 2006 9:35 pm

Here is the ecuEdit XML I've been working on for A4SGD10C ROMs. As with my XML for A4SGC00C ROMs, any named map marked with a "(?)" I don't know the proper units and/or conversion formulas... any "special" map is something that looks like a map, but I don't know to what...

Any help and/or feedback is appreciated.

Functions I use:
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])&lt;=9,1,IF(([value]*1000/[value2])&lt;=16,2,IF(([value]*1000/[value2])&lt;=22.5,3,IF(([value]*1000/[value2])&lt;=31.5,4,5))))" dir="2"/>
      <function name="toBigEndRPM" expr="[value] / 512 * 100" dir="1"/>
   </ecu_tools>
Attachments
A4SGD10C.txt
A4SGD10C.txt
(9.33 KiB) Downloaded 859 times
rewt
 
Posts: 21
Joined: Thu Nov 24, 2005 9:15 pm
Location: Northern DE

Postby thejean » Thu Sep 14, 2006 12:34 pm

Sorry, I only have more questions than answers:

1. Are you sure these formulas are correct? If so, how do you know?

2. Does this mean that the timing formula is:

timing = (ECU value-57)*360/1024 ??

3. What is IgnC ?

4. What is the formula that I would use to convert ECU AFR values real AFR values?

Thanks, JC
thejean
 
Posts: 70
Joined: Tue Mar 28, 2006 12:14 pm
Location: Calgary, AB

Postby thejean » Thu Sep 14, 2006 3:47 pm

can someone also explain to me what BigEndRPM is? :?
thejean
 
Posts: 70
Joined: Tue Mar 28, 2006 12:14 pm
Location: Calgary, AB

Postby Tea cups » Thu Sep 14, 2006 6:31 pm

That probably means "big endian".
Tea cups
 
Posts: 127
Joined: Mon Jun 19, 2006 6:41 am

Postby thejean » Fri Sep 15, 2006 12:50 pm

Tea cups wrote:That probably means "big endian".


And that means?? Sorry for being such a newb... :oops:
thejean
 
Posts: 70
Joined: Tue Mar 28, 2006 12:14 pm
Location: Calgary, AB

Postby rewt » Fri Sep 15, 2006 5:34 pm

thejean wrote:Sorry, I only have more questions than answers:

1. Are you sure these formulas are correct? If so, how do you know?

2. Does this mean that the timing formula is:

timing = (ECU value-57)*360/1024 ??

3. What is IgnC ?

4. What is the formula that I would use to convert ECU AFR values real AFR values?

Thanks, JC


sorry for the delay... i periodically check in, but most threads are pretty old. as far as your questions are concerned:

1.) the formulas were correct when i originally wrote the XML; they were standard formulas used by everyone.

2.) Yes, that is the timing formula.

3.) Honestly, I don't remember.

4.) toAFR()

honestly, i would recommend using Enginuity instead of ecuEdit. Enginuity actually generates definitions depending on the ROM version, and the definition is more complete than this old one i threw together.
rewt
 
Posts: 21
Joined: Thu Nov 24, 2005 9:15 pm
Location: Northern DE

Postby rewt » Fri Sep 15, 2006 6:41 pm

thejean wrote:can someone also explain to me what BigEndRPM is? :?


BigEndRPM is a formula for converting an ECU value to RPM when the ECU value is stored in big endian format. big endian format is a way of arranging the significant nibble in a byte.

IIRC, the significant nibble is at the end of the byte in big endian format, whereas the significant nibble is at the beginning of the byte in little endian format.
rewt
 
Posts: 21
Joined: Thu Nov 24, 2005 9:15 pm
Location: Northern DE

Postby thejean » Sat Sep 16, 2006 10:34 am

rewt wrote:....significant nibble in a byte.


Are we talking about the Cookie Monster now? :lol:

Thanks for the explanations.
thejean
 
Posts: 70
Joined: Tue Mar 28, 2006 12:14 pm
Location: Calgary, AB

Postby thejean » Sat Sep 16, 2006 10:35 am

So, does this mean values in the ECU rom that are divisible by 512 are probably RPM values?
thejean
 
Posts: 70
Joined: Tue Mar 28, 2006 12:14 pm
Location: Calgary, AB

Postby rewt » Sat Sep 16, 2006 11:15 am

thejean wrote:So, does this mean values in the ECU rom that are divisible by 512 are probably RPM values?


in many instances, yes, but in some instances, no. you'd have to compare the values you're seeing to other, known tables using RPM in order to make an accurate guess. most of the tables using RPM use similar RPM values.
rewt
 
Posts: 21
Joined: Thu Nov 24, 2005 9:15 pm
Location: Northern DE


Return to Tuning Software

Who is online

Users browsing this forum: No registered users and 9 guests