Composition and ECU Mapping
What You Will Do
In this chapter you create the composition ECU that holds this ECU's software and map it to the node ECU. Once it is mapped, the ECU icon on the composition opens the ECU Configuration window, where chapter 6 brings in the BSW modules.
Before You Begin
- Start from the project
VehicleDesignfinished in the AUTOSAR System Tutorial. The nodeECUwas made there and is connected to the CAN bus and the LIN bus. - If you skipped that tutorial, download the finished project VehicleDesign-system.zip, unpack it and open the folder
VehicleDesignwith Open Project in the PROJECT menu.
| Where | Item | Value |
|---|---|---|
| Composition panel | NAME, AS PROTOTYPE | ECU |
| Composition menu | ECU/HPC Mapping | ECU [ECU] |
Creating the Composition
-
Click VFB under DESIGN. The tab
VehicleDesign:VFBopens. -
Right-click an empty spot on the canvas and click Add Composition.

Figure 1-1. ① Add Composition in the canvas menu.
-
Click the new composition. In the panel, enter
ECUin both NAME and AS PROTOTYPE, pressingEnterafter each, and save withCtrl+S.
Figure 1-2. ① NAME, ② AS PROTOTYPE.
Mapping It to the ECU Node
-
Right-click inside the composition and hover over ECU/HPC Mapping. The submenu lists the four nodes of the System editor. Click ECU [ECU]. Save with
Ctrl+S.
Figure 1-3. ① ECU/HPC Mapping, ② ECU [ECU].
-
Double-click the composition to go inside it. The breadcrumb reads System › ECU, and an ECU icon appears at the top right of the frame.

Figure 1-4. ① The breadcrumb, ② the ECU icon. The icon appears because the composition is mapped to an ECU node.
Why Is It Designed This Way?
- The BSW comes later. The BSW modules and their configuration are brought in once, in chapter 6, from this ECU's ECU Configuration window. Chapters 2 to 5 build only the application side.
Checklist
- Inside the composition
ECU, the breadcrumb reads System › ECU and the ECU icon is shown.
Next Step
In Data Type you create the data type the two SW-Cs exchange.