Log and Trace Protocol Specification
AUTOSAR FO Release 1.2.0
3 of 70 Document ID 787: AUTOSAR_PRS_LogAndTraceProtocol
- AUTOSAR confidential -
Table of Contents
1 Introduction and overview ...................................................................................... 5
1.1 Purpose ........................................................................................................... 5
1.2 Applicability of the protocol ............................................................................. 6
1.2.1 Safety and security considerations ......................................................... 6
1.2.2 Constraints and assumptions .................................................................. 6
1.2.3 Limitations ................................................................................................ 6
1.3 Dependencies to other protocol layers ........................................................... 6
1.4 Dependencies to the Application Layer .......................................................... 7
2 Use Cases .............................................................................................................. 8
2.1.1 Use Case general logging with Dlt .......................................................... 8
2.1.2 Use Case tracing of VFB ......................................................................... 9
2.1.3 Use Case runtime configuration of Dlt .................................................. 10
2.1.4 Use Case non-verbose mode ............................................................... 11
3 Requirements traceability .................................................................................... 12
4 Acronyms and abbreviations................................................................................ 16
4.1 Term and definition ....................................................................................... 17
5 Protocol specification ........................................................................................... 18
5.1 Message format ............................................................................................ 18
5.1.1 Header format ........................................................................................ 18
5.1.2 Body/Payload format ............................................................................. 25
5.1.3 Data Types ............................................................................................ 34
5.2 Message types .............................................................................................. 46
5.2.1 Data Messages ...................................................................................... 46
5.2.2 Control Messages .................................................................................. 46
5.3 Services / Commands ................................................................................... 46
5.3.1 Set Log Level ......................................................................................... 47
5.3.2 Set Trace Status .................................................................................... 48
5.3.3 Get Log Info ........................................................................................... 49
5.3.4 Get Default Log Level ............................................................................ 51
5.3.5 Store Configuration ................................................................................ 51
5.3.6 Reset to Factory Default ........................................................................ 52
5.3.7 SetMessageFiltering .............................................................................. 52
5.3.8 Set Default LogLevel ............................................................................. 52
5.3.9 Set Default Trace Status ....................................................................... 53
5.3.10 Get ECU Software Version .................................................................... 54
5.3.11 Get Default Trace Status ....................................................................... 55
5.3.12 Get LogChannel Names ........................................................................ 55
5.3.13 Get Trace Status ................................................................................... 56
5.3.14 Set LogChannel Assignment ................................................................. 56
5.3.15 Set LogChannel Threshold .................................................................... 57
5.3.16 Get LogChannel Threshold ................................................................... 57
5.3.17 BufferOverflowNotification ..................................................................... 58
5.3.18 Call SWC Injection ................................................................................. 59