Embedded Target for Motorola MPC555 | ![]() ![]() |
Tutorial 1: Building and Running a PIL Cosimulation
In this tutorial, you will use a subsystem in a Simulink model as a component in simulations on your host computer, and also in a PIL cosimulation running on your phyCORE-MPC555 board.
Before You Begin
Before working with this tutorial, you should read and follow the procedures in Setting Up and Verifying Your Installation. Make sure that the target preferences are set up appropriately for your development system (CodeWarrior or Diab) as described in Setting Target Preferences
Hardware Connections
The PIL target requires both parallel and serial connections between your PC and the phyCORE-MPC555 board. The parallel connection is required for downloading code. The serial connection is required for host/target communications during cosimulation.
We assume that you have made the following connections, as described in the "Interfacing the phyCORE-MPC555 to a Host PC" section of the phyCORE-MPC555 Quickstart Instructions manual:
![]() | How Cosimulation Works | The Demo Model | ![]() |