ETAS

RTA Knowledge Base


Scope

The concept of E2E protection assumes that safety-related data exchange shall be protected at runtime against the effects of faults within the communication link.  

The E2E Library provides mechanisms for E2E protection, according to ASIL-D compliance requirements, for all safety-related functions in scope to RTA-SUM. It only detects such errors for a single signal group received data and returns this information to the callers (e.g. SWCs), which have to react appropriately.

The algorithms of protection mechanisms are implemented in the E2E Library. The callers of the E2E Library are responsible for the correct usage of the library, in particular for providing correct parameters to the E2E Library routines. In fact, the E2E Library will always be used through the E2E Transformer. The E2E Transformer is responsible for the invocation of the E2E Library and instantiates the E2E configuration and E2E state data structures, based on its configuration. It encapsulates the complexity of configuring and handling of the E2E and it offers a standard Transformer interface. Thanks to this, the caller of E2E Transformer does not need to know the E2E internals.

The E2E protection allows the following:

  1. protects the safety-related data elements to be sent over the RTE by attaching control data (e.g. CRC and SC)
  2. verifies the safety-related data elements received from the RTE using this control data
  3. indicates that received safety-related data elements faulty, which then has to be handled by the receiver SWC.

To provide the appropriate solution addressing flexibility and standardization, AUTOSAR specifies a set of flexible E2E profiles that implement an appropriate combination of E2E protection mechanisms. Each specified E2E profile has a fixed behavior, but it has some configuration options by function parameters (e.g. the location of CRC in relation to the data, which are to be protected).

E2E Profiles

Standard E2E Profiles

AUTOSAR E2E Library supports the following profiles1 to provide data protection and check functions:

E2E ProfileCheck FunctionMaximum Supported Data LengthNumber of MessagesNote
E2E Profile 18-bit SAE J185030 byteslowchecks the authenticity of the sender and the sequence
E2E Profile 28-bit Crc8h2f256 byteshighavoids masquerading of messages
E2E Profile 4 32-bit Crc32P44096 byteslow-
E2E Profile 5 2 16-bit Crc164096 byteshighavoids masquerading of messages
E2E Profile 616-bit Crc164096 bytes (variable)highavoids masquerading of messages
E2E Profile 7 64-bit CRC64> 4096 bytes (variable)low

for communication via Ethernet
for systems with high protection requirements

E2E Profile 118-bit SAE J185032 bytes3low

for communication via CAN, FlexRay and Lin
for systems with high protection requirements

E2E Profile 228-bit Crc8h2fNo datahighfor communication via CAN, FlexRay and Lin
for systems with low protection requirements
E2E Profile 4432-bit CRC32P4No datalowfor communication via Ethernet
for systems with high protection requirements
  1. Source: AUTOSAR_SWS_E2ELibrary.pdf
  2. The Profiles colored in green are mentioned as the recommended profiles for Protected but non-authenticated data . (SDV-8100_SerialDataTrasferSafetyRequirements_27.27.170P2 page 27)
  3. This value is inferred from SDV-8100_SerialDataTrasferSafetyRequirements_27.27.170P2 page 27. It is suggested to refer to specifications before assuming this value as as a limit.

How to configure E2E in RTA-CAR 

Configure E2E Parameters

In general there are two sets of configurable parameters for the E2E communication. The first one is the shared parameters at the level of the E2E profile. For instance, the parameters of state machine are shared among all the signal groups that use a same profile. The second set, is the signal group specific parameters. These parameters are specific to a signal group and may vary from a signal group to another one. 

The following table provides a couple of examples for each set of parameters:

Profile ParametersSignal Group Parameters

ProfileName

WindowSize

MinOkStateValid

...

DataIds

DataLength

MaxDataLength

...

The profile parameters are accessible and modifiable through either of these two ways:

  1. The GB_ASR_VLM_24_24_164.3p0_PreEcuC_No_ODX.arxml by following this path: /Communication/DataTransformation/E2E_Transformer_Configuration/E2E_Transformer_PROFILE_05
  2. RTA-CAR → AR Explorer → System → Signals And Signal Groups → Transformer→ E2E_Transformer_Configuration


The signal group parameters can be modified through either of these two ways:

  1. The GB_ASR_VLM_24_24_164.3p0_PreEcuC_No_ODX.arxml (Note: not suggested)
  2. RTA-CAR → AR Explorer → System → Signals And Signal Groups→ I Signal Groups → <Desired Signal Group> → EndToEndTransofrmationISignalProps


Useful resources

  • No labels