Click here for back issues.
https://www.simulationroom999.com/blog/diagnostic-communication-en-back-issue/
Introduction.
Explanation of AUTOSAR-Dcm configuration.
In this article, the role of Dsl, class diagrams, etc. will be explained.
Role of AUTOSAR-Dcm Dsl
Let me explain the configuration structure of Dsl, a sub-module of AUTOSAR-Dcm.
First, let me explain the role of Dsl.
Dsl stands for Diagnostic Session Layer, and as the name suggests, it is a sub-module that manages the session layer.
Session refers to the default session and other sessions.
In addition to that, P2 time and P2* time are also added to be managed.
In summary, the following are managed
- P2 time
- P2* time
- S3 time
- PudId of CanTp for receiving
- PduId of transmitting CanTp
- Current session
- Current security level
- Diagnostic service start/stop
Well, there are more details.
AUTOSAR-Dcm Dsl Configuration Structure
I have drawn a class diagram to give you the big picture.
The following is it.
You would have thought, “I don’t understand this!” .
I can understand that impression.
Well, Dsl is the most complex of the three submodules in terms of complexity.
Dsp is the largest in scale.
AUTOSAR-Dcm Dsl Configuration Structure in a nutshell
Let me give you some idea of how it looks like.
First of all, the green class is a variable class, not a fixed value.
It stores parameters that change during communication and buffers for transmitting and receiving.
Next, let’s look at Dcm_DslProtocolTxType and Dcm_DslProtocolRxType, which are located in the middle of CanTp.
These contain the PduId of CanTp.
This is natural since CanTP is needed for receiving and transmitting.
Dcm_DslProtocolRowType manages parameters necessary for communication such as P2 time, P2* time, and S3 time.
Well, I think you can keep this as a general idea for now.
If you get lost, just look at the class diagram again.
There is a map, so all you have to do is to walk around.
Conclusion
- Dsl (Diagnostic Session Layer) is Session related sub-module.
- It manages P2 time, P2* time, S3 time, etc.
- It also contains the PudId of CanTp that is actually used.
Click here for back issues.
コメント