AutoSar CP Learning Summary

Table of Contents of Series Articles

C++ skills series
Linux communication architecture series
C++ high-performance optimized programming series
in-depth understanding of software architecture design series
advanced C++ concurrent thread programming
design pattern series

Looking forward to your attention! ! !
Insert image description here

现在的一切都是为将来的梦想编织翅膀,让梦想在现实中展翅高飞。
Now everything is for the future of dream weaving wings, let the dream fly in reality.

1. AutoSar CP learning resources

1.1 AutoSar official website documentation

Address: https://www.autosar.org
Insert image description here

1.2 AutoSar CP open source source code

Address: https://github.com/openAUTOSAR/classic-platform/
Insert image description here

1.3 Software and hardware tools

Insert image description here

1.4 Underlying hardware knowledge

Insert image description here

1.5 Communication protocol and working language

Insert image description here

2. Introduction to AutoSar CP

2.1 Automotive software

Insert image description here

2.2 AutoSar architecture

Insert image description here

Insert image description here

Insert image description here
Insert image description here
AUTOSAR defines a set of common technical methods for the development process of automotive electronic software systems , namely the AUTOSAR methodology. This methodology describes the design steps from system configuration to ECU executable code generation, and can help developers master the development process to lead and promote the development process of systems that comply with AUTOSAR standards.
Insert image description here

3. Make a simple DEMO of the vehicle controller

3.1 Brief structural block diagram of VCU

Insert image description here

3.2 Workflow

Insert image description here
Insert image description here

4. Communication under AutoSAR architecture

4.1 CAN communication

CAN, which stands for "Controller Area Network", is a multi-master serial communication bus and is one of the most widely used field buses in the world.
Insert image description here
Insert image description here

4.2 LIN communication

LIN bus is a low-cost serial communication bus defined for automotive distributed electronic systems. It is a supplement to other automotive multi-channel networks such as Controller Area Network (CAN) and is suitable for network bandwidth and performance. Or applications that do not have excessive requirements for fault tolerance. The LIN bus is based on the SCI (UART) data format and adopts a single master controller/multiple slave device mode, which is a special case of UART.
Insert image description here
Insert image description here

4.3 ETH Communication

Insert image description here
Insert image description here
AutoSAR's implementation of OSI model
Insert image description here

5. Network management

The meaning of network management:
There are multiple ECU control units in the automotive system. These ECU control units are not isolated, but work together. The process by which the automotive electronic system configures, manages and coordinates all ECUs through the vehicle network is called network management.

The purpose of network management:
to enable the ECU nodes in the network to sleep and wake up in an orderly manner. Sleeping when there is no need for communication and waking up when communication is needed can save the power of the car battery.
Insert image description here
Insert image description here
Insert image description here

Network management state machine:
Insert image description hereNetwork management state machine switching:

Insert image description here
Network management messages:
Insert image description here

6. J1939 Agreement

Insert image description here
Insert image description here

6. THERE

Insert image description here
ECUM state machine:
Insert image description here
ECUM state scheduling: Insert image description here
ECU startup method:
Insert image description here

7. Storage stack

Insert image description here
Insert image description here
Insert image description here
Insert image description here

Memory stack data transfer process
Insert image description here

Insert image description here

NVM data synchronization mechanism
Insert image description here
FEE module and FEE mechanism
Insert image description here

8. XCP

Insert image description here

Insert image description here
Insert image description here

9. Diagnosis

Insert image description here
UDS
UDS mainly provides unified diagnostic functions for vehicle-mounted electronic control units and adopts a universal automotive diagnostic protocol constrained by ISO 14229. Can be implemented on different automotive buses such as CAN, LIN, Flexray, Ethernet and K-line.
Insert image description here
Diagnostic data transfer process
Insert image description here

10. Mode configuration

Insert image description here

Insert image description here
Insert image description here

11. ASW layer

Insert image description here

Insert image description here
The work content of the ASW layer
Insert image description here

12. System description

System mapping
Insert image description here

13. RTE is the implementation of VFB

Insert image description here

RTE’s workflow and work content
Insert image description here

14. The necessity of OS

Insert image description here
OS
Insert image description here
design a minimal AutoSar OS
Insert image description here
RTA OS installation and composition
Insert image description here

15. Introduction to MCAL and driver classification

Insert image description here
MCAL configuration method and process
Insert image description here

16. Integration and compilation

Typical project file integration tree
Insert image description here
startup process
Insert image description here
Reset_Handler
Insert image description here

おすすめ

転載: blog.csdn.net/weixin_30197685/article/details/133845842