Notices
ECU Flash

Understanding xml definitions

Thread Tools
 
Search this Thread
 
Old Aug 26, 2007 | 09:39 PM
  #1  
SophieSleeps's Avatar
Thread Starter
Evolved Member
iTrader: (19)
 
Joined: Sep 2005
Posts: 834
Likes: 0
From: Butthole, MA
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?
Reply
Old Aug 26, 2007 | 09:54 PM
  #2  
codgi's Avatar
Evolved Member
20 Year Member
Photogenic
Liked
Loved
Community Favorite
iTrader: (22)
 
Joined: Aug 2004
Posts: 2,493
Likes: 41
From: Seattle, WA
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 .
Reply
Old Aug 26, 2007 | 09:57 PM
  #3  
C6C6CH3vo's Avatar
Evolved Member
iTrader: (9)
 
Joined: Feb 2005
Posts: 4,223
Likes: 4
From: sc
Just save a notepad copy of the edited Xml to use for editing your new Xml
Reply
Old Aug 26, 2007 | 10:00 PM
  #4  
SophieSleeps's Avatar
Thread Starter
Evolved Member
iTrader: (19)
 
Joined: Sep 2005
Posts: 834
Likes: 0
From: Butthole, MA
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.
Reply
Old Aug 26, 2007 | 11:02 PM
  #5  
SophieSleeps's Avatar
Thread Starter
Evolved Member
iTrader: (19)
 
Joined: Sep 2005
Posts: 834
Likes: 0
From: Butthole, MA
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?
Reply
Old Aug 27, 2007 | 09:44 AM
  #6  
mplspilot's Avatar
Evolved Member
iTrader: (7)
 
Joined: Oct 2006
Posts: 1,439
Likes: 1
From: Flyover country.
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.
Reply
Old Aug 27, 2007 | 09:38 PM
  #7  
codgi's Avatar
Evolved Member
20 Year Member
Photogenic
Liked
Loved
Community Favorite
iTrader: (22)
 
Joined: Aug 2004
Posts: 2,493
Likes: 41
From: Seattle, WA
^^ 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?
Reply
Old Aug 28, 2007 | 06:16 AM
  #8  
SophieSleeps's Avatar
Thread Starter
Evolved Member
iTrader: (19)
 
Joined: Sep 2005
Posts: 834
Likes: 0
From: Butthole, MA
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?
Reply
Old Aug 28, 2007 | 06:38 AM
  #9  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
i think you will find that the XML gets updated with any new maps you add into the GUI...
Reply
Old Aug 28, 2007 | 09:04 AM
  #10  
C6C6CH3vo's Avatar
Evolved Member
iTrader: (9)
 
Joined: Feb 2005
Posts: 4,223
Likes: 4
From: sc
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.
Reply
Old Aug 28, 2007 | 09:30 AM
  #11  
mplspilot's Avatar
Evolved Member
iTrader: (7)
 
Joined: Oct 2006
Posts: 1,439
Likes: 1
From: Flyover country.
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.
Reply
Old Aug 28, 2007 | 09:56 PM
  #12  
codgi's Avatar
Evolved Member
20 Year Member
Photogenic
Liked
Loved
Community Favorite
iTrader: (22)
 
Joined: Aug 2004
Posts: 2,493
Likes: 41
From: Seattle, WA
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.
Reply
Old Aug 28, 2007 | 09:58 PM
  #13  
codgi's Avatar
Evolved Member
20 Year Member
Photogenic
Liked
Loved
Community Favorite
iTrader: (22)
 
Joined: Aug 2004
Posts: 2,493
Likes: 41
From: Seattle, WA
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?
Reply
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




All times are GMT -7. The time now is 10:27 AM.