AutoSAR Series Explanation (Introduction) 4.5-BSW Mode Management Function


1. Architecture and Terminology Explanation


Mode Management: mode management, which can be understood as the management of the state (such as the power-on, power-off and sleep of the ECU; the opening and closing of the CAN communication are states). The main management objects are ECU, BSW and COM (communication can be further subdivided). Since many concepts of the service layer do not need to be clearly distinguished, I did not draw them separately. Everyone knows that system services and communication services are used. There is no need to worry about which service ComM belongs to (although it is a system service. ). Mode management is actually very complicated. You can experience it in the follow-up experimental class. Here is a brief explanation first.


ECU State Manager (EcuM): ECU state machine, the main function is to manage the power on and off functions of ECU (including sleep, restart, etc.). The official manual gives the following four functions:
1. When the microcontroller is initialized, initialize the BSW module required by the OS
2. Prepare for the sleep (Sleep) mode and wake up mode of the microcontroller
3. Execute shutdown commands and Restart command
4. Verify the wake-up that has occurred through the wake-up verification protocol
Basic Software Mode Manager (BswM):
The main role is to define a series of rules. Once a rule is met, the corresponding action is performed. There are mainly Communication Control, Ecu State Handing and Module
Initialization, and these are automatically generated by the software. If you want to add rules yourself, you can add them in Miscellaneous (generally, automatic generation is fine)


Communication Manager (ComM): The main function is to manage the enabling and closing of communication
Network Management (Nm If, Bus NM):
The main function is to keep the bus awake and coordinate the bus shutdown
Bus State Manager (Bus SM): Switch the status of the Bus, such as CAN
SM is to switch the startup and shutdown of the CAN (note the distinction between CAN and COM, COM is a higher level, COM not only includes CAN)
Other modules:
It has been mentioned in the COM chapter, if you are not familiar with it, you can look back

 

 

Guess you like

Origin blog.csdn.net/qq_42700289/article/details/131474709