RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 9:54 pm

All times are UTC




Post new topic Reply to topic  [ 121 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 9  Next
Author Message
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Sun Jul 22, 2012 2:51 am 
Offline
Experienced
User avatar

Joined: Thu Jul 22, 2010 10:22 am
Posts: 148
Location: Australia
Nevermind i got it to work! :P

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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Sun Jul 22, 2012 8:01 am 
Offline
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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Sun Jul 22, 2012 11:06 am 
Offline
Experienced
User avatar

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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Sun Jul 22, 2012 11:13 am 
Offline
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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Mon Jul 23, 2012 3:08 am 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
Easty wrote:
Nevermind i got it to work! :P

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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Tue Jul 24, 2012 6:31 am 
Offline
Experienced
User avatar

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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Tue Jul 24, 2012 6:44 am 
Offline
Experienced
User avatar

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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Tue Jul 24, 2012 8:12 am 
Offline
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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Tue Jul 24, 2012 1:32 pm 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
Then annoying as hell afterwards :wink:

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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Wed Jul 25, 2012 7:39 am 
Offline
Experienced
User avatar

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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Wed Jul 25, 2012 8:39 pm 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
See 1.4 of viewtopic.php?t=8449


Top
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Sat Aug 25, 2012 3:14 pm 
Offline
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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Sat Aug 25, 2012 3:49 pm 
Offline
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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Sun Aug 26, 2012 6:21 pm 
Offline
Newbie

Joined: Sat Jul 07, 2007 5:47 am
Posts: 38
Easty wrote:
Nevermind i got it to work! :P

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
 Profile  
 
 Post subject: Re: UTILITY: XmlToIdc generates IDC from ecu and logger defs
PostPosted: Sun Aug 26, 2012 7:06 pm 
Offline
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! :P

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
 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 ... 9  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl