Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Industries Academia Support User Community Company

 

Target Support Packageā„¢ FM5 (for Freescaleā„¢ MPC5xx) 2.2.1

Product Description

Processor-in-the-Loop Testing

PIL testing features in Target Support Package FM5 help you perform code validation directly from Simulink. They also provide metrics for the generated code. The code runs on a development board using your cross-compiler tool chain. You can then use your debugger to set breakpoints, step through, or run the generated code.

In PIL mode, a plant model runs in nonreal time on the host computer in Simulink. Meanwhile, generated code running on the MPC5xx exchanges signals via RS232 serial communication with the Simulink simulation running on your Windows PC host computer. At each sample interval, Simulink performs model updates and sends output signal data via RS232 to the Freescale MPC5xx.

During PIL testing, you can include Scope blocks in the Simulink plant model. These blocks assist code validation by displaying signal data. The host computer retains metrics for incorporation into an HTML report. The signal data retrieved from the microcontroller is used for the next simulation step of the plant model.

After algorithm validation, you can export C code generated by Real-Time Workshop Embedded Coder. All nonessential code that was included to support host target serial communications for PIL testing is eliminated. You can then use the C code with your existing cross compiler and build environment.

Contact sales
Free technical kit
Trial software
E-mail this page

Get Pricing and
Licensing Options