 |
RomRaiderOpen Source ECU Tools |
|
RomRaider
Documentation
Community
Developers
|
|
Page 1 of 1
|
[ 8 posts ] |
|
| Author |
Message |
|
gecko-nick
|
Post subject: IDA Tutorial RAM size? Posted: Tue Jul 03, 2018 8:16 pm |
|
 |
| Newbie |
Joined: Fri Nov 03, 2017 3:15 pm Posts: 16 Location: Fremont
|
In this topic: viewtopic.php?f=40&t=6303Why is the RAM size increased? Quote: For 7055, Start is 0xFFFF6000, physical RAM length is 0x7FFF, but enter 0x9FFF. (+0x2000) For 7058, Start is 0xFFFF0000, physical RAM length is 0xBFFF, but enter 0xFFFF. (+0x4000)
|
|
| Top |
|
 |
|
gecko-nick
|
Post subject: Re: IDA Tutorial RAM size? Posted: Thu Jul 12, 2018 3:53 am |
|
 |
| Newbie |
Joined: Fri Nov 03, 2017 3:15 pm Posts: 16 Location: Fremont
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: IDA Tutorial RAM size? Posted: Thu Jul 12, 2018 12:48 pm |
|
 |
| RomRaider Developer |
Joined: Thu May 21, 2009 1:49 am Posts: 7323 Location: Canada eh!
|
|
I'm not sure. I don't see a reason for it as anything past the RAMs actual size will not be valid to read and write.
|
|
| Top |
|
 |
|
gecko-nick
|
Post subject: Re: IDA Tutorial RAM size? Posted: Thu Jul 12, 2018 1:59 pm |
|
 |
| Newbie |
Joined: Fri Nov 03, 2017 3:15 pm Posts: 16 Location: Fremont
|
|
It makes no sense too me but I thought perhaps it was for some virtual RAM or something.
|
|
| Top |
|
 |
|
Merp
|
Post subject: Re: IDA Tutorial RAM size? Posted: Fri Jul 13, 2018 9:04 pm |
|
 |
| Experienced |
 |
Joined: Thu Jul 23, 2009 5:46 pm Posts: 863
|
|
The processor peripheral addresses occupy this extra space (ports, CAN, ATU, etc).
_________________ Please do not send me support questions via PM, use the forum instead!
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: IDA Tutorial RAM size? Posted: Fri Jul 13, 2018 9:51 pm |
|
 |
| RomRaider Developer |
Joined: Thu May 21, 2009 1:49 am Posts: 7323 Location: Canada eh!
|
The peripherals do occupy RAM address space, just not in the extra range suggested to be added to the default RAM size. Please refer to the CPU Summary spreadsheet in the post viewtopic.php?p=56752#p56752 for the correct peripheral address range. This space is usually defined when you select the CPU type in IDA if you have the extra CFG data defined in the IDA sh3 file (same post).
|
|
| Top |
|
 |
|
Merp
|
Post subject: Re: IDA Tutorial RAM size? Posted: Fri Jul 13, 2018 10:54 pm |
|
 |
| Experienced |
 |
Joined: Thu Jul 23, 2009 5:46 pm Posts: 863
|
|
Actually they do occupy that range, at least for SH7058.. I can't speak to SH7055. SH7058 peripherals are something like 0xFFFFD000 - 0xFFFFF87F. That's why you set the upper limit to 0xFFFFFFFF not 0xFFFFBFFF.
I'll have to mess with with the CFG some more. IDA automatically defines names for everything in the CFG, but it doesn't automatically create a segment for the peripherals. This is on IDA 6.9.151221 (32-bit) The only way I have been able to get the names in the CFG to populate is to set RAM upper limit to 0xFFFFFFFE before the initial analysis.
Also, if you have issues setting RAM length to 0xFFFF, where the segment is only 1 byte, try setting length to 0xFFFE.
_________________ Please do not send me support questions via PM, use the forum instead!
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: IDA Tutorial RAM size? Posted: Tue Jul 17, 2018 3:01 pm |
|
 |
| RomRaider Developer |
Joined: Thu May 21, 2009 1:49 am Posts: 7323 Location: Canada eh!
|
|
You are correct, my hex math failed me in the last post. With the correct sh3 CFG file there is no reason to extend the RAM range though. IDA will define the peripherals and assign the correct address and decode the instructions directly related to them.
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 8 posts ] |
|
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
|
|
|