|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
kennezer
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Fri Dec 22, 2017 12:06 am |
|
 |
| Experienced |
Joined: Tue Jun 02, 2015 1:15 am Posts: 105 Location: Albuquerque New Mexico
|
|
Does anyone have a copy of the ecu def.dtd file? I can't find a copy of it, and with out doing an insane amount of stuff to save a .dtd file, I thought I'd ask first!
I want to try to look at a carberry rom, not sure if that will change anything.
thanks!
_________________ 2001 RS 2.5 w/ 2002 harness and dash swap 2001 jdm ej205 w/avcs
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Fri Dec 22, 2017 2:24 am |
|
 |
| RomRaider Developer |
Joined: Thu May 21, 2009 1:49 am Posts: 7323 Location: Canada eh!
|
|
There isn't one for the editor def, it only exists for the logger def file.
|
|
| Top |
|
 |
|
kennezer
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Fri Dec 22, 2017 8:47 pm |
|
 |
| Experienced |
Joined: Tue Jun 02, 2015 1:15 am Posts: 105 Location: Albuquerque New Mexico
|
|
Ah okay so the original post is a little out of date. I will give it a shot with out the ecu def.dtd! Thanks Dschultz!
_________________ 2001 RS 2.5 w/ 2002 harness and dash swap 2001 jdm ej205 w/avcs
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Fri Dec 22, 2017 11:17 pm |
|
 |
| RomRaider Developer |
Joined: Thu May 21, 2009 1:49 am Posts: 7323 Location: Canada eh!
|
|
Let me correct myself. There is the one in the first post. It is not up to date but should satisfy the XmlToIdc application to allow it to run.
|
|
| Top |
|
 |
|
kennezer
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sat Jan 06, 2018 11:40 pm |
|
 |
| Experienced |
Joined: Tue Jun 02, 2015 1:15 am Posts: 105 Location: Albuquerque New Mexico
|
Dschultz, could you help me figure out how to get the SSM base of a carberry rom? I can't find much information that shows how to do it on a 16 bit, all the examples are of 32 bit. I think its at 0x02DD00? Code: DATA:DD00 dc.b 0 DATA:DD01 dc.b 2 DATA:DD02 dc.b 18h DATA:DD03 dc.b 3Fh ; ? DATA:DD04 dc.b 0 DATA:DD05 dc.b 2 DATA:DD06 dc.b 0B1h ; ¦ DATA:DD07 dc.b 63h ; c DATA:DD08 dc.b 0 DATA:DD09 dc.b 2 DATA:DD0A dc.b 0B1h ; ¦ DATA:DD0B dc.b 64h ; d DATA:DD0C dc.b 0 DATA:DD0D dc.b 2 DATA:DD0E dc.b 0B1h ; ¦ DATA:DD0F dc.b 65h ; e And my xmltidc string would be: Code: XmlToIdc.exe stdparam 16 ecu CarBerry 2dd00 > stdparam.idc Or is there an easier way to do this since we already have definitions and a logger file?
_________________ 2001 RS 2.5 w/ 2002 harness and dash swap 2001 jdm ej205 w/avcs
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sun Jan 07, 2018 1:41 pm |
|
 |
| RomRaider Developer |
Joined: Thu May 21, 2009 1:49 am Posts: 7323 Location: Canada eh!
|
|
That command worked for me using the posted CarBerry SDLogger.xml file.
You do not have the required permissions to view the files attached to this post.
|
|
| Top |
|
 |
|
Rick2014
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Fri Apr 17, 2020 3:20 pm |
|
 |
| RomRaider Donator |
Joined: Wed Feb 04, 2015 8:41 pm Posts: 163
|
|
Hi @NSFW I'm trying to open this XmlToIdc.exe only it comes up blank to me. Also is there a why of finding the numbers of the rom in ecuflash with out stripping down my ecu to find it
I'm only learning here so I might have my facts wrong
I would like the idea of finding tables and maybe even reverse engineer the Rom
|
|
| Top |
|
 |
|
Rick2014
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Fri Apr 17, 2020 3:20 pm |
|
 |
| RomRaider Donator |
Joined: Wed Feb 04, 2015 8:41 pm Posts: 163
|
|
Hi @NSFW ive tried clicking on your link XmlToIdc.exe but I'm only getting a blank page
Also I'm looking for the numbers in ecuflash that you refer to in info only I carnt see it . Is there a way of finding this with out stripping down my ecu
I'm interested in learning new things, finding new tables and maybe even reverse engineer my Rom.
I may have my facts a bit wrong here .I'm showing interest here .
the Ida I have is version 7 I carn't justify spending loads of money on something I no nothing about
|
|
| Top |
|
 |
|
nsfw
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Fri Apr 17, 2020 5:39 pm |
|
 |
| Moderator |
Joined: Thu Nov 23, 2006 2:23 am Posts: 2565
|
The download link worked for me just now, but try this: https://github.com/dschultzca/Definitio ... lToIdc.exeThere is a download button on that page. I'm not sure which numbers you're looking for but if you can be more specific I'll be happy to help. I'm using IDA 6.1 so 7 should be fine.
_________________ 2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!
|
|
| Top |
|
 |
|
Rick2014
|
Post subject: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Fri Apr 17, 2020 5:52 pm |
|
 |
| RomRaider Donator |
Joined: Wed Feb 04, 2015 8:41 pm Posts: 163
|
NSFW wrote: The download link worked for me just now, but try this: https://github.com/dschultzca/Definitio ... lToIdc.exeThere is a download button on that page. I'm not sure which numbers you're looking for but if you can be more specific I'll be happy to help. I'm using IDA 6.1 so 7 should be fine. Hi first of all my problem lies with this I’ve quoted a bit down below .It says change processor type to Motorola series 6816 .So when I go to processor type it doesn't seem to be available in the drop down bar . Second of all you mention that if certain numbers carnt be found in ecuflash for then I would have to remove the cover off my ecu to get the number or serial number . I'm rubbish at explaining things so thanks for your patients . I'm also very new to this and trying to learn something and find new tables for the rom . If successful I will happily share with others as I find them. I enjoy things like this . Can I ask what your name is please? also I never got your reply on my phone I had to check on my laptop lol I've created two scripts to help decode 16bit ROMs in IDA. Source: Format16bitROM.idc Here are the steps: 1.You will not need to convert your 160kb ROM to 192kb, either size can be opened and formatted by this process. 2.Open your ROM with IDA. 3.Change the processor type to Motorola Series: 6816. 4.No need to define a RAM segment just click OK to proceed. 5.Under the IDA File menu select Script file (Alt-F7) 6.Select the script named Format16bitROM.idc 7.Read the warning and press Yes to proceed formatting the ROM.
|
|
| Top |
|
 |
|
Rick2014
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Fri Apr 17, 2020 6:07 pm |
|
 |
| RomRaider Donator |
Joined: Wed Feb 04, 2015 8:41 pm Posts: 163
|
And also I have this . This is on ida 7 am I missing something with the Motorola code    Sent from my iPhone using Tapatalk
|
|
| Top |
|
 |
|
nsfw
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sat Apr 18, 2020 4:31 am |
|
 |
| Moderator |
Joined: Thu Nov 23, 2006 2:23 am Posts: 2565
|
|
I think the problem there is that your version of IDA only supports the processors used in PCs. The full version has a much longer list of processors to choose from. It's also expensive, though.
However there is now a free competitor to IDA, called Ghidra (originally created by the NSA, and they open-sourced it). I don't know whether it supports the 6816 that you need, but it does support a long list of them, so it is definitely worth a look. I opened it up a while back just to have a look, but I didn't mess with it long for long enough to really figure it out. However I suspect it's probably better than IDA, because it has a decompiler in addition to a disassembler.
The drawback is that the setup scripts will need to be redone to work with Ghidra, since the IDC language that they use is unique to IDA. Ghidra is scriptable though, so it's feasible to create an XmlToGhidra script that writes out whatever Ghidra needs instead (Java, if I remember right).
So it's going to take some extra work to make the leap, but since it's $0 and apparently even better than IDA, I think Ghidra will eventually be THE tool for this kind of stuff.
All of the work I did was with 32-bit ROMs (and mostly just the ROM from my own car), so I don't actually know much about the 16-bit ones and I'm not familiar with the numbers you're referring to. I never had a need to open up my ECU.
_________________ 2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!
|
|
| Top |
|
 |
|
Rick2014
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sat Apr 18, 2020 7:24 am |
|
 |
| RomRaider Donator |
Joined: Wed Feb 04, 2015 8:41 pm Posts: 163
|
NSFW wrote: I think the problem there is that your version of IDA only supports the processors used in PCs. The full version has a much longer list of processors to choose from. It's also expensive, though.
However there is now a free competitor to IDA, called Ghidra (originally created by the NSA, and they open-sourced it). I don't know whether it supports the 6816 that you need, but it does support a long list of them, so it is definitely worth a look. I opened it up a while back just to have a look, but I didn't mess with it long for long enough to really figure it out. However I suspect it's probably better than IDA, because it has a decompiler in addition to a disassembler.
The drawback is that the setup scripts will need to be redone to work with Ghidra, since the IDC language that they use is unique to IDA. Ghidra is scriptable though, so it's feasible to create an XmlToGhidra script that writes out whatever Ghidra needs instead (Java, if I remember right).
So it's going to take some extra work to make the leap, but since it's $0 and apparently even better than IDA, I think Ghidra will eventually be THE tool for this kind of stuff.
All of the work I did was with 32-bit ROMs (and mostly just the ROM from my own car), so I don't actually know much about the 16-bit ones and I'm not familiar with the numbers you're referring to. I never had a need to open up my ECU. That’s that idea out of the window then lol Sent from my iPhone using Tapatalk
|
|
| Top |
|
 |
|
Rick2014
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sat Apr 18, 2020 8:43 am |
|
 |
| RomRaider Donator |
Joined: Wed Feb 04, 2015 8:41 pm Posts: 163
|
NSFW wrote: I think the problem there is that your version of IDA only supports the processors used in PCs. The full version has a much longer list of processors to choose from. It's also expensive, though.
However there is now a free competitor to IDA, called Ghidra (originally created by the NSA, and they open-sourced it). I don't know whether it supports the 6816 that you need, but it does support a long list of them, so it is definitely worth a look. I opened it up a while back just to have a look, but I didn't mess with it long for long enough to really figure it out. However I suspect it's probably better than IDA, because it has a decompiler in addition to a disassembler.
The drawback is that the setup scripts will need to be redone to work with Ghidra, since the IDC language that they use is unique to IDA. Ghidra is scriptable though, so it's feasible to create an XmlToGhidra script that writes out whatever Ghidra needs instead (Java, if I remember right).
So it's going to take some extra work to make the leap, but since it's $0 and apparently even better than IDA, I think Ghidra will eventually be THE tool for this kind of stuff.
All of the work I did was with 32-bit ROMs (and mostly just the ROM from my own car), so I don't actually know much about the 16-bit ones and I'm not familiar with the numbers you're referring to. I never had a need to open up my ECU. Hi So if I was to look and to find and define a table would I need ida ? If so would the version of 6.1 work ? I tried the link on github and it seems to be really slow Sent from my iPhone using Tapatalk
|
|
| Top |
|
 |
|
Rick2014
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sat Apr 18, 2020 9:14 am |
|
 |
| RomRaider Donator |
Joined: Wed Feb 04, 2015 8:41 pm Posts: 163
|
So i've looked at my Rom file and i looked at the injector latency shown below (This is just an example I'm using to better try and explain myself). I'm assuming here this is called the string? And to get the injector latency to work is that it down below or is there another command that this has to be coupled with to work? My other question is to even establish what injector latency is in the first place how do you actually com across it ? obviously any old numbers arnt just punched in and hope for the best. My thinking is <table name= is needed to start ? The name " injector Latency" address to get it to work (command? address= is this the formula? "287a2"> and end of the string </table> if these numbers and letters are the formula "287a2"> what makes it the formula ? <table name="Injector Latency" address="287a2"> </table> Excuse me for trying to learn I may have many more questions 
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 7 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
|
|