|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
Easty
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sun Jul 22, 2012 2:51 am |
|
 |
| Experienced |
 |
Joined: Thu Jul 22, 2010 10:22 am Posts: 148 Location: Australia
|
Nevermind i got it to work! But now i get a lot of these statments- CB684: can't rename byte as 'Primary_Open_Loop_Fueling_Failsafe' because this byte can't have a name (it is a tail byte). Can i do anything to fix this?
_________________ 09 ADM WRX/ 3" Exforce Turbo Back, Hyperflow TMIC, AEM CAI, Perrin Turbo Inlet, TGV Delete, Ported VF-52, Walbro Pump, Hybrid boost control (Grimmspeed EBCS/MBC), SI-Drive Mode Selector (3 pos Rocker Sw)/ Self tuned @ 17 Psi, Last dyno run 206Kw.
|
|
| Top |
|
 |
|
td-d
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sun Jul 22, 2012 8:01 am |
|
 |
| Moderator |
Joined: Thu May 20, 2010 8:01 am Posts: 3117 Location: Johannesburg, South Africa
|
|
Make sure that the Ssmget routines on the other side of the reference table are properly decoded - other you will have o manually force them to become code (highlight the section, press C, F then yes).
_________________ He who dies with the most gadgets wins.
Please do not PM me - use the email option.
|
|
| Top |
|
 |
|
Easty
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sun Jul 22, 2012 11:06 am |
|
 |
| Experienced |
 |
Joined: Thu Jul 22, 2010 10:22 am Posts: 148 Location: Australia
|
|
I'm very new to IDA and disassembly! I was hoping I could disassemble my rom to point where I could begin to explore it in the hope that I could understand it better. I’m really struggling because I’m not sure what the code/data is meant to look like and if what I have done is correct or not.
Do you have any suggestions? How do I tell if code is code and if data is data or not?
Also could you please describe how to find these “Ssmget routines on the other side of the reference table” is it the routines following ssm base?
I'm not even 100% sure if I've found the correct ssm base adress!
_________________ 09 ADM WRX/ 3" Exforce Turbo Back, Hyperflow TMIC, AEM CAI, Perrin Turbo Inlet, TGV Delete, Ported VF-52, Walbro Pump, Hybrid boost control (Grimmspeed EBCS/MBC), SI-Drive Mode Selector (3 pos Rocker Sw)/ Self tuned @ 17 Psi, Last dyno run 206Kw.
|
|
| Top |
|
 |
|
td-d
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sun Jul 22, 2012 11:13 am |
|
 |
| Moderator |
Joined: Thu May 20, 2010 8:01 am Posts: 3117 Location: Johannesburg, South Africa
|
|
I suggest reading the how to get started with IDA thread again, the only way is through doing - you'll get the hang of it, takes time.
Have a look at some of my 'new definitions' threads - there are examples of data and code locations there.
_________________ He who dies with the most gadgets wins.
Please do not PM me - use the email option.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Mon Jul 23, 2012 3:08 am |
|
 |
| RomRaider Developer |
Joined: Thu May 21, 2009 1:49 am Posts: 7323 Location: Canada eh!
|
Easty wrote: Nevermind i got it to work! But now i get a lot of these statments- CB684: can't rename byte as 'Primary_Open_Loop_Fueling_Failsafe' because this byte can't have a name (it is a tail byte). Can i do anything to fix this? Just undefine (u) the address area that those messages pertain to. It's trying to define a byte value that has already been defined as something else (word or dword).
|
|
| Top |
|
 |
|
Easty
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Tue Jul 24, 2012 6:31 am |
|
 |
| Experienced |
 |
Joined: Thu Jul 22, 2010 10:22 am Posts: 148 Location: Australia
|
|
Thank you! I actually found this out by accident just today, I had to undefine alot of the data area for the idc script to work!
Now all i need to do is learn the instruction set so i can work on the loggic!
_________________ 09 ADM WRX/ 3" Exforce Turbo Back, Hyperflow TMIC, AEM CAI, Perrin Turbo Inlet, TGV Delete, Ported VF-52, Walbro Pump, Hybrid boost control (Grimmspeed EBCS/MBC), SI-Drive Mode Selector (3 pos Rocker Sw)/ Self tuned @ 17 Psi, Last dyno run 206Kw.
|
|
| Top |
|
 |
|
Merp
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Tue Jul 24, 2012 6:44 am |
|
 |
| Experienced |
 |
Joined: Thu Jul 23, 2009 5:46 pm Posts: 863
|
Easty wrote: Thank you! I actually found this out by accident just today, I had to undefine alot of the data area for the idc script to work!
Now all i need to do is learn the instruction set so i can work on the loggic! There is a setting in IDA to auto-comment the commands that will help with learning SH.
_________________ Please do not send me support questions via PM, use the forum instead!
|
|
| Top |
|
 |
|
td-d
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Tue Jul 24, 2012 8:12 am |
|
 |
| Moderator |
Joined: Thu May 20, 2010 8:01 am Posts: 3117 Location: Johannesburg, South Africa
|
Merp wrote: Easty wrote: Thank you! I actually found this out by accident just today, I had to undefine alot of the data area for the idc script to work!
Now all i need to do is learn the instruction set so i can work on the loggic! There is a setting in IDA to auto-comment the commands that will help with learning SH. ^ This. Very useful when you're first starting out.
_________________ He who dies with the most gadgets wins.
Please do not PM me - use the email option.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Tue Jul 24, 2012 1:32 pm |
|
 |
| RomRaider Developer |
Joined: Thu May 21, 2009 1:49 am Posts: 7323 Location: Canada eh!
|
Then annoying as hell afterwards  You still need the SH2E software manual so you can refer back to which branch/jump is slotted or not, which add, mov, etc. use which type of offset. It's best to print the summary pages out to have a handy reference in your face all the time.
|
|
| Top |
|
 |
|
Easty
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Wed Jul 25, 2012 7:39 am |
|
 |
| Experienced |
 |
Joined: Thu Jul 22, 2010 10:22 am Posts: 148 Location: Australia
|
|
Thanks for the tips! I need all the help i can get at the moment!
So should I have disassembled my rom with SH2E? My ecu is a SH7058.
_________________ 09 ADM WRX/ 3" Exforce Turbo Back, Hyperflow TMIC, AEM CAI, Perrin Turbo Inlet, TGV Delete, Ported VF-52, Walbro Pump, Hybrid boost control (Grimmspeed EBCS/MBC), SI-Drive Mode Selector (3 pos Rocker Sw)/ Self tuned @ 17 Psi, Last dyno run 206Kw.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Wed Jul 25, 2012 8:39 pm |
|
 |
| RomRaider Developer |
Joined: Thu May 21, 2009 1:49 am Posts: 7323 Location: Canada eh!
|
|
| Top |
|
 |
|
Bizko1288
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sat Aug 25, 2012 3:14 pm |
|
 |
| Newbie |
Joined: Sat Jul 07, 2007 5:47 am Posts: 38
|
Does this look right? I just want to make sure the formatting is correct for the SSM address before I keep rolling: Code: C:\Windows\system32>cd C:\Program Files\RomRaider
C:\Program Files\RomRaider>XmlToIdc.exe tables A2ZJB11J > Tables.idc
C:\Program Files\RomRaider>XmlToIdc.exe extparam 3D12594106 > ExtendedParams.idc
C:\Program Files\RomRaider>XmlToIdc.exe stdparam A2ZJB11J 0004858 > StandardPara ms.idc
|
|
| Top |
|
 |
|
rocketperson7
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sat Aug 25, 2012 3:49 pm |
|
 |
| Newbie |
Joined: Sat Jun 16, 2012 6:18 am Posts: 10
|
|
What exactly is an SSM read vector, and how do I find it? I'm also very new to this I'm working with 16 bit roms
|
|
| Top |
|
 |
|
Bizko1288
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sun Aug 26, 2012 6:21 pm |
|
 |
| Newbie |
Joined: Sat Jul 07, 2007 5:47 am Posts: 38
|
Easty wrote: Nevermind i got it to work! But now i get a lot of these statments- CB684: can't rename byte as 'Primary_Open_Loop_Fueling_Failsafe' because this byte can't have a name (it is a tail byte). Can i do anything to fix this? How? Same error for me
|
|
| Top |
|
 |
|
td-d
|
Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs Posted: Sun Aug 26, 2012 7:06 pm |
|
 |
| Moderator |
Joined: Thu May 20, 2010 8:01 am Posts: 3117 Location: Johannesburg, South Africa
|
Bizko1288 wrote: Easty wrote: Nevermind i got it to work! But now i get a lot of these statments- CB684: can't rename byte as 'Primary_Open_Loop_Fueling_Failsafe' because this byte can't have a name (it is a tail byte). Can i do anything to fix this? How? Same error for me This is answered above - go to those locations and undefine them.
_________________ He who dies with the most gadgets wins.
Please do not PM me - use the email option.
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 8 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
|
|