Embedded Target for Motorola MPC555 | ![]() ![]() |
Setting Up Your Installation with
Diab Cross-Compiler and SingleStep Debugger
To use the Embedded Target for Motorola MPC555 with the Diab cross-compiler, you need the following:
Install Diab Cross-Compiler
If you have not already done so, install the Diab cross-compiler, following the installation instructions provided by Wind River Systems. When the installer prompts for Components, select Diab C Compiler
. When the installer prompts for a Target, select PowerPC
and all related components.
You do not need to set a default processor or other compiler defaults. During the code generation and build process, the Embedded Target for Motorola MPC555 will generate a makefile that sets the correct options.
You will need to note the path to the installed compiler in order to configure your target preferences (see Set Target Preferences for Diab and SingleStep).
Install SingleStep Debugger
The SingleStep debugger, in conjunction with the Embedded Target for Motorola MPC555, lets you download, run and debug generated code. Installing and configuring SingleStep for this purpose is a somewhat elaborate procedure, so we have documented it in a separate section, Installing SingleStep Debugger.
You will need to note the path to the installed SingleStep debugger in order to configure your target preferences (see Set Target Preferences for Diab and SingleStep).
Set Target Preferences for Diab and SingleStep
After installing your development tools, the next step is to configure your target preferences for the Diab cross-compiler and SingleStep debugger. (Please read Setting Target Preferences, if you have not yet done so.) The default target preferences are configured for Diab and SingleStep, so set your preferences to the "factory" values as follows:
Then, change TargetCompilerPath and TargetDebuggerExe
to the appropriate paths to your Diab and SingleStep installations. For example:
settargetprefs('mpc555dk','TargetCompilerPath','D:\Apps\Diab\4.3g\win32\bin')
settargetprefs('mpc555dk','TargetDebuggerExe',...
'D:\Apps\singlestep\sds762\cmd\bdmp58.exe')
For most purposes, the other target preferences fields can be left at their defaults.
![]() | Editing Target Preferences via the Property Inspector Window | Installing SingleStep Debugger | ![]() |