RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

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

All times are UTC




Post new topic Reply to topic  [ 121 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Author Message
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Tue Mar 12, 2013 8:42 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
td-d wrote:
Merp wrote:
I've integrated the XmlToIdc code into SharpTune (patching GUI/CLI app) with a GUI interface and added automated SSM base detection.

https://github.com/Merp/SharpTune

Nice... just test drove it, working beautifully. As much as I love command line :lol:


CLI functionality is retained, but I've yet to add the SSM Base detection to it. When I get around to updating the readme with all of the command line options I'll add one for that.

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


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Fri Jul 26, 2013 3:30 am 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
New version of XmlToIdc is available via the link in the first post.

It can handle logger.xml with extended parameters with a single compressed "id" attribute such as the following format:
Code:
<ecuparam id="E2" name="Engine Load*" desc="E2-Current engine load (g/rev) as determined by the ECU" target="1">
  <ecu id="29044A4105,29044A7105,29044B6005,29046B6005,2944594105,2954594105">
    <address length="2">0x02009A</address>
  </ecu>
  <conversions>
    <conversion units="g/rev" expr="x*.00006103515625" format="0.00" gauge_min="-100" gauge_max="300" gauge_step="25" />
  </conversions>
</ecuparam>


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Fri Jul 26, 2013 11:55 am 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
dschultz wrote:
New version of XmlToIdc is available via the link in the first post.

It can handle logger.xml with extended parameters with a single compressed "id" attribute such as the following format:
Code:
<ecuparam id="E2" name="Engine Load*" desc="E2-Current engine load (g/rev) as determined by the ECU" target="1">
  <ecu id="29044A4105,29044A7105,29044B6005,29046B6005,2944594105,2954594105">
    <address length="2">0x02009A</address>
  </ecu>
  <conversions>
    <conversion units="g/rev" expr="x*.00006103515625" format="0.00" gauge_min="-100" gauge_max="300" gauge_step="25" />
  </conversions>
</ecuparam>

Great stuff, will check it out.

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Sat Aug 31, 2013 6:29 pm 
Offline
Newbie

Joined: Tue Jan 27, 2009 8:45 pm
Posts: 50
I have tried to use this utility and have been unsuccessful.

I keep getting a blank idc file.

Here is what I'm doing.

Trying on CAL ID AE5L500L ECU ID 8A12584007

I used the ecu def's (seperate user defs) for this ecu and named the file ecu_defs.xml because the normal ecu_defs.xml file does not contain my rom def.

I renamed the latest logger defs to logger.xml so the file name would be correct and would contain def's for my rom.

Then I ran the file with the command:
>xmltoidc.exe tabels AE5L500L Tabels.idc

Can anyone assist?

Thanks,
Branden


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Tue Sep 03, 2013 3:07 am 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
See the first post or run the app with no options to see the usage information.


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Tue Sep 03, 2013 3:18 am 
Offline
Newbie

Joined: Tue Jan 27, 2009 8:45 pm
Posts: 50
dschultz wrote:
See the first post or run the app with no options to see the usage information.

I have already done both and neither have helped, which is why I posted. I've also read the entire thread and found no relative posts to my issue.

If you have any other suggestions I would be very thankful.

-Branden


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Tue Sep 03, 2013 3:30 am 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
It seems to work for me with this RomRaider def.
viewtopic.php?t=8819

Code:
XmlToIdc.exe tables AE5L500L > tables.idc


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Tue Sep 03, 2013 11:27 am 
Offline
Newbie

Joined: Tue Jan 27, 2009 8:45 pm
Posts: 50
Ok, not sure what it could be, but I tried on a different computer and it worked.


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Wed Sep 04, 2013 1:59 am 
Offline
Newbie

Joined: Tue Jan 27, 2009 8:45 pm
Posts: 50
Ok, so I tried it on my original PC again and it worked. I got it to work by removing the ".xml" from the file name in windows 7. Don't know too much but I didn't think that would be an issue. Since it was already recognized as an xml file it didn't need it.

So I ran the script and got a bunch of errors as below: (Lots more of the same that I didn't post)

Code:
No reference to Intake_Temp_Sensor_Scaling
D8EB8: can't rename byte as 'Intake_Temp_Sensor_Scaling_Y_Axis' because this byte can't have a name (it is a tail byte).
D8E48: can't rename byte as 'Coolant_Temp_Sensor_Scaling' because this byte can't have a name (it is a tail byte).
No reference to Coolant_Temp_Sensor_Scaling
D8DD8: can't rename byte as 'Coolant_Temp_Sensor_Scaling_Y_Axis' because this byte can't have a name (it is a tail byte).
D6F50: can't rename byte as 'Idle_Speed_Target_A' because this byte can't have a name (it is a tail byte).
No reference to Idle_Speed_Target_A
D6F90: can't rename byte as 'Idle_Speed_Target_B' because this byte can't have a name (it is a tail byte).
No reference to Idle_Speed_Target_B
D6FD0: can't rename byte as 'Idle_Speed_Target_C' because this byte can't have a name (it is a tail byte).
No reference to Idle_Speed_Target_C
D7070: can't rename byte as 'Idle_Speed_Target_D' because this byte can't have a name (it is a tail byte).
No reference to Idle_Speed_Target_D
D9188: can't rename byte as 'Ignition_Dwell_X_Axis' because this byte can't have a name (it is a tail byte).
D91C8: can't rename byte as 'Ignition_Dwell_Y_Axis' because this byte can't have a name (it is a tail byte).
9A757: can't rename byte as 'P0000_PASS_CODE_NO_DTC_DETECTED' because this byte can't have a name (it is a tail byte).
9A758: can't rename byte as 'P0000_PASS_CODE_NO_DTC_DETECTED_' because this byte can't have a name (it is a tail byte).
9A744: can't rename byte as 'P0011_CAMSHAFT_POS__TIMING_OVERADVANCED_1' because this byte can't have a name (it is a tail byte).
9A7A5: can't rename byte as 'P0016_CRANKSHAFTCAMSHAFT_CORRELATION_1A' because this byte can't have a name (it is a tail byte).
9A7A4: can't rename byte as 'P0018_CRANKSHAFTCAMSHAFT_CORRELATION_2A' because this byte can't have a name (it is a tail byte).


Any help is appreciated, as I'm sure trying to get a grasp of this will take some time even with help.

Thanks,
Branden


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Wed Sep 04, 2013 2:27 am 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
bubba2533 wrote:
Ok, so I tried it on my original PC again and it worked. I got it to work by removing the ".xml" from the file name in windows 7. Don't know too much but I didn't think that would be an issue. Since it was already recognized as an xml file it didn't need it.
You probably named the file ecu_defs.xml.xml unless you have the option to show filename extensions turned on in Explorer.

To correct those naming errors you need to Undefine those address areas so they can be named properly by the script. Once you undefine them re-run the script.
You might want to follow this guide.


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Wed Sep 04, 2013 3:05 am 
Offline
Newbie

Joined: Tue Jan 27, 2009 8:45 pm
Posts: 50
Is there an easy way to know what areas to undefine?

I would rather not run down the whole list of addresses undefining one at a time.

Thanks,
Branden


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Wed Sep 04, 2013 3:36 am 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
Code:
D8EB8: can't rename byte as...
The hex number is the address that can't be named. In IDA double click on it and it will take you to that address. You'll see a number of references in that general area that need to be fixed up.


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Tue Nov 19, 2013 4:24 am 
Offline
Newbie

Joined: Tue Jan 27, 2009 8:45 pm
Posts: 50
Ok, not sure if I did something wrong, but I found something else that tripped me up when using this utility.

After getting the tables argument to work I now have tried to run this with the makeall argument and I got an error that said "logger.dtd must be in the current directory" which I did not see anywhere in this thread. I wasn't even sure what that was referring to.

From just searching I found there was a file named logger with a file type in my romraider install directory that was a "xml document type definition", so I put 2 and 2 together and putting that in the xmltoidc.exe directory made the program run without error.

Just thought it would be worth mentioning so others won't have to ask if they run into it.

btw, thanks for all the work. This is really helping a beginner like me learn much easier/quicker.

-Branden


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Tue Nov 19, 2013 4:36 am 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
I'll add a note to the first post.


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Tue Nov 19, 2013 4:43 am 
Offline
Newbie

Joined: Tue Jan 27, 2009 8:45 pm
Posts: 50
Wow, that was fast. Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 121 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next

All times are UTC


Who is online

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