Welcome to this project which seeks to progress the understanding of the CSL '0401' program binary.
To contribute to this project please use the "Issues" feature to report discoveries of new information and bugs (issues identified with existing information). If you have general questions or would like to discuss particular items in general please use the "Discussions" feature.
At present the Ghidra project file is available for download. Any additions / changes you make to it will need to be reported back as a "Discovery" using the Issues feature. In the future this project will possibly use the Ghidra server functionality to make the master project file available to multiple contributors at once, but for now let's keep things simple.
The most important thing to be aware of when inspecting the project file is that 3 binaries are loaded to it:
Full 211323000401PD31_TERRA.bin
Master
Slave
The first item is a load of the entire binary. The second and third are the Master and Slave components of the binary split out. The Master and Slave items are the ones that should be used for disassembly and discovery.
This project makes use of the wiki feature.
Identified Functions
Identified Variables
This project uses Ghidra which is a very powerful open source Software Reverse Engineering (SRE) toolset developed by the NSA.
This project also relies on the following files which have been enhanced to add the appropriate CPU32 support (particularly the TBL lookup instructions).
Once Ghidra has been installed and the CPU32 support added the project files can be opened.
Below are details of the reference documents provided:
CPU32RM.pdf: This is the reference document for the CPU32 architecture that the MSS54HP processors are based on. Useful for referencing instructions, etc.
MC68376.pdf: This is the Motorola reference document for the MC68336/376 processors. As far as I can tell the MSS54HP uses the MC68336 or a very similar variant of it.
Full 211323000401PD31_TERRA.bin: The full 0401 binary (with Terra's bootloader modifications) copied here for reference/posterity.
MSS54 FunktionsRahmen: The MSS54 funktionsrahmen documents for reference.