Notices

IDA PRO open rom.bin file

Thread Tools
 
Search this Thread
 
Old Aug 22, 2019 | 01:34 PM
  #1  
iGThomas's Avatar
Thread Starter
Newbie
 
Joined: Jan 2019
Posts: 3
Likes: 0
From: Belgium
Question IDA PRO open rom.bin file

Hello,
I'm trying to open the bin file of the rom but I can't find any info on evo x roms how to do it on IDA PRO if there's something I have to check and adapt to open it correctly and also which devidce name should I choose from all the 16 devices :s




Reply
Old Aug 26, 2019 | 10:09 AM
  #2  
franzcars's Avatar
Evolving Member
 
Joined: May 2013
Posts: 191
Likes: 20
From: St.Louis
I believe I always chose M32174F4 when I was still modding roms, been awhile though
Reply
Old Aug 26, 2019 | 10:32 AM
  #3  
iGThomas's Avatar
Thread Starter
Newbie
 
Joined: Jan 2019
Posts: 3
Likes: 0
From: Belgium
@franzcars
Hello Franz thanks for the tip, I've tried that and there's still something I don't understand I it doesn't look like assembly...


ROM_:0005553F .byte 0xCD
ROM_:00055540 .byte 7
ROM_:00055541 .byte 0
ROM_:00055542 .byte 3
ROM_:00055543 .byte 0x4D ; M
ROM_:00055544 .byte 3
ROM_:00055545 .byte 0xD
ROM_:00055546 .byte 3
ROM_:00055547 .byte 3
ROM_:00055548 .byte 6
ROM_:00055549 .byte 0xF6
ROM_:0005554A .byte 5
ROM_:0005554B .byte 0xB3
ROM_:0005554C .byte 4
ROM_:0005554D .byte 0x26 ; &
ROM_:0005554E .byte 3
ROM_:0005554F .byte 0xE6
ROM_:00055550 .byte 3
ROM_:00055551 .byte 0xDC
ROM_:00055552 .byte 7
ROM_:00055553 .byte 0x36 ; 6
ROM_:00055554 .byte 5
ROM_:00055555 .byte 0xF3
ROM_:00055556 .byte 4
ROM_:00055557 .byte 0x66 ; f
ROM_:00055558 .byte 4
ROM_:00055559 .byte 0x26 ; &
ROM_:0005555A .byte 4
ROM_:0005555B .byte 0x1C
ROM_:0005555C .byte 7
ROM_:0005555D .byte 0x5C ; \
ROM_:0005555E .byte 6
ROM_:0005555F .byte 0x1A
ROM_:00055560 .byte 4
ROM_:00055561 .byte 0x8D
ROM_:00055562 .byte 4
ROM_:00055563 .byte 0x4D ; M
ROM_:00055564 .byte 4
ROM_:00055565 .byte 0x43 ; C
ROM_:00055566 .byte 7
Reply
Old Aug 26, 2019 | 06:08 PM
  #4  
W4r3z's Avatar
Newbie
 
Joined: Apr 2009
Posts: 21
Likes: 3
From: Montreal
Not sure if you saw theses, never came around fully reading everything... Maybe it can help you ? If you find something let me know I'm really interested too !

https://www.evoscan.com/technical-ve...u-dissassembly
Reply
Old Aug 27, 2019 | 12:44 AM
  #5  
iGThomas's Avatar
Thread Starter
Newbie
 
Joined: Jan 2019
Posts: 3
Likes: 0
From: Belgium
Hello @W4r3z, I saw these documents it's not very easy to understand since I don't have a compass to guide me to the correct path from where to start exactly. I saw tutorials about IDA PRO with Bosch's ECU but that won't help us further if we can't even open the M32r roms correctly.

I'll try to dig further but in case there's somebody who can assist this will be very kind
Reply
Old Aug 28, 2019 | 06:22 AM
  #6  
franzcars's Avatar
Evolving Member
 
Joined: May 2013
Posts: 191
Likes: 20
From: St.Louis
There's a hotkey to converter the hex to assembly in ida. I believe it's just press the "C" key and it'll convert that assembly
Reply
Old Sep 16, 2019 | 08:00 PM
  #7  
W4r3z's Avatar
Newbie
 
Joined: Apr 2009
Posts: 21
Likes: 3
From: Montreal
Hi There, Doing a little follow up on this ! Anyone is able to help us a little to get started ? That would be very apprecieted
Reply
Old Nov 26, 2019 | 08:22 PM
  #8  
ROB-80E's Avatar
Newbie
15 Year Member
Liked
 
Joined: Jun 2009
Posts: 83
Likes: 25
From: QLD, Australia
You have to find the code entry point, and then press "C" at that point. The entry is usually declared multiple times in the header/vector section at the start of the ROM.
Reply
Old Jun 11, 2020 | 08:03 PM
  #9  
professor_jonny's Avatar
Newbie
 
Joined: Jan 2020
Posts: 44
Likes: 2
From: taranaki
Originally Posted by ROB-80E
You have to find the code entry point, and then press "C" at that point. The entry is usually declared multiple times in the header/vector section at the start of the ROM.
I looked in the hardware manual for the H8/500 and under mode 4 max the memory map H'0000-H'01FF is the vector table and on reset the value in H'0000 to H'0003 is copied into the program counter and page register then it jumps to it and runs ?

So the value of H'0001-H'0003 is the entry point and code page on a standard reset?

So if I jump to this address and press C it will decompile the rom into assembly?

it does not do some sort of init sequence (setting up stack etc...) and jump back setting up a new code entry point or something silly?

As I could not get Assembly also I thought the entry point was the start of rom as 10000 that would explain why I got junk, I was thinking it was an issue with the version of IDA I have is it is a lot higher than 6.1
.

Last edited by professor_jonny; Jun 11, 2020 at 08:09 PM. Reason: bad spelling
Reply
Old Jun 12, 2020 | 05:00 AM
  #10  
ROB-80E's Avatar
Newbie
15 Year Member
Liked
 
Joined: Jun 2009
Posts: 83
Likes: 25
From: QLD, Australia
what ROM are you trying to decompile?
Reply
Old Jun 12, 2020 | 05:08 AM
  #11  
professor_jonny's Avatar
Newbie
 
Joined: Jan 2020
Posts: 44
Likes: 2
From: taranaki
Originally Posted by ROB-80E
what ROM are you trying to decompile?
A rom for a Mitsibishi RvR similar hardware to the evo5 (7202f)
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
20psiMR
ECU Flash
9
Feb 25, 2018 08:03 PM
10kLakesEvo
ECU Flash
2
May 9, 2014 07:55 AM
marpen
ECU Flash
3
May 29, 2012 04:00 AM
phenem
ECU Flash
72
Jul 11, 2009 08:24 AM
nonschlont
ECU Flash
6
Nov 10, 2008 01:15 AM




All times are GMT -7. The time now is 02:29 PM.