Notices
ECU Flash

Understanding xml definitions

Thread Tools
 
Search this Thread
 
Old Aug 26, 2007, 09:39 PM
  #1  
Evolved Member
Thread Starter
iTrader: (19)
 
SophieSleeps's Avatar
 
Join Date: Sep 2005
Location: Butthole, MA
Posts: 834
Likes: 0
Received 0 Likes on 0 Posts
Understanding xml definitions

I use multiple computers to tune so I have a few questions on making xml definition changes.

If I change an XML definition on computer A.
I edit my maps and save them.
I transfer my maps to Computer B (does not have the xml definition changes)

If I load my maps into my car with Computer B...will those changes take effect?

When you add maps to ecuflash via the front end interface, is it pretty much the same as adding xml code into the definition file?
Old Aug 26, 2007, 09:54 PM
  #2  
Evolved Member
iTrader: (22)
 
codgi's Avatar
 
Join Date: Aug 2004
Location: Seattle, WA
Posts: 2,491
Received 41 Likes on 37 Posts
Originally Posted by SophieSleeps
I use multiple computers to tune so I have a few questions on making xml definition changes.

If I change an XML definition on computer A.
I edit my maps and save them.
I transfer my maps to Computer B (does not have the xml definition changes)

If I load my maps into my car with Computer B...will those changes take effect?

When you add maps to ecuflash via the front end interface, is it pretty much the same as adding xml code into the definition file?
All the xml definition file does is allow ECUFlash to show some particular part of the rom in the UI for the user and allow changes to it. That part of the rom was there before the definition, and will exist even if you don't have that definition. When you save it on the first computer, ECUFlash writes to changes the part of the rom that the definition specifies.

Even though you then move it to another PC that does not have the definition, the change has been physically saved into the rom itself. At flash time (and I haven't flashed in a while so I might be wrong here), I'm pretty sure that the routine does a quick compare between the rom to be flashed and the rom currently on the ECU and only changes whichever blocks have been changed.

So short answer is yes, the changes should work .
Old Aug 26, 2007, 09:57 PM
  #3  
Evolved Member
iTrader: (9)
 
C6C6CH3vo's Avatar
 
Join Date: Feb 2005
Location: sc
Posts: 4,223
Likes: 0
Received 4 Likes on 4 Posts
Just save a notepad copy of the edited Xml to use for editing your new Xml
Old Aug 26, 2007, 10:00 PM
  #4  
Evolved Member
Thread Starter
iTrader: (19)
 
SophieSleeps's Avatar
 
Join Date: Sep 2005
Location: Butthole, MA
Posts: 834
Likes: 0
Received 0 Likes on 0 Posts
Thanks guys. What I've been doing is just uploading my most recent XML file to my server so if I'm using a diff ECUflash I can download my file.
Old Aug 26, 2007, 11:02 PM
  #5  
Evolved Member
Thread Starter
iTrader: (19)
 
SophieSleeps's Avatar
 
Join Date: Sep 2005
Location: Butthole, MA
Posts: 834
Likes: 0
Received 0 Likes on 0 Posts
So what's the difference between editing the XML for stuff like 2 byte load and doing stuff like adding a map for lean spool disable that does not require any XML edits?
Old Aug 27, 2007, 09:44 AM
  #6  
Evolved Member
iTrader: (7)
 
mplspilot's Avatar
 
Join Date: Oct 2006
Location: Flyover country.
Posts: 1,439
Likes: 0
Received 1 Like on 1 Post
Think of a ROM as a book.

XML tables are the bookmarks that let you see and change certain pages.

Some bookmarks come with ECUflash definitions. When more stuff gets discovered you add more of those to edit and change more things.

If you do not have all the bookmarks the info is still in the book, you just cannot see it.
Old Aug 27, 2007, 09:38 PM
  #7  
Evolved Member
iTrader: (22)
 
codgi's Avatar
 
Join Date: Aug 2004
Location: Seattle, WA
Posts: 2,491
Received 41 Likes on 37 Posts
^^ this analogy is pretty good actually

Originally Posted by SophieSleeps
So what's the difference between editing the XML for stuff like 2 byte load and doing stuff like adding a map for lean spool disable that does not require any XML edits?
Give an example of the stuff in bold?
Old Aug 28, 2007, 06:16 AM
  #8  
Evolved Member
Thread Starter
iTrader: (19)
 
SophieSleeps's Avatar
 
Join Date: Sep 2005
Location: Butthole, MA
Posts: 834
Likes: 0
Received 0 Likes on 0 Posts
When you add a map for lean spool disable you are doing it in the front end of ecuflash.

Right click, add map...blah blah blah.

You aren't editing the XML directly.

Is that different than editing the XML or does that accomplish the same thing?
Old Aug 28, 2007, 06:38 AM
  #9  
EvoM Guru
iTrader: (6)
 
tephra's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Posts: 9,486
Received 66 Likes on 42 Posts
i think you will find that the XML gets updated with any new maps you add into the GUI...
Old Aug 28, 2007, 09:04 AM
  #10  
Evolved Member
iTrader: (9)
 
C6C6CH3vo's Avatar
 
Join Date: Feb 2005
Location: sc
Posts: 4,223
Likes: 0
Received 4 Likes on 4 Posts
I thought you had to update the xml in order to add the new maps.

1.31 screwed up my xml, I had to find an old notepad of my worked xml and paste it on the altered xml that 1.31 changed. Even after uninstalling 1.3 the xml will now default back to what 1.31 changed it to. This includes changes in adresses and missing words.

Is this all because my ECU is flashed to my original "worked" xml and thats the reason the 1.31 xml doesnt work?


What is the possibility of two different values working for an address?


For instance my original B/E enhance stop address is 1684, but the 1.31 shows 1682, is 1.31 flat out wrong?

Last edited by C6C6CH3vo; Aug 28, 2007 at 09:13 AM.
Old Aug 28, 2007, 09:30 AM
  #11  
Evolved Member
iTrader: (7)
 
mplspilot's Avatar
 
Join Date: Oct 2006
Location: Flyover country.
Posts: 1,439
Likes: 0
Received 1 Like on 1 Post
Originally Posted by SophieSleeps
When you add a map for lean spool disable you are doing it in the front end of ecuflash.

Right click, add map...blah blah blah.

You aren't editing the XML directly.

Is that different than editing the XML or does that accomplish the same thing?

It's the same.

You can add a table through the program or if you know how to write xml code you can add directly into the definition. End result is the same.
Old Aug 28, 2007, 09:56 PM
  #12  
Evolved Member
iTrader: (22)
 
codgi's Avatar
 
Join Date: Aug 2004
Location: Seattle, WA
Posts: 2,491
Received 41 Likes on 37 Posts
Originally Posted by SophieSleeps
When you add a map for lean spool disable you are doing it in the front end of ecuflash.

Right click, add map...blah blah blah.

You aren't editing the XML directly.

Is that different than editing the XML or does that accomplish the same thing?
I never added that table through the UI so thats why I was confused. It should be the same and as a simple test just save the xml, add a table through the UI and then the xml should get updated.
Old Aug 28, 2007, 09:58 PM
  #13  
Evolved Member
iTrader: (22)
 
codgi's Avatar
 
Join Date: Aug 2004
Location: Seattle, WA
Posts: 2,491
Received 41 Likes on 37 Posts
Originally Posted by C6C6CH3vo
I thought you had to update the xml in order to add the new maps.

1.31 screwed up my xml, I had to find an old notepad of my worked xml and paste it on the altered xml that 1.31 changed. Even after uninstalling 1.3 the xml will now default back to what 1.31 changed it to. This includes changes in adresses and missing words.

Is this all because my ECU is flashed to my original "worked" xml and thats the reason the 1.31 xml doesnt work?


What is the possibility of two different values working for an address?


For instance my original B/E enhance stop address is 1684, but the 1.31 shows 1682, is 1.31 flat out wrong?

Which xml file did you change? Rom specific? Or the base xml from which your rom inherits?
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
mrfred
ECU Flash
268
Feb 26, 2022 06:16 PM
20psiMR
ECU Flash
9
Feb 25, 2018 08:03 PM
holydevil
ECU Flash
6
Jun 3, 2015 04:50 PM
A418t81
ECU Flash
62
Nov 6, 2009 04:19 PM
gunzo
Evo X Engine Management / Tuning Forums
49
Oct 11, 2009 04:52 PM



Quick Reply: Understanding xml definitions



All times are GMT -7. The time now is 05:38 PM.