AUTOSAR模块简介

作者:Stephen Du

免责声明: 本文为个人学习笔记及总结,仅代表个人观点,尽可能保证内容准确性。复制/转发请注明来源/作者。

欢迎添加微信交流学习。

在这里插入图片描述

AUTOSAR Basic Software Modules (BSW) Description

Stephen Du

AbbreviationDescription
AdcThe ADC driver is responsible for controlling the analog-digital converter and for accessing the results of a conversion.
BswMThe BswM implements the Vehicle Mode Management and Application Mode Management concepts.
SchMThe SchM module calls the cyclical function for the individual BSW modules and makes available the functions that the BSW modules need to call at the beginning and end of critical sections. Since V4.0, this module is integrated within the RTE
MirrorMany communication buses in a vehicle are not directly accessible by a tester. The aim of the Bus Mirroring is to enable a tester to listen to the traffic on such internal communication buses.
BfxLibrary for Bit handing dedicated to fixed-point arithmetic routines
CanThe CAN driver provides services for initializing the CAN controller, for sending and receiving messages, and for switching the controller states.
CanIfThe CAN Interface provides hardware-independent access mechanisms for the ECU’s CAN channels.
CanNmThe CAN Network Management is responsible for a coordinated transition between the wake-up and sleep states within a CAN network.
CanSMThe CAN State Manager handles bus-specific errors as well as the activation and deactivation of the PDU groups.
CanTrcvThis driver is responsible for controlling the operating states of an external CAN transceiver, like wake-up, sleep functions.
CanTpThe CAN Transport Protocol manages segmenting of data in the send direction, assembling of data in the receive direction, and monitoring of the data stream.
ComThe communication layer provides a signal-based data interface for the application, and sends messages according to the defines send types.
ComXfThe transformer feature provides functionality to chain arbitrary transformers when sending and receiving data in the RTE. The COM Based Transformer provides this functionality when the target bus system uses a fixed communication matrix with packed data representations.
ComMThis module controls the state of all communication channels as well as all partial network clusters connected to the ECU.
Complex DriversThe Complex Drivers contain drivers which are not standardized in AUTOSAR and which utilize specific properties of a a micro-controller or ECU which are not standardized in AUTOSAR.
CorTstThe core test contains the configuration and control of the test options contained in the microcomtroller core.
CrcThe Cyclic Redundancy Check Library computes CRC checksums.
CryptoThe Crypto Drivers allow defining of different Crypto Driver Objects (i.e. AES accelerator, SW component, etc), which shall be used for concurrent requests in different buffers.
CryIfThe Crypto Interface module provides a unique interface to manage different Crypto HW and SW solutions like HSM, SHE or SW-based CDD.
CsmThe Crypto Service Manager (Csm) provides services to enable access to basic cryptographic functionalities for all software modules and SWCs.
DbgThe Dbg module offers support to collect ECU-internal information which is transmitted to an external master via a communication bus.
DetThis module supports error searches during software development and provides and interface for error reporting.
DcmThis module implements diagnostic communiction as per ISO14229-1(UDS).
DemThis module implements a harmonized error memory. A standardized interface for diagnostic monitors allows for uniform, cross-manufacturer development of SWCs.
DltDlt provides a generic Logging and tracing functionality for SWCs and the BSW module RTE, Det and Dem.
DoIPThis module to implement ISO 13400.
DioThe Digital Input Output Driver provides read and write services to the DIO channels (pins), DIO ports and DIO channel groups.
E2ELibrary dedicated to safety-related data exchange
E2EXfThe E2E transformer ensures a correct communication of I-signals through QM communication stack. The communication stack is considered as “black channel” communication.
EcuMThe ECU State Manager is responsible for start-up, shut-down and Wakeup. Since AUTOSAR 4.0 it is available in two variants: flexible and fixed. In AUTOSAR 3, the EcuM manages a number of fixed operation modes.
EaThe Ea module provides a hardware-independent interface for access to EEPROM data using an EEPROM driver.
EepThe EEPROM driver enables hardware-independent access to EEPROM storage. It makes services available for reading, writing, and data comparison, as well as for deleting blocks.
EfxLibrary dedicated to extended mathematical functions for fixed-point values
EthThe Ethernet driver provides services for initialization, configuration and data transmission.
EthIfThe Ethernet interface allows a hardware-independent control of the Ethernet driver.
EthSMThe EthSM provides an abstract interface to the Communication Manager to start-up or shut-down the communication on Ethernet clusters. It accesses the Ethernet hardware by means of the EthIf an the Eth.
EthSwtProvide to the upper layers (e.g. Ethernet Interface) a hardware independent interface comprising a switch with several ports. This interface is uniform for all Ethernet switches.
EthTrcvThe EthTrcv provides a uniform and hardware independent interface to handle multiple equal transceivers. The configuration of the EthTrcv is transceiver specific, since it takes into account the features of the used physical network.
FlsThe flash driver provides a hardware independent an uniform access to flash memory. It offers services for erasing, writing and comparing of data and the erasure of blocks.
FeeThe Fee module provides hardware-independent interface for access to flash data using a flash driver.The Fee module distributes write requests across different areas of the flash so that all flash cells and subject to equal load, and their lifespan is increased.
FlsTstThe Flash test module provides algorithms to test invariable memory like data or program flash, program SRAM and locked cache.
FrArTpThis module is segmentation and reassembly of messages that do not fit in a single FlexRay L-SDU.
FrThe FlexRay Drivers used to abstract hardware-related differences between different FlexRay communication controllers. All the necessary properties of the communication controller per the FlexRay Protocol Specification and encapsulated in this module and can be reached via its uniform interface.
FrIfThe FlexRay interface provides identical access mechanisms for the ECU’s FlexRay channels, independent of their implementation. It extracts the number of FlexRay drivers and manages the synchronization to global FlexRay time.
FrTpThe FlexRay transport protocol segments long data packets in the send direction, collects data in the receive direction and controls the data flow. Errors such as message loss, message duplication or sequencing errors, are detected.
FrNmThis module is responsible for the FlexRay network management. It synchronizes the transition into the bus quiet state.
FrSMThe FlexRay State Manager controls and monitors the wake-up and start-up of the nodes in the FlexRay cluster.
FrTrcvThe driver for an external FlexRay transceiver is responsible for switching a transceiver on and off.
FiMThis is responsible for providing a control mechanism for software components and the functionality therein. In this context, a functionality can be built up of the contents of one, several or parts of runnable entities with the same set of permission / inhibit conditions.
GptThe General Purpose Timer Driver provides an interface for access to the micro-controller’s internal timers. It can be used to control events that occur periodically or once-off.
IcuThis driver provides services for edge detection, measuring periodic signals, assigning edge timestamps and controlling wake-up interrupts.
IflLibrary dedicated to interpolation routines for floating point values.
IfxLibrary dedicated to interpolation routines for fixed point values.
IoHwAbThe I/O Hardware Abstraction represents the connection between the RTE and the I/O channels of the ECU.
IpduMThis module deals with multiple uses of fixed PDUs with different data contents.
KeyMThe crypto key submodule provides an API and configuration items to introduce or update pre-defined cryptographic key material. It acts as a key client to interpret the provided data from a key server and to create respective key materials.
LdComThe AUTOSAR LdCom module provides an alternative Interaction Layer Mechanism.
Main Features:
- Provision of signal oriented data interface for the RTE
- Provision of received signals to RTE
- Support of large and dynamic length data types-Support of IF- and TP-based communication
- Provision of PDU oriented data interface towards PduR
LinThe LIN Driver provides services for initiating frame transmission as well as receiving responses, checking the momentary state and validating wake-up events.
LinIfThe LIN Interface provides a hardware-independent interface for access to LIN frames.
LinNmThis module contain a hardware independent protocol that coordinates the transition between normal operation and bus-sleep mode of the LIN network.
LinSMThis module switches the schedule tables as well as the PDU groups in COM and serves the LIN Interface in terms of sleep and wake-up.
LinTrcvThis module LIN transceiver is responsible for monitoring and controlling the wake-up and Sleep functions.
McuThe Micro Controller Unit Driver provides the following services: Software-trigged reset, Selection of the power mode, Configuration of Wake-up behavior, Management of the internal PLL clock unit, Initialization of RAM areas with pre-defined values.
MemIfThis module provides uniform access to Ea and Fee services. This permits multiple instance of this module to be used over the same API.
MflLibrary dedicated to arithmetic routines for floating point values.
MfxLibrary dedicated to arithmetic routines for fixed point values.
NmThis module provides a general network-independent interface for access to bus-independent network management modules.
NvMThis module administrates the data saved in the nonvolatile memory. It provides services to load the data into the dedicated RAM area of the application during the system start-up. During shut-down the NvM maybe used to write back the data into the NV memory.
OsThis is the operating system of an AUTOSAR ECU. It is actually an extended OSEK operation system. The extensions are organized in socalled scalability classes. They cover the following functionalityes:
- SC1: schedule tables
- SC2: timing protection + schedule tables
- SC3: memory protection + schedule tables
- SC4: memory protection + timing protection + schedule tables
PduRThis module handles the distribution of communication packets on the different communication systems.
PortThis module provides the service for initializing the entire port structure of the micro-controller.
PwmThis driver provides services for initializing and controlling PWM channels.
RamTstThis module tests internal RAM cells. A complete test is performed during start-up and shut-down of the ECU, or is triggered by a diagnostic command. A cyclical test is performed during normal operation.
RteThis module responsible for the execution of the SWCs and realized the data exchange between the SWCs and the basic software. Since V4.0 the SCHM is integrated within the RTE.
J1939DcmThis module implement SAE J1939-73 which defines the message structures and behavior of so-called ‘Diagnostic messages’ (DMs) which are used for diagnostic communication in J1939 networks.
J1939NmThis module handles received and transmitted Address Claimed (AC) PGs. It supports transmission of AC on start-up, after a contending AC received from another node, and on request (triggered by the J1939 Request Manager).
J1939RmThis module handles received and transmitted Request, Request2, and Acknowledgement PGs. In addition, it supports transmission of requests and timeout supervision for the resulting PG or acknowledgement.
J1939TpThis module contains the BAM and CMDT(Connection Mode Data Transfer) transport layers of the SAE J1939 standard.
SecOCThe SecOC module aims for resource-efficient and practicable authentication mechanisms for critical data on the level of PDUs.
SdThis module offers functionality to detect and offer available services – i.e. functional entities – within the vehicle network.
SoAdThis module contains the PDU communication defined in AUTOSAR into socket-oriented communication. SoAd contains the diagnostic functionality defined in ISO 13400-2.
SomeIpXfThis module is a transformer which linearizes data with the SOME/IP on-the-wire format and specifies an automotive/embedded mechanism for Client/Server communication.
SomeIpTpThis module is to segment SOME/IP packets, which do not fit into one single UDP packet. On the reception side, it re-assembles the received SOME/IP segments.
SpiThis module provides an option for exchanging data across the SPI interface. It is primarily used for external connection of EEPROM an Watchdog and so on.
StbMThe Synchronized Time-Base Manager allows a precise synchronization between different parts of the ECU software. It provides one or more common time bases available to the BSW modules and the SWCs.
TcpIpThis module offers functionality to send and receive Internet Protocol data.
TmThe module provides services for time based functionality. Use cases are:
- Time measurement
- Time based state machine
- Timeout supervision
- Busy waiting
CanTSynThe CanTSyn module handles the distribution of time information over CAN buses.
EthTSynThe EthTSyn module handles the Time Synchronization Protocol on Ethernet.
FrTSynThe FrTSyn module handles the distribution of time information over FlexRay buses.
TtcanThe Ttcan module is an extension of the Can module, it will implement ISO 11898-4.
TtcanIfTtcanIf fulfils main control flow and data flow requirements of the PDU Router and upper layer communication modules of the AUTOSAR COM stack: transmit request processing, transmit confirmation / receive indication / error notification and start / stop of a TTCAN Controller and thus waking up / participating on a network. Its data processing and notification API is based on CAN L-PDUs, whereas the APIs for control and mode handling provide a TTCAN Controller related view.
UdpNmThis module is responsible for the synchronous wake-up and sleep function of the IP ECUS.
V2xBtpV2xBtp module implements ETSI EN 302 636-5-1 V2.1.1
V2xFacThe V2xFac module implements the basic services CA and DEN.
V2xGnIt supports communication among individual Intelligent Transport System (ITS) station and distribution of packets in geographical areas.
V2xMThe V2xM module manages the operation of the V2X protocol stack. It does support the V2X protocol stack modules with a number of services and furthermore provide some Application interfaces to let applications control the V2X-Stack within the limited range that the ETSI/C2C-CC Requirements left for applications…
WdgThis module provides services to control and trigger watchdog hardware. The trigger routine is called by the watchdog manager.
WdgIfThis module provides uniform access to services of the watchdog driver, such as ode switching and triggering.
WdgMThis module monitor the reliability and functional assurance of the applications in an ECU. This includes monitoring the correct execution of the SWCs and BSW modules, and the triggering of Watchdogs at the required time intervals. It reacts to possible faulty behavior on numerous escalation levels.
WEthThis indicates the main task of the Wireless Ethernet driver: Provide to the upper layer (Ethernet Interface) a hardware independent interface comprising multiple equal controllers.
WEthTrcvThis indicates the main task of the Wireless Ethernet Transceiver driver: Provide to the upper layer (Ethernet Interface) a hardware independent interface comprising multiple equal transceivers.
XcpXCP is a protocol for communication between a master and a slave. It is standardized by the ASAM and mainly used for measuring, calibrating and testing of ECUs. XCP supports a variety of different bus systems such as CAN, FlexRay and Ethernet.
  • 9
    点赞
  • 74
    收藏
    觉得还不错? 一键收藏
  • 6
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值