Pages: [1]
Author Topic: Confirm segments  (Read 2996 times)
dokalanyi
Full Member
***

Karma: +4/-1
Offline Offline

Posts: 119


« on: April 11, 2017, 07:06:50 AM »

Hi All,
I've run the auto IT script, imported and analysed. But the segments in IDA don't seem to be the ones described here, or the datasheet?

These is the segment set up, from what I've read on the forum:

0x0-0x7FFF: Internal ROM on the C167 processor
0xE000-0xFFFF: Internal RAM on the C167 processor
0x380000-0x38FFFF: External RAM
0x800000-0x8FFFFF: External Flash

Actually, there are multiple thoughts:

000000-007FFF 32K boot rom
008000-00DFFF MEM_EXT (380000 ... 383FFF are remapped as 008000...00BFFF)
00E000-00E7FF 2K XRAM
00E800-00EEFF Reserved
00EF00-00EFFF CAN1
00F000-00F1FF 512b E_SFR
00F200-00F5FF Reserved
00F600-00FDFF 2K IRAM
00FE00-00FFFF 512b SFR
380000-387FFF 32K Ram Physical present
388000-38FFFF ?
800000-80FFFF 64K Bottom Block
810000-81FFFF 64K Cal Tables
820000-900000 1M ECU Flash ROM resident code


I've attached the screenshot of IDA

Please bear with me, I'm an absolute noob at reverse engineering.
Logged
nubcake
Sr. Member
****

Karma: +53/-4
Offline Offline

Posts: 400


« Reply #1 on: April 11, 2017, 09:28:43 AM »

It should work decent with your first suggested segmentation, but your IDA screenshot looks off. Either mod the script or change the loading addresses manually.
« Last Edit: April 11, 2017, 09:30:29 AM by nubcake » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.612 seconds with 17 queries. (Pretty URLs adds 0s, 0q)