Embedded Target for Motorola MPC555    

Generating Code

We will now generate application code:

  1. Open the Simulation parameters dialog box and select the Real-Time Workshop pane. 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 (real-time target). Then click OK to close the browser and return to the Real-Time Workshop pane.
  3. The Target configuration settings should now be as shown below.

  4. From the Category menu of the Real-Time Workshop pane, select MPC555-DK (real-time) options. The RAM option should be selected from the Target memory model menu. This option directs the Real-Time Workshop to generate a code file in Motorola S-record format, which is suitable for downloading and execution in RAM.
  1. Leave the other options set to their defaults. The code generation options should appear as shown below.

  1. You are now ready to build the application. Do this by clicking on the Build button.
  2. On successful completion of the build process, two files are created in the working directory:
    1. Target_ram.srec: Code only, without symbols, suitable for execution on the target system.
    2. Target_ram.out: Code and symbols, suitable for use with a symbolic debugger such as Wind River SingleStep.
  1. You can download to RAM:


  Using the Pass-Through Option in Simulation Downloading the Application to RAM via SingleStep/BDM