Embedded Target for Motorola MPC555    

Algorithm Export Target

The Embedded Target for Motorola MPC555 Algorithm Export (AE) target is an aid to code analysis and interfacing. The target generates only the code that implements the algorithm of your model or subsystem, without any overhead for PIL host/target communications or other operations extraneous to the model. Such purely algorithmic code is easier to interface to your hand-written or legacy code than code generated by the PIL or RT targets.

Another application of the AE target is to use it to produce a code generation report. Since only model code is included, you can more easily analyze the code generated from your model.

The AE target supports both the CodeWarrior and Diab cross-compilers, as specified in your target preferences (see Setting Target Preferences).

To use the AE target:

  1. Open the Simulation parameters dialog box and select the Real-Time Workshop tab. Select Target configuration from the Category menu.
  2. Click on the Browse button to open the System Target File Browser. In the browser, select Embedded Target for Motorola MPC555 (algorithm export) target. Then click OK to close the browser and return to the Real-Time Workshop pane.
  3. Follow the usual procedure for generating code from your model or subsystem.
  4. The AE target generates a project file appropriate for your cross-compiler. After generating the code and the project, the AE target automatically invokes your cross-compiler and opens the project.

We recommend using the AE target in conjunction with the Embedded Target for Motorola MPC555 HTML code generation report (see Code Analysis Reporting). If you select the Generate HTML report option, you can view a profiling report that includes detailed itemization of RAM and ROM usage for all code and data sections, and a complete memory map of the generated code. You can also easily examine the generated code via hyperlinks in the code generation report.


  Algorithm Export and Code Analysis Reporting Code Analysis Reporting