The PiL Transform is a hardware interface Transform that utilizes the Lauterbach Trace32 debugging software for both chip emulation and processor in the loop testing. The Transform is meant to run as a bare metal system (that is, an initialization phase followed by an infinite loop that does the work phase). The Transform operates through the debugger interface to provide a lock-step transmit/receive cycle. This means that the Transform can operate in both real-time and accelerated-time modes without requiring a time delay in the Transform itself or in other Transforms downstream from the device.
You can use the PIL Transform for Back to Back (B2B) testing of Simulink models and target code running on a Lauterbach TRACE32 in-circuit emulator (ICE) or on an in-circuit debugger (ICD).
Back to back testing is used to demonstrate equivalence between a model and its generated C code. A requirement for ISO 26262 compliance states that test platform should “correspond as closely as possible to the target environment.” Another is for MC/DC level code coverage measurement. The optimum solution for Simulink model-based development is Lauterbach's ICE and Danlaw's RapiCover, coupled with MxSuite’s powerful test platform. By reusing test cases between MIL (Simulink) and PIL (Lauterbach) the need to qualify the code generator can be eliminated.
The PiL Transform performs processor-in-loop tests by establishing communication with T32, which runs target code. The Target code runs on a T32 either in Simulator or on hardware in which power debug interface has been used as debugger. The Power Debug Interface is connected to hardware via a JTAG Connector.
Ensure that third-party software is properly installed before proceeding with MxSuite.
For issues with RLM or Trace32, contact Lauterbach support: http://www2.lauterbach.com/pdf/support.pdf |
Before creating your own project, we recommend you use the sample project: To test your own code, use this procedure: Creating a Project with Your Code We recommend that you use these Checkpoints when working with any project: It may also be helpful to refer to the Frequently Asked Questions: |
Creating a Project with Your Code