E2E Protection Overview

Micael Coutinho,autosarbswe2e

Valid data exchange between ECU's is essential to avoid the gnarly effects of communication faults. Learn here about E2E protection

In a noisy environment such as an automotive vehicle, there are a lot of components in play, which cause the communication bus's present within the vehicle to be the possible subject of communication faults, not to mention tampering attempts, which are a rising trend in the world, and automotive is no exception. Thus, ensuring the bits received on the other end of the communication bus are valid is a priority.

For this purpose, Autosar incorporates the concept of E2E (End to End) protection, which contains mechanisms to validate the corrrectness of communication between ECU's. First, let's see what are the most common communication issues and then, we'll look briefly at what E2E adds to the Autosar layered architecture in order to validate the data exchanges. This article will be divided into two parts, where in this first part you get all the theory and in the next one we'll dig deeper into the E2E protection modules in Autosar. One thing to keep in mind, is that the E2E protection can also be used in intra-ECU communication.

There are 3 different types of faults that exists on automotive ECU's:

Now that we know the types of problems our ECU's are subjected to, let's learn about how they propagate into communication faults:

So, regarding all these possible communication faults, what does E2E add to handle data safely? It defines a set of E2E profiles, which depending on the profile, the protection mechanisms will be more. We'll talk more about the profiles available in the last part of this article. Let's now look at the data protection mechanisms present on the E2E profiles, which can use a subset of them:

Lastly, let's talk about the E2E profiles. There are multiple defined in the specification, more than 7, to be precise. Do you need to know all of them by heart? Absolutely not. They are defined by the OEM and it's only our job to obey to them. You can always take a look at the specification for E2E to learn this further, if you need.

Alright, that's all for today! Stay tuned for the next part of this article, where we'll look at E2E in practice, to see how this fits in the Autosar layered architecture. If you don't want to wait, we advise you to take a dive into functional safety, where E2E fits, in our article What is Functional Safety (opens in a new tab).

Author: Micael Coutinho (opens in a new tab)

References:

© AutosarToday —@LinkedIn