[Dcm] Vehicle Diagnostic Communication Part 66 [Simulation 5]

[Dcm] Vehicle Diagnostic Communication Part 66 [Simulation 5] 車両診断通信
[Dcm] Vehicle Diagnostic Communication Part 66 [Simulation 5]

Click here for back issues.
https://www.simulationroom999.com/blog/diagnostic-communication-en-back-issue/

Introduction.

In this article, the configuration of AUTOSAR-Dcm will be explained.

AUTOSAR-Dcm configuration structure

From this point on, we will start to explain the AUTOSAR-Dcm configuration.
To give you an idea of the atmosphere, it is “quite bad”.

Remember around the last 2 articles, I told you that AUTOSAR-Dcm is divided into several sub-modules?
It is divided into the following sub-modules

  • dsl:Diagnostic Session Layer
  • dsd:Diagnostic Service Dispatcher
  • dsp:Diagnostic Service Processing

AUTOSAR-Dcm configuration structure Class diagram

The AUTOSAR-Dcm configuration is also divided into these modules.
The relationship is expressed in the class diagram as follows.

Dcm class diagram,Dcm_ConfigType,Dcm_DslType,Dcm_DsdType,Dcm_DspType,Configuration of Dsl (Diagnostic Session Layer) and definition of work area and buffer for communication,Dsd (Diagnostic Service Dispatcher) config.,Dsp (Diagnostic Service Processing) config.

It means that dsl, dsd, and dsp are contained within dcm.
In fact, some settings in dsl, dsd, and dsp are referenced from dsl, so they are not completely defined individually, but it is good to think that they are defined individually in general.

AUTOSAR-Dcm configuration structure Explanation order

Where should we start looking at the AUTOSAR-Dcm configuration structure?
You can start anywhere you want, but a good flow would be dsl -> dsd -> dsp.

The reasons are as follows.

  • Since dsl is the session layer and dsd and dsp are the application layer, it is better to explain from the lower layers.
  • Because the flow of processing when a message is received is “dsl -> dsd -> dsp.”

AUTOSAR-Dcm configuration structure Class diagram description policy

In the CanTp configuration, const values are mostly const, and some areas for work are variables.
Most of them are defined as const values, but the variables used for work and the buffers used for transmitting and receiving are treated like variables.
I’ll color-code them so that you can see them.
I think there are at most two or three.

There are about 50 structures in total.
Well, I will omit the parts that are not used this time, so there will be about 30.

It is not necessary to understand all of them in detail, but it is enough to understand where the parameters are and how the dependencies are organized.

Conclusion

  • The content of AUTOSAR-Dcm structure consists of dsl, dsd, and dsp.
  • Some are const defined and some are defined by variables for work.
  • There are about 50 structures for configuration in total.

Click here for back issues.

コメント

タイトルとURLをコピーしました