Specification of Ethernet State Manager
AUTOSAR CP R20-11
5 of 56 Document ID 415: AUTOSAR_SWS_EthernetStateManager
Table of Contents
1 Introduction and functional overview ..................................................................... 7
2 Acronyms and abbreviations.................................................................................. 8
3 Related documentation .......................................................................................... 9
3.1 Input documents ............................................................................................... 9
3.2 Standard and norms ...................................................................................... 10
3.3 Related specification ...................................................................................... 10
4 Constraints and assumptions ............................................................................... 11
4.1 Limitations ...................................................................................................... 11
4.2 Applicability to car domains ........................................................................... 11
5 Dependencies to other modules .......................................................................... 12
5.1 File structure .................................................................................................. 12
5.1.1 Code file structure ................................................................................... 12
5.1.2 Version Check ......................................................................................... 13
6 Requirements traceability .................................................................................... 14
7 Functional specification ........................................................................................ 18
7.1 Translation of network communication mode requests ................................. 18
7.2 Output of current network communication modes ......................................... 18
7.3 Control of peripherals ..................................................................................... 19
7.3.1 Ethernet Interface Controllers ................................................................. 19
7.4 Multiple networks ........................................................................................... 19
7.5 Background and Rationale ............................................................................ 19
7.6 Network mode state machine ........................................................................ 20
7.6.1 Initial transition ........................................................................................ 23
7.6.2 Behaviour in sub-state ETHSM_STATE_OFFLINE ............................... 24
7.6.3 Behavior in sub-state ETHSM_STATE_WAIT_TRCVLINK .................... 24
7.6.4 Behaviour in sub-state ETHSM_STATE_WAIT_ONLINE ...................... 25
7.6.5 Behaviour in sub-state ETHSM_STATE_ONLINE ................................. 27
7.6.6 Behaviour in sub-state ETHSM_WAIT_OFFLINE .................................. 28
7.6.7 Behaviour in sub-state ETHSM_STATE_ONHOLD ............................... 29
7.6.8 Information about state transitions .......................................................... 31
7.7 Commercial Off The Shelf stack usage ......................................................... 32
7.8 Error classification .......................................................................................... 32
7.8.1 Development Errors ................................................................................ 33
7.8.2 Runtime Errors ........................................................................................ 33
7.8.3 Transient Faults ....................................................................................... 33
7.8.4 Production Errors .................................................................................... 33
7.8.5 Extended Production Errors .................................................................... 34
8 API specification ................................................................................................... 35
8.1 Imported types ............................................................................................... 35
8.2 Type definitions .............................................................................................. 35