ECUC
What This Chapter Covers
This chapter explains how to use the two editors for the BSW module configuration (ECUC) of an AUTOSAR Classic Platform ECU. The examples use the ECU ECU of the AUTOSAR CP Tutorial.
- Audience: users who configure the BSW modules of an ECU (Os, Rte, EcuM, BswM and others)
- Prerequisites: a project is open and the System editor has an ECU node
Both editors open from MODULE in the EDITOR view on the left.
| Editor | What it holds | Where it opens |
|---|---|---|
| Module Definition | Which parameters a module has (the definition, .def) | MODULE ▸ Definition |
| Module Configuration | The values of those parameters (the configuration, .conf) | MODULE ▸ Configuration |
A configuration always follows a definition. Most work happens in the Module Configuration editor. PRTE Platform Import brings in the definitions of the PRTE modules, so you rarely edit a definition yourself.

① MODULE in the EDITOR view, with Definition and Configuration below it. ② Right-clicking Configuration shows Open and Import ECUC Configuration.
12.1 Module Definition Editor
Defines the structure of a module: its containers, parameters and references. You use it only when you build a vendor module yourself.
12.1.1 Opening the Editor and Screen Layout
- Click Definition under MODULE in the EDITOR view. The tab
<project>:Definitionopens. - Pick a module in the ② MODULE panel on the left. The ③ DEFINITION tree in the middle and the ④ properties panel on the right fill in.

① Definition, ② the MODULE panel with Can picked, ③ the DEFINITION tree, ④ the properties of the selected CanController.
12.1.2 MODULE Panel
- + creates a module and − deletes the selected one.
- The refresh icon with a dot (Update to current PRTE VSMD) appears when a PRTE definition of the project is older than the one PAIO ships. Click it, choose the modules in the window that opens, and click Update. A definition you modified is replaced only if you choose it. The same icon is in the ECU list of the Module Configuration editor.
- A new module gets its file only when you save with
Ctrl+S.
12.1.3 DEFINITION Tree
- Right-click a container row.
- Under Add Container, Add Parameter or Add Reference, choose the kind to create.
- Click the new item and set its name and values in the properties panel on the right.
12.1.4 Properties Panel
Edits the name, the Multiplicity and the options of each type (range, default, literals, reference destination) of the selected item.
12.2 Module Configuration Editor
The editor where you enter the values of an ECU's BSW modules.
12.2.1 Opening the Editor and Screen Layout
- Click Configuration under MODULE in the EDITOR view. The tab
<project>:Configurationopens. - The ECU list on the left shows the ECUs of the design, with the module configurations of each ECU below it.

① Configuration, ② the ECU ECU and its modules, ③ Add Module, ④ PRTE Auto Configuration.
12.2.2 ECU List
- + (Add Module) on an ECU row lists the modules. Pick one to create its configuration in that ECU. The name is the module's name; a second configuration is named
<module>_1. - × on a configuration row deletes the configuration. Double-click its name to rename it.
- Add Module is off while the project holds no module definition, and PRTE Auto Configuration is off while the ECU holds no configuration (
Import PRTE modules first.). - A new configuration gets its file only when you save with
Ctrl+S.
12.2.3 CONFIGURATION Tree
The tree follows the definition. The definition's containers appear as group rows, with the actual instances under them. A group that does not yet reach its lower bound shows its multiplicity ([1..1]) in red.
To add a container, using OsOS of Os as the example:
- Click ① Os under the ECU in the list.
- Click ③ + on the red
OsOSgroup row ②. The instanceOsOSappears.

① Os, ② the OsOS row, ③ +. The lower bound of OsOS is 1, so its multiplicity is red.
12.2.4 Description Tab and Validation Tab
Two tabs sit at the bottom of the middle panel.
- DESCRIPTION shows the definition's description of the parameter you just clicked.
- VALIDATION collects problems such as a required parameter with no value or a value out of range. Click an entry to go to it. The number in the tab label counts errors.

① The tab label VALIDATION (57). ② Errors and warnings grouped by module.
12.2.5 Value Editing Panel
- Click an instance in the tree, such as
OsOS. - Enter the values under PARAMETERS in the panel on the right. Numbers and text use an input box, enumerations a combo box, and booleans the TRUE / FALSE buttons.
- Save with
Ctrl+S.

① OsOS, ② to ⑤ the parameters with values entered. [1..1] at the start of a row means the parameter must have a value.
- An empty required parameter is underlined in red.
- The revert icon at the right of a row resets the value to the definition's default.
- A grey value in an input box may be only the default, not a value saved in the file.
12.2.6 Configuring an ECU from the Design
The values the design decides (tasks, RTE mappings, the communication stack and so on) are filled in from the design, not by hand.
- Click the PRTE Auto Configuration icon on the ECU row of the ECU list.
- The PRTE Auto Configuration window previews the run; nothing is written yet. The files are grouped by area. Click a file to see what it Adds, the Values from the design, what is Kept as you set them, and what is Removed. NOTES lists the remarks of the run, and
Not imported:names modules you still have to import. - Click Configure. On a later run the button reads Apply.

① The files the run writes, ② the opened file Os, ③ Configure.
Caution. The run also changes values you entered that the design decides. Read the preview before you click Apply.
- The whole run is one undo step.
- After a design change, the icon carries a dot, and its tooltip lists the files the run would change. Click the icon to bring the configuration back in line.
- The design does not decide every value. The VALIDATION tab shows the values that are still missing.
12.3 How References Are Resolved
You pick a reference value from a list that holds only the destination containers the definition names. A value whose target does not exist is highlighted and reported as a warning under VALIDATION. When you rename an element in another editor, the reference values in the configurations follow.
12.4 Automatic ECUC Generation
Two features build ECUC from the design. Both also open from the ECU Configuration window of the VFB editor.
| Feature | What it does |
|---|---|
| PRTE Platform Import | Brings in the PRTE definitions and empty configurations of the chosen BSW modules |
| PRTE AUTO CONFIGURATION (the PRTE Auto Configuration icon) | Writes the values the design decides and leaves the rest. It adds no module |
PRTE needs the configurations of the five modules Os, Rte, EcuM, BswM and Mcu to generate code. For the actual order, follow chapters 6 to 10 of the AUTOSAR CP Tutorial, which configure the BSW of an ECU on a CAN bus, network management included, by hand, without PRTE AUTO CONFIGURATION.
12.5 ECUC Import and Export
12.5.1 Import
Brings in ECUC values made by another tool from an ARXML file.
- Right-click Configuration under MODULE and click Import ECUC Configuration.
- Choose an
.arxmlfile. - If it overlaps existing configurations, the Conflict Resolution window opens. Click Module Definition, choose All → Use Imported, then click Resolve.

① All → Use Imported, ② Resolve 4/4.
When it finishes, ECUC Configuration Import Complete: imported <n> module configuration(s). appears. A module whose definition is not found is skipped.
12.5.2 Export
Export in the DESIGN header of the EDITOR view exports ECUC together with the rest. Only configurations with an ECU set are exported, so check the ECU of each configuration first.
12.6 Editing Rules and Shortcuts
12.6.1 Naming Rules
A name starts with a letter, uses only letters, digits and underscores, and is at most 128 characters. A name that breaks the rule is not saved.
12.6.2 Shortcuts
| Action | Shortcut |
|---|---|
| Save | Ctrl+S |
| Undo / Redo | Ctrl+Z / Ctrl+Y |
| Delete the selection | Delete |
| Duplicate a container instance (Configuration editor) | Ctrl+D |
12.6.3 External Changes
When another tool changes an open file and you have unsaved edits, the editor keeps your edits and shows a warning. Without edits it reloads quietly.
12.6.4 License State and Editing Restrictions
A read-only session blocks editing. See 03. Installation, Login and License.