Message Mapping

AUTOSAR does not know the concept of ASCET messages. If an ASCET module containing ASCET messages is used within an AUTOSAR software component, or if the AUTOSAR SWC itself contains messages, then all messages must be mapped to semantically equivalent AUTOSAR elements.

For this purpose, ASCET provides a special editor in the Message Mapping view of the software component editor.

Note

Since ASCET V6.4.6, mapping messages to elements of NVData interfaces is no longer possible.

Existing mappings of messages to elements of NVData interfaces must be converted to NV data mappings; see Mapping Conversion for details.

SWCs that contain messages can be exported only in AMD format V6.4.8 and higher. An AMD format V6.4.7 or lower will result in an export error.

In the Message Mapping view, messages can be mapped to AUTOSAR elements according to the following rules:

Internal mapping is indicated as complete if each mappable message is mapped. External mapping is indicated as complete if each mappable message is mapped once. However, you can still map messages that allow multiple mapping.

To ease reuse of ASCET modules in SWCs, it is possible to export mappings from one SWC and import them into another SWC. You can export mappings either in an XML format or as a list of comma-separated values (*.csv). In both cases, the following information is stored for each mapping:

mapping location, message name, AUTOSAR element name

In addition, the XML export file contains further details on message and AUTOSAR element.

Both valid and invalid mappings are exported; incomplete mappings are not exported. Examples for both export formats are given in Example: Mapping Export Files.

See also

Accessing ASCET Messages

Mapping Conversion

Exporting Mappings

Importing Mappings

Example: Mapping Export Files

Introduction – Messages

Message Mapping View

Ports and Interfaces