|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
dschultz
|
Post subject: SH7055/SH7058/SH72531/SH72543R Processor Register Listing Posted: Sun Feb 14, 2010 1:22 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
I put together this register definition for the SH7055 / SH7058 / SH72531 & SH72543R for use with IDA. Let me know if you see any errors. Attachment: sh3.zip Attachment: Renesas CPU Summary.xls
You do not have the required permissions to view the files attached to this post.
Last edited by dschultz on Wed Feb 17, 2010 8:32 pm, edited 2 times in total.
|
|
| Top |
|
 |
|
fujiillin
|
Post subject: Re: SH7058 Processor Register Listing Posted: Mon Feb 15, 2010 9:57 am |
|
 |
| Experienced |
 |
Joined: Tue Feb 12, 2008 11:00 pm Posts: 153
|
|
Thanks so much! Going through the manual to find all of these addresses is pretty tedious, this will definitely make things much easier. Should have some time to try it out later.
_________________ 06 Wrx Wagon 2.3 longrod in the works
|
|
| Top |
|
 |
|
fujiillin
|
Post subject: Re: SH7058 Processor Register Listing Posted: Mon Feb 15, 2010 7:13 pm |
|
 |
| Experienced |
 |
Joined: Tue Feb 12, 2008 11:00 pm Posts: 153
|
|
Everything worked great with the exception of some HCAN registers:
I got a huge list of these for them: FFFFDCF2: can't rename byte as 'HCAN1_MB31[17],[18]_W' because it contains a bad character ','.
Edit: I was looking for a way to get Xrefs for the registers, but I realized that instead of binary pattern searching for the address and parsing all of the hits, a text pattern search only hits the actual uses, making things just as easy as Xrefs.
Thanks!
_________________ 06 Wrx Wagon 2.3 longrod in the works
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: SH7058 Processor Register Listing Posted: Mon Feb 15, 2010 8:43 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
Shoot, I thought I cleaned all those out... try the new version in the OP. I'll add in the SH7055 in the next day or two.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Wed Feb 17, 2010 8:33 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
Added SH7055, now in the OP zip file.
|
|
| Top |
|
 |
|
nsfw
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Mon Jun 07, 2010 2:02 am |
|
 |
| Moderator |
Joined: Wed Nov 22, 2006 10:23 pm Posts: 2565
|
|
This is really useful, thanks!
_________________ 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 |
|
 |
|
Fiend
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Wed Jun 16, 2010 1:34 pm |
|
 |
| RomRaider Donator |
Joined: Tue Apr 24, 2007 6:49 pm Posts: 243
|
|
Probably a stupid question but how do you use this configuration file? Do you rename it to IDA.cfg and put it in the IDA's root directory? I don't see a menu command for loading the configuration file. I'm a IDA newb, so it's probably something simple.
Thanks!
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Wed Jun 16, 2010 2:49 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
Just replace the current file with the one you downloaded from here.
|
|
| Top |
|
 |
|
Fiend
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Wed Jun 16, 2010 2:58 pm |
|
 |
| RomRaider Donator |
Joined: Tue Apr 24, 2007 6:49 pm Posts: 243
|
dschultz wrote: Just replace the current file with the one you downloaded from here. Oh my god I'm such a newb. I completely missed the CFG directory...lol. Sorry and thanks. 
|
|
| Top |
|
 |
|
Sasha_A80
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Tue Jan 11, 2011 6:01 pm |
|
 |
| Senior Member |
Joined: Mon Jan 19, 2009 2:31 pm Posts: 1615 Location: Moscow, Russia
|
|
Following corrections in sh3.cfg make evident where AUD debugging is disabled inside the ROM.
.SH7055 ; Power-down State SYSCR_B 0xFFFFF708 MSTCR_[W]_W 0xFFFFF70A MSTCR_[R]_B 0xFFFFF70B
.SH7058 ; Power-Down State SYSCR1_B 0xFFFFF708 SYSCR2_[W]_W 0xFFFFF70A SYSCR2_[R]_B 0xFFFFF70B
.SH7058S ; Power-Down State SYSCR1_B 0xFFFFF708 SYSCR2_[W]_W 0xFFFFF70A SYSCR2_[R]_B 0xFFFFF70B
OS is configured to disable AUD debugging just after secondary bootloader (using SCI2 communication port) transfers control to OS.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Tue Jan 11, 2011 6:40 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
| Top |
|
 |
|
Double Phister
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Thu Feb 24, 2011 1:00 pm |
|
 |
| Newbie |
 |
Joined: Sun Dec 10, 2006 4:04 am Posts: 96 Location: Sacramento, CA
|
|
IDA newb here.
I don't see any addresses beyond the end of the RAM that ends at 0xFFFFBFFF
Should I see this stuff somewhere when looking at the ROM or is it related to some other function within IDA?
_________________ 05 WRX STi My Mods
|
|
| Top |
|
 |
|
Mart
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Thu Feb 24, 2011 2:55 pm |
|
 |
| Experienced |
Joined: Sat May 31, 2008 10:14 pm Posts: 125 Location: Quebec
|
from here: http://www.romraider.com/forum/viewtopi ... =25&t=6303RAM segment: For 7055, Start is 0xFFFF6000 and Length is 0x8000 For 7058, Start is 0xFFFF0000 and Length is 0xC000 Be sure to check the box to make the RAM segment. it is documented in the spec sheet. Mart Double Phister wrote: IDA newb here.
I don't see any addresses beyond the end of the RAM that ends at 0xFFFFBFFF
Should I see this stuff somewhere when looking at the ROM or is it related to some other function within IDA?
|
|
| Top |
|
 |
|
Double Phister
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Thu Feb 24, 2011 7:34 pm |
|
 |
| Newbie |
 |
Joined: Sun Dec 10, 2006 4:04 am Posts: 96 Location: Sacramento, CA
|
Mart wrote: from here: viewtopic.php?f=25&t=6303RAM segment: For 7055, Start is 0xFFFF6000 and Length is 0x7FFF For 7058, Start is 0xFFFF0000 and Length is 0xBFFF Be sure to check the box to make the RAM segment. it is documented in the spec sheet. Mart Ya I got that part. My question was what does this register listing do for me? Should I be able to see the addresses above 0xFFFFBFFE (I'm looking at a 7058)? Will this just label references in the ROM to these registers with nicer names?
_________________ 05 WRX STi My Mods
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Thu Feb 24, 2011 8:32 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
If you made the RAM segment from 0xFFFF0000 to 0xFFFFFFFF before you did the analysis then you can see them at the high end of RAM, otherwise not. If you used a RAM segment of 0xFFFF0000 to 0xFFFFBFFFF then you will only see them referenced in code like this sample. Attachment: code.png
You do not have the required permissions to view the files attached to this post.
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 9 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
|
|