RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 10:41 pm

All times are UTC





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: SD Logger definition clusterf***
PostPosted: Thu Aug 02, 2012 5:33 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 11:04 pm
Posts: 2661
Location: RIP
viewtopic.php?f=37&t=7772
viewtopic.php?f=37&t=8161
viewtopic.php?f=37&t=7981

All 3 of these use the same type of SD modification to the stock ROM and all 3 log the same items. But they all have 3 different sets of ECU param IDs. I think we need to standardize this now before it gets out of hand.

_________________
MS41 Project Leader & Co-Developer (2012 - 2023)
MS41.3 https://sites.google.com/site/openms41/custom-code---ms41-3
MS41 ECU Portal https://sites.google.com/site/openms41/ms41-ecu-portal


Top
 Profile  
 
 Post subject: Re: SD Logger definition clusterf***
PostPosted: Thu Aug 02, 2012 5:42 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
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!!!!!!!

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: SD Logger definition clusterf***
PostPosted: Thu Aug 02, 2012 8:44 pm 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
Yes a standard is required and the CAL ID should be updated in all three locations (that I still have to do on my own car).
And as you mention the ECU ID should be changed to avoid conflicts with a standard logger.xml file.
If you give me the new ECU IDs you choose and the parameter info I'll incorporate them into the logger.xml. I believe I asked before but didn't get any data.


Top
 Profile  
 
 Post subject: Re: SD Logger definition clusterf***
PostPosted: Thu Aug 02, 2012 9:26 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
Definitely, agreed. Also, when Merp releases the new version of these SD roms, we need to retire the old ports - I made that port right after the first SD rom was released. It's well outdated now compared to the newer ones with maf blending and cel knock.

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl