A standard defition format for ECMs, with LT1 as an example

timsiford at hushmail.com timsiford at hushmail.com
Fri Feb 16 15:07:42 GMT 2001


Dave,

VERY cool idea to use XML.  Its perfect.  Now if I only had more time so 
that I could adapt one for the $8D....

Tim


At Thu, 15 Feb 2001 14:47:51 -0800, Dave Plummer <davepl at MICROSOFT.com> 
wrote:

>
>I got bored a while back and decided it would be a good thing if there 
>were
>some standard way of defining what does what in any particular automotive
>ECM.   So, as my contribution to the hobby, I have created an XML Schema 
>for
>describing automotive PCMs and a sample XML definition of the LT1 flash 
>ROM.
>
>
>You can find out more and download the schema and LT1 example here:
>
>http://www.daveandnikki.com/ecmdefinitions.htm
>
>If you're not familiar with XML and schemas, the schema describes -how-
> the
>XML will describe pcms.  For example, here's the schema defition for 
>a
>switch (such as the ASR switch):
>
><ElementType name="Switch" model="closed" content="eltOnly" order="seq">
>      <AttributeType name="Title" dt:type="string" required="yes" /> 
>      <attribute type="Title"/> 
>      <element type="Description" minOccurs="1" maxOccurs="1" /> 
>      <element type="Location" minOccurs="1" maxOccurs="1" /> 
>      <element type="Bitmask" minOccurs="1" maxOccurs="1" /> 
></ElementType>
>
>And, in the corresponding XML file for the LT1, here's the definition 
>for my
>Corvette's ASR:
>
><Switch Title="Traction Control (ASR)">
>     <Description>Indicates initial state of the vehicle's traction 
>control
>on startup.</Description> 
>     <Location>#12028</Location> 
>     <Bitmask>#01</Bitmask> 
></Switch>
>
>There are tons of things in the ROM, of course, and the actual XML is 
>over a
>thousand lines for the LT1.  The schema handles tables, switches, constants,
>rom checksums, and pretty much everything I could think of, but it likely
>will need to be expanded for future ECMs.
>
>If people want to compose definitions for other PCMs, I'd be happy to 
>post
>them on the web page.
>
>
>I didn't write an editor, though if I had more time I would have :-) 
> 
>
>- Dave
>
>Disclaimer:  This has -nothing- to do with my day job.  My opinions 
>on this
>matter or my contribution of this information to the hobby in no way
>constitute endorsement by or the involvement of my employer.
>--------------------------------------------------------------------
>--------
>To unsubscribe from gmecm, send "unsubscribe gmecm" (without the quotes)
>in the body of a message (not the subject) to majordomo at lists.diy-efi.org
>


More information about the Gmecm mailing list