《AUTOSAR谱系分解(ETAS工具链)》之Software
Software
Data Types
-
Application Data Types
-
EXP:(ADT)应用数据类型
-
EXP:
-
EXP:
-
EXP:
-
EXP:
-
-
EXP:之所以搞ADT出来,是为了Interface的复用,因为IDT是和AUTOSAR Platform Type绑定的,而AUTOSAR Platform Type与硬件有关(Int是16还是32-bit), 而在创建Interface的时候如果直接用IDT换了硬件就没法复用了,所以选用ADT和Data Element绑定,然后再在SWC的Internal Behavior里面用DataTypeMapping将ADT和IDT对应起来
-
-
-
-
-
-
Implementation Data Types
- EXP:(IDT)实现数据类型
-
Base Types
- EXP:基础数据类型
-
Data Type Mapping Sets
- DataTypeMappingSet
Compu Methods
Interfaces
-
Port Interface
-
EXP:
-
AUTOSAR Interface
- EXP:AUTOSAR接口
-
Standardized AUTOSAR Interface
- EXP:标准AUTOSAR接口
-
Standardized Interface
- EXP:标准接口
-
-
EXP:
-
EXP:
-
EXP:
-
EXP:
- EXP:Interface和在Interface下面包含哪些data element在SWC创立之前就定义好了,存储在一个arxml文件里面,它相当于一个库文件,在新建AUTOSAR project的第一步就应该被导入进来
- EXP:port在SWC创建的阶段被create,因为Interface没有方向,所以由用户在这个步骤决定port是sender还是receiver
- EXP:即port是为Interface定义方向的,从这个角度讲,一个port下面就只应该由一个Interface,而一个Interface下面可以有多个data element
- EXP:每个SWC下面可以有多个port和runnable,它们之间的分配在Internal behavior/Function/DataAccessPoint这个tab下面确定
-
-
-
-
EXP:
-
EXP:右键(AR Explorer视图下)
-
EXP:Open With “Data Dictionary Editor”
-
EXP:打开数据字典视图
-
-
-
-
Components
【软件组件-SWC】
【Software Component】
-
Component(SWC)
-
Main
-
R Port
- Short Name
- Interface
- Port Interface
-
P Port
- Short Name
- Interface
- Port Interface
-
PR Port
- Short Name
- Interface
- Port Interface
-
-
Functions
-
Runnable
- Date Access Points
- Server Call Points
-
-
Event
-
Rte Event Type
-
Event Name(Event 的名称)
-
Start Runnable Entity(Runnable 的名称)
-
Timing Period(s)(调用周期 单位秒)
-
Event Properties
- Target
- Port
-
Timing Period
-
Timing Period
-
-
IVR
【Inter-Runnable Varible】 -
Others
-
-
DataTypes
- DataTypeMappings
-
Interface
-
CompuMethod
-
DataConstraints
-
EXP:
-
Composition(SWC)
(可以map到ECU上)-
Component Prototypes
- Asw SWC
- Com SWC
- Dcm SWC
- IoHwAb SWC
- NVM SWC
- OS SWC
- IPM Composition
- UserDefined
-
Delegation Prototypes
-
P Ports
-
R Ports
-
EXP:右键(AR Explorer视图下)
-
EXP:Open With “Component Editor”
-
EXP:打开SWC视图
-
-
-
-
Atomic(SWC)
(原子)-
Application SWC(应用)
-
Service SWC(服务)
-
CDD SWC(复杂驱动)
-
SWC Internal Behaviors
- Timing Event
- Runnables
- DataTypeMappings
-
-
Compositions
【SWC组合】
-
{prj_name}_FlatView
-
Assembly Connectors
-
Component Prototypes
-
EXP:
-
EXP:
-
EXP:
-
EXP:
- EXP:
FlatView Composition arxml可以看到最全的ECU port connector的信息(Assembly Connector + Delegation Connector)
- EXP:
-
-
-
-
-
TopLevelComposition
-
Assembly Connectors
-
Component Prototypes
-
EXP:
-
EXP:
-
EXP:
-
EXP:
- EXP:
TopLevelComposition只是SystemExtract下面SwcToEcuMapping的输入
- EXP:
-
-
-
-
-
EXP:
-
EXP:
-
EXP:
-
EXP:
-
EXP:
- EXP:
Composition内部的port connection (SWC to SWC data mapping) 在Composition的Assembly Connector里面完成(Intra-ECU communication) - EXP:
Composition与外部的port connection (ComSignal) 在System Extract的SystemDataMapping Editor里面完成(Inter-ECU Communicaition) - EXP:
Composition的runnable 与 OS task mapping在EcucValueCollection arxml的 RTE Editor里面完成 - EXP:
FlatView Composition arxml可以看到最全的ECU port connector的信息(Assembly Connector + Delegation Connector),相较之下TopLevelComposition只是SystemExtract下面SwcToEcuMapping的输入而已,包含了一些在其他ECU上的SWC等无用信息 - EXP:
ECU所有的外部通讯都在System Extract的 SystemSignalMapping上实现/完成 - EXP:
ECU Extract arxml = FlatView Composition + System Extract,而BSW的信息存储在EcucValueCollection arxml文件里面
- EXP:
-
-
-
-
-
EXP:
-
EXP:
-
EXP:右键(AR Explorer视图下)
-
EXP:Open With “Composition Overview”
-
EXP:打开Composition Overview视图
-
-
EXP:Open With “Composition Editor”
-
EXP:打开Composition Editor视图
-
-
-
-
Infrastructure
EXP:
-
EXP:
-
EXP:
-
EXP:
-
EXP:
-
EXP:
-
-
-
-
评论记录:
回复评论: