Agreed.
Here is my latest version, which still needs some work (fixing up descriptions)Questions, comments, recommendations, criticisms, threats, etc.. all welcome.
I will be adding this stuff to the alpha branch of the definitions Git repo when I get around to it.
I also need to start modifying the logger ECUID on patches.
ATTENTION USERS: DO NOT USE THIS XML FILE!!!!!!!Code:
<?xml version="1.0" encoding="utf-8"?>
<rom>
<romid>
<xmlid>A8DH2MMXSCTEST0.12.7.15</xmlid>
<internalidaddress>E1400</internalidaddress>
<internalidstring>A8DH2MMXSCTEST0.12.7.15</internalidstring>
<ecuid>4312584206</ecuid>
<year>06</year>
<market>USDM</market>
<make>Subaru</make>
<model>Impreza</model>
<submodel>WRX</submodel>
<transmission>MT</transmission>
<memmodel>SH7058</memmodel>
<flashmethod>sti05</flashmethod>
<checksummodule>subarudbw</checksummodule>
</romid>
<include>A8DH202X</include>
<scaling name="FuelingMode" storagetype="bloblist">
<data name="MAF SENSOR" value="00000001" />
<data name="SPEED DENSITY" value="00000002" />
<data name="MAF/SD BLENDING" value="00000003" />
</scaling>
<scaling name="LoadFilter" units="Smoothing Factor (%)" toexpr="(x*(-100))+100" frexpr="(x-100)/(-100)" format="%.1f" min="0" max="100" inc="5" storagetype="float" endian="big" />
<scaling name="VE(%)" units="VE(%)" toexpr="x*.0000457763672" frexpr="x/.0000457763672" format="%.2f" min="0.3" max="1.1" inc="0.025" storagetype="uint16" endian="big" />
<scaling name="VEcomp" units="VE Compensation" toexpr="x*0.000061037" frexpr="x/.000061037" format="%.2f" min="0" max="2" inc="0.2" storagetype="uint16" endian="big" />
<scaling name="engine displacement" units="cc" toexpr="x" frexpr="x" format="%.2f" min="0" max="1" inc="0.01" storagetype="float" endian="big" />
<scaling name="celflashcounter" units="counts" toexpr="x" frexpr="x" format="%.0f" min="0" max="1" inc="1" storagetype="uint8" endian="big" />
<scaling name="fbkcthreshold" units="degrees" toexpr="x" frexpr="x" format="%.1f" min="-128" max="-127" inc="0.5" storagetype="float" endian="big" />
<scaling name="Blending(%)" units="Blending(%)" toexpr="x*.003921568627*100" frexpr="(x/100)/0.003921568627" format="%.2f" min="0" max="100" inc="0.025" storagetype="uint8" endian="big" />
<scaling name="sdc" units="x" toexpr="x" frexpr="x" format="%.6f" min="0" max="0.0000000000000001" inc="0.00001" storagetype="float" endian="big" />
<scaling name="psirelativesealevelSD" units="psi relative sea level" toexpr="(x-760)*.01933677" frexpr="(x/.01933677)+760" format="%.2f" min="-11.80" max="25" inc=".01" storagetype="float" endian="big" />
<scaling name="psiabsoluteSD" units="psi absolute" toexpr="(x)*.01933677" frexpr="(x/.01933677)" format="%.2f" min="0" max="40" inc=".01" storagetype="float" endian="big" />
<scaling name="VehicleSpeed(MPH)SD" units="Vehicle Speed (MPH)" toexpr="x*.621" frexpr="x/.621" format="%.0f" min="0" max="1" inc="1" storagetype="float" endian="big" />
<scaling name="EngineSpeed(RPM)SD" units="Engine Speed (RPM)" toexpr="x" frexpr="x" format="%.0f" min="0" max="2000.00" inc="50" storagetype="float" endian="big" />
<scaling name="RPMSD" units="RPMSD" toexpr="x" frexpr="x" format="%.0f" min="0" max="10000.00" inc="50" storagetype="float" endian="big" />
<table name="FBKC Flash Threshold" category="Merp CEL Flash" address="E1B58" type="2D" level="2" scaling="fbkcthreshold">
<description>FBKC Threshold to cause CEL flash</description>
<table type="Static Y Axis" elements="1">
<data>FBKC Threshold</data>
</table>
</table>
<table name="FBKC Flash Speed" category="Merp CEL Flash" address="E1B4C" type="2D" level="2" scaling="celflashcounter">
<description>Determines FBKC Cel flash speed, lower is faster</description>
<table type="Static Y Axis" elements="1">
<data>FBKC Flash Speed</data>
</table>
</table>
<table name="FBKC Flash Count" category="Merp CEL Flash" address="E1B50" type="2D" level="2" scaling="celflashcounter">
<description>Number of flashes per FBKC event</description>
<table type="Static Y Axis" elements="1">
<data>FBKC Flash Count</data>
</table>
</table>
<table name="IAM Recall Flash Speed" category="Merp CEL Flash" address="E1B54" type="2D" level="2" scaling="celflashcounter">
<description>IAM Recall Flash Speed</description>
<table type="Static Y Axis" elements="1">
<data>Determines IAM Recall flash speed, lower is faster</data>
</table>
</table>
<table name="Rev Limit (Redline)" category="Merp Rev Limit" address="E1B30" type="2D" level="4" scaling="EngineSpeed(RPM)SD">
<description>These are the engine speeds at which the rev limiter is engaged and disengaged.</description>
<table name="Rev Limit Rev Limit" type="Static Y Axis" elements="2">
<data>Cut Fuel Above</data>
<data>Hysteresis (RPM)</data>
</table>
</table>
<table name="Rev Limit (Flat Foot Shift)" category="Merp Rev Limit" address="E1B38" type="2D" level="4" scaling="EngineSpeed(RPM)SD">
<description>These are the engine speeds at which the rev limiter is engaged and disengaged, when the clutch is pressed and vehicle speed is greater than the FFS threshold.</description>
<table name="Flat Foot Shifting Rev Limit" type="Static Y Axis" elements="2">
<data>Cut Fuel Above</data>
<data>Hysteresis (RPM)</data>
</table>
</table>
<table name="Rev Limit (Launch Control)" category="Merp Rev Limit" address="E1B44" type="2D" level="4" scaling="EngineSpeed(RPM)SD">
<description>These are the engine speeds at which the rev limiter is engaged and disengaged when the clutch is pressed and vehicle speed is below the FFS threshold.</description>
<table name="Launch Control Rev Limit" type="Static Y Axis" elements="2">
<data>Cut Fuel Above</data>
<data>Hysteresis (RPM)</data>
</table>
</table>
<table name="Rev Limit (Flat Foot Shift Threshold)" category="Merp Rev Limit" address="E1B40" type="2D" level="4" scaling="VehicleSpeed(MPH)SD">
<description>Above this vehicle speed, the FFS rev limit is in effect. Below this speed, the Launch Control fuel rev limit is in effect.</description>
<table name="Launch Control Rev Limit" type="Static Y Axis" elements="1">
<data>Threshold</data>
</table>
</table>
<table name="Speed Density Constant" category="Merp Speed Density" address="E1424" type="2D" level="2" scaling="sdc">
<description>SD Constant</description>
<table type="Static Y Axis" elements="1">
<data>SD Constant</data>
</table>
</table>
<table name="Engine Displacement" category="Merp Speed Density" address="E1428" type="2D" level="2" scaling="engine displacement">
<description>Engine size in cc</description>
<table type="Static Y Axis" elements="1">
<data>Engine Displacement (cc)</data>
</table>
</table>
<table name="Speed Density Mode" category="Merp Speed Density" address="E141C" type="1D" scaling="FuelingMode" />
<table name="Volumetric Efficiency Table 1" category="Merp Speed Density" address="E14EC" type="3D" level="2" scaling="VE(%)">
<description>This is the Volumetric efficiency of the engine.</description>
<table name="Manifold Pressure" address="E142C" type="X Axis" elements="24" scaling="psirelativesealevelSD" />
<table name="Engine Speed" address="E148C" type="Y Axis" elements="24" scaling="RPMSD" />
</table>
<table name="Atmospheric Pressure Compensation" category="Merp Speed Density" address="E19DC" type="3D" level="2" scaling="VEcomp">
<description>This is the Volumetric efficiency of the engine.</description>
<table name="Manifold Pressure" address="E19A4" type="X Axis" elements="7" scaling="psiabsoluteSD" />
<table name="Atmospheric Pressure" address="E19C0" type="Y Axis" elements="7" scaling="psiabsoluteSD" />
</table>
<table name="SD Blending Table" category="Merp Speed Density" address="E1AAC" type="3D" level="2" scaling="Blending(%)">
<description>This is the amount of SD blended into the MAF output. Only active when in blending mode.</description>
<table name="Manifold Pressure" address="E1A5C" type="X Axis" elements="10" scaling="psirelativesealevelSD" />
<table name="Engine Speed" address="E1A84" type="Y Axis" elements="10" scaling="RPMSD" />
</table>
<ram />
</rom>
ATTENTION USERS: DO NOT USE THIS XML FILE!!!!!!!