NefMoto

Technical => Reverse Engineering => Topic started by: windel on October 23, 2024, 04:10:29 PM



Title: MG1 disassembly (Ghidra or IdaPro)
Post by: windel on October 23, 2024, 04:10:29 PM
Hi,

Have MG1CS003 ECU (BMW B48/58 gen1), need to disassembly it.
Are there plugins for Ghidra for this ECU?
Or need to use IdaPro?

And which processor should I use? I have only up to TC29xx. But looks like I need a TC3xxx

Thanks!


Title: Re: MG1 disassembly (Ghidra or IdaPro)
Post by: prj on October 23, 2024, 04:45:56 PM
MG1CS003 is PowerPC.


Title: Re: MG1 disassembly (Ghidra or IdaPro)
Post by: windel on October 23, 2024, 04:59:14 PM
Which PowerPC type should I choose?
I see that it's SPC5777, but I don't see such type not in IDA or Ghidra...


Title: Re: MG1 disassembly (Ghidra or IdaPro)
Post by: prj on October 23, 2024, 06:04:35 PM
Any big endian PowerPC with VLE instruction set.


Title: Re: MG1 disassembly (Ghidra or IdaPro)
Post by: Artemisia on October 23, 2024, 06:30:03 PM
Which PowerPC type should I choose?
I see that it's SPC5777, but I don't see such type not in IDA or Ghidra...

PowerPC big-endian 32bit (In Ghidra: PowerPC:BE:32)

Links for reference:

https://www.nxp.com/docs/en/data-sheet/MPC5777M.pdf
http://www.elektronikjk.com/elementy_czynne/IC/E200Z0.pdf
https://github.com/NationalSecurityAgency/ghidra/labels/Feature%3A%20Processor%2FPowerPC

Edit: Just saw prj answered (You can delete my post)