NefMoto

Technical => Reverse Engineering => Topic started by: Wildey1771 on October 11, 2020, 04:51:16 AM



Title: IDA Pro + EDC15P C167 Dissasemble
Post by: Wildey1771 on October 11, 2020, 04:51:16 AM
Hi All,

I've been toying with getting edc15 disassembled for a few days. Read the manuals ect. But for some reason I cannot load the ecu file into IDA Properly. Following information on this forum and others, no matter what I try the required addresses and data just isnt there.

Could someone point me in the right direction in loading in a EDC15P file into IDA to begin to disassemble.


Title: Re: IDA Pro + EDC15P C167 Dissasemble
Post by: timus on October 11, 2020, 05:37:58 AM
1. Load IROM to 0x0000 - 0x7FFF, set cpu to C167CS from Siemens C167 family
2. Set internal RAM at 0xE000 - 0xFFFF
3. Load EEPROM to 0x80000
4. Have fun


Title: Re: IDA Pro + EDC15P C167 Dissasemble
Post by: Wildey1771 on October 11, 2020, 07:34:47 AM
Could you maybe send a screenshot? i've done the options you said and got this

https://i.gyazo.com/5fb40761ec9e41a12b0daa024d52ae5d.png

I am trying to follow the multimap guide thats on this forum.


Title: Re: IDA Pro + EDC15P C167 Dissasemble
Post by: timus on October 11, 2020, 09:32:13 AM
Load 32KB IROM first
(http://nefariousmotorsports.com/forum/index.php?action=dlattach;topic=18538.0;attach=32468;image)
Then 512kb eeprom
(http://nefariousmotorsports.com/forum/index.php?action=dlattach;topic=18538.0;attach=32470;image)
(http://nefariousmotorsports.com/forum/index.php?action=dlattach;topic=18538.0;attach=32472;image)
Go to 0x8xxxxx and click c
(http://nefariousmotorsports.com/forum/index.php?action=dlattach;topic=18538.0;attach=32474;image)


Title: Re: IDA Pro + EDC15P C167 Dissasemble
Post by: Wildey1771 on October 11, 2020, 09:42:57 AM
Load 32KB IROM first
(http://nefariousmotorsports.com/forum/index.php?action=dlattach;topic=18538.0;attach=32468;image)
Then 512kb eeprom
(http://nefariousmotorsports.com/forum/index.php?action=dlattach;topic=18538.0;attach=32470;image)
(http://nefariousmotorsports.com/forum/index.php?action=dlattach;topic=18538.0;attach=32472;image)
Go to 0x8xxxxx and click c
(http://nefariousmotorsports.com/forum/index.php?action=dlattach;topic=18538.0;attach=32474;image)


I did that exactly as you said, When I press C, it says at the bottom,Command Make Code Failed


Title: Re: IDA Pro + EDC15P C167 Dissasemble
Post by: browny23 on October 11, 2020, 10:05:46 AM
What are you tring to change to code have you highlighted an area


Title: Re: IDA Pro + EDC15P C167 Dissasemble
Post by: Wildey1771 on October 11, 2020, 10:07:59 AM
What are you tring to change to code have you highlighted an area

I'm trying to follow the Checksum disable and multimap guide on this forum. He said to go to 0x8000 and press C but it says failed


Title: Re: IDA Pro + EDC15P C167 Dissasemble
Post by: browny23 on October 11, 2020, 10:10:49 AM
You will have to select a section then press C this is probably wrong but I click edit select all then C n then force and it will convert the whole file to code


Title: Re: IDA Pro + EDC15P C167 Dissasemble
Post by: Wildey1771 on October 11, 2020, 10:12:24 AM
What are you tring to change to code have you highlighted an area

if possible could you add me on skype so you can help that way? I plan on making a noob tutorial of getting IDA to dissasemble once i've got it working myself as people seem to struggle alot.

my skype is lewiscwilde


Title: Re: IDA Pro + EDC15P C167 Dissasemble
Post by: browny23 on October 11, 2020, 10:13:10 AM
I don't use skype I only use Facebook messenger


Title: Re: IDA Pro + EDC15P C167 Dissasemble
Post by: Wildey1771 on October 11, 2020, 10:18:16 AM
I don't use skype I only use Facebook messenger

 Could you PM me with your link and we can talk on messenger?


Title: Re: IDA Pro + EDC15P C167 Dissasemble
Post by: browny23 on October 11, 2020, 10:23:22 AM
Pm me yours as my privacy settings won't let you find me