|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
Double Phister
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Thu Feb 24, 2011 8:56 pm |
|
 |
| Newbie |
 |
Joined: Sun Dec 10, 2006 4:04 am Posts: 96 Location: Sacramento, CA
|
dschultz wrote: 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... Ah. Thanks.
_________________ 05 WRX STi My Mods
|
|
| Top |
|
 |
|
Mart
|
Post subject: Re: SH7055 & SH7058 Processor Register Listing Posted: Thu Feb 24, 2011 9:03 pm |
|
 |
| Experienced |
Joined: Sat May 31, 2008 10:14 pm Posts: 125 Location: Quebec
|
indeed thanx! Mart Double Phister wrote: dschultz wrote: 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... Ah. Thanks.
|
|
| Top |
|
 |
|
fenugrec
|
Post subject: Re: SH7055 / SH7058 & SH72531 Processor Register Listing Posted: Tue Feb 25, 2014 3:41 pm |
|
 |
| Experienced |
 |
Joined: Wed Jan 08, 2014 11:07 pm Posts: 652
|
|
Sorry to raise this thread from the dead, but I think I have something to contribute that could be useful. I modified dschultz's sh3.cfg to add definitions for memory areas and interrupt vectors, for SH7055 targets.
The "memory area" isn't working as well as I hoped, you still have to manually enter the ROM and RAM section extents when loading a ROM. I also added a version of the SH7055 device (called sh7055_twinVT) which is useful at least for some Nissan QR25DE ECUs. They have an incomplete interrupt vector table at 0x000000000 , and the power-on reset code (@ 0x00104) then modifies the vbr register to point to a secondary vector table at 0x00001000.
If someone wants to do the same thing for SH7058 / other devices, the best way I've found is to use the .h and .c files from Renesas which contain the interrupt names (but not the addresses), then work some magic with sed. I actually used Octave, sed, and paste.
The attachment contains only my additions; they need to be pasted in dschultz's sh3.cfg.
You do not have the required permissions to view the files attached to this post.
Last edited by fenugrec on Tue Dec 23, 2014 1:49 pm, edited 1 time in total.
|
|
| Top |
|
 |
|
GWS191_L
|
Post subject: Re: SH7055 / SH7058 & SH72531 Processor Register Listing Posted: Thu Oct 09, 2014 2:30 am |
|
 |
| Newbie |
Joined: Tue Oct 01, 2013 9:58 am Posts: 12
|
|
Are there the register definition for the SH7059 & SH72543R for use with IDA?
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: SH7055/SH7058/SH72531/SH72543R Processor Register Listin Posted: Sat Oct 18, 2014 2:24 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
SH72543R has been added, see the files in the first post.
|
|
| Top |
|
 |
|
fenugrec
|
Post subject: Re: SH7055/SH7058/SH72531/SH72543R Processor Register Listin Posted: Fri Jul 29, 2016 5:44 pm |
|
 |
| Experienced |
 |
Joined: Wed Jan 08, 2014 11:07 pm Posts: 652
|
Forgot to mention it here; I copied dschultz' defs and added some Nissan variants to them: https://github.com/fenugrec/nissutils/t ... elpers/cfgIf someone else wants to contribute, I'm missing defs for: 7059 72531 72533 72534
_________________ If you like nisprog + npkern, you can support me via https://liberapay.com/fenugrec/ For sending me encrypted/secure messages, use PGP key 0xBAC61AEB3A3E6531 available from pool.sks-keyservers.net
Last edited by fenugrec on Fri Jun 24, 2022 1:20 pm, edited 2 times in total.
|
|
| Top |
|
 |
|
Swivel
|
Post subject: Re: SH7055/SH7058/SH72531/SH72543R Processor Register Listin Posted: Sat Jun 24, 2017 10:55 pm |
|
 |
| Newbie |
Joined: Sat Jun 24, 2017 9:25 pm Posts: 2
|
Another Ultra Newb here with another necropost. I'm quite confused... Dropping the sh3.cfg file into IDA's cfg directory doesn't add anything to the list of processors. Am I missing something? Code: C:\Program Files (x86)\IDA Free\cfg\sh3.cfg
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: SH7055/SH7058/SH72531/SH72543R Processor Register Listin Posted: Mon Jun 26, 2017 9:23 am |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
I don't think that version of IDA supports this processor. You need to buy the Pro version.
|
|
| Top |
|
 |
|
Swivel
|
Post subject: Re: SH7055/SH7058/SH72531/SH72543R Processor Register Listin Posted: Mon Jun 26, 2017 9:00 pm |
|
 |
| Newbie |
Joined: Sat Jun 24, 2017 9:25 pm Posts: 2
|
dschultz wrote: I don't think that version of IDA supports this processor. You need to buy the Pro version. Ok, good to know! Thanks!
|
|
| Top |
|
 |
|
Serega77
|
Post subject: Re: SH7055/SH7058/SH72531/SH72543R Processor Register Listin Posted: Tue Jul 18, 2017 6:17 am |
|
 |
| Newbie |
Joined: Wed Jun 21, 2017 8:10 am Posts: 3
|
|
Good afternoon. Please tell me which processor to choose when opening the firmware in IDA? SH2A, SH3B ... SH4? I have SH7058, it's SH2E, but it's not on the IDA list.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: SH7055/SH7058/SH72531/SH72543R Processor Register Listin Posted: Tue Jul 18, 2017 9:09 am |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
Check the spreadsheet in the first post if you are not sure. Only IDA Pro supports this processor.
|
|
| Top |
|
 |
|
Serega77
|
Post subject: Re: SH7055/SH7058/SH72531/SH72543R Processor Register Listin Posted: Tue Jul 18, 2017 2:38 pm |
|
 |
| Newbie |
Joined: Wed Jun 21, 2017 8:10 am Posts: 3
|
|
I have IDA Pro. I placed the sh3.cfg file in the cfg folder. When opening the firmware, I select Renesas SH2A, then 7058. Analysis gives a lot of code. If I select SH3 or SH4 when opening the firmware, then I select 7058, the analysis gives little code. What's the difference when choosing SH2A or SH3, SH4?
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: SH7055/SH7058/SH72531/SH72543R Processor Register Listin Posted: Tue Jul 18, 2017 4:28 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
Choose SH4B, then SH7058.
|
|
| Top |
|
 |
|
Serega77
|
Post subject: Re: SH7055/SH7058/SH72531/SH72543R Processor Register Listin Posted: Wed Jul 19, 2017 6:59 am |
|
 |
| Newbie |
Joined: Wed Jun 21, 2017 8:10 am Posts: 3
|
dschultz wrote: Choose SH4B, then SH7058. Thanks!
|
|
| Top |
|
 |
|
GWS191_L
|
Post subject: Re: SH7055/SH7058/SH72531/SH72543R Processor Register Listin Posted: Fri Mar 30, 2018 11:12 am |
|
 |
| Newbie |
Joined: Tue Oct 01, 2013 9:58 am Posts: 12
|
|
Are there the register definition for the SH7459 for use with IDA? Witch used in Imprez's ECU.
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
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
|
|