mini-RTE
One can generate a mini-RTE, based on your model, which allows you to analyze the Internal Behavior of your model with the UML Target Debugger
or generate tests with TestConductor.
The mini-RTE is a collection of C sources, which depend on the SWCs and AUTOSAR ports used in your model:
- per SWC is RTE contract is generated. This allows you to use the Rhapsody generated code in an AUTOSAR environment without modification.
The RTE contract is normally generated by an AUTOSAR authoring tool and typically contains the exact RTE APIs available for an SWC.
- per active class, a Windows thread is used and a call to its related event dispatcher runnable is generated.
- for AUTOSAR ports, code is generated for the runnables required for sender/receiver and/or client/server communication.
- for the Target Debugger, extra threads are created, since this version of the Target Debugger is compatible with the Windows RTOS adapter of a standard RXF.
To generate a mini-RTE:
- select the rootcomposition in your model:
- select ArUML_CP_miniRTEGenerator with your RHS mouse button:
- a package called ArUML_CP_miniRTE is added to your model:
- finally add this package to the scope of the active Component of your model:
When generating source code for your model, the mini-RTE is generated automatically.
The mini-RTE is part of your model files in a Deployment and can be build and used for testing your model in Visual Studio using the UML Target Debugger.