RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 9:08 am

All times are UTC - 5 hours [ DST ]





Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: ECU base format
PostPosted: Tue Jan 24, 2006 9:13 pm 
Offline
Administrator
User avatar

Joined: Fri Jan 13, 2006 12:33 pm
Posts: 2079
Location: Palo, IA
Update 4/3/2006 -- The ecu_base.xml file I was planning on using will not be used. Inheritance is now supported and this idea has been abandoned.
----------------------------------
I haven't even started on the ECU definition editor yet, but when I do, I'll use an XML definition file similar (or hopefully exactly like) this example. When a user creates a new ECU definition, they will have the opportunity to load a base definition from this file and fill in the blanks rather than recreate each definition from scratch.

Originally these tags were to be found in the ecu_defs.xml as includes. I've decided to go ahead and move them to another file, probably called ecu_base.xml.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ecurom>
<roms>
   <rom>
      <romid>
         <xmlid>wrxbase</xmlid>
      </romid>
      <table type="3D" name="Main Ignition Map" category="Timing" swapxy="false" flipx="false" flipy="false" storagetype="uint8" endian="little" sizex="16" sizey="16">
         <scaling units="degrees" type="linear" scalefactor="1" offset="0"/>
         <table type="X Axis" name="Engine Load in Air per Cylinder Charge" storagetype="uint8"
            endian="little" sizex="16">
            <scaling units="grams" type="linear" scalefactor="1" offset="0" />
         </table>
         <table type="Y Axis" name="Engine RPM" storagetype="uint8" endian="little" sizey="16">
            <scaling units="grams" type="linear" scalefactor="100" offset="0" />
         </table>
         <description>"This is a map of base ignition values."</description>
      </table>
      <table type="2D" name="Rev Limit" storagetype="uint8" endian="little" sizey="2">
         <scaling units="RPM" type="linear" scalefactor="0.1953125" offset="0" />
         <description>"RPM at which limiter turns on and off."</description>
         <table type="Static Y Axis" name="Condition" units="" sizey="2">
            <data>on</data>
            <data>off</data>
         </table>
      </table>
      <table type="1D" name="Injector Flow Scaling" category="Fuel" storagetype="uint16" endian="little">
         <scaling units="cc" type="inverse" scalefactor="2447960" offset="0" />
         <description>"Injector flow rating in cc/min"</description>
      </table>
   </rom>
</roms>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 9 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