《AUTOSAR谱系分解(ETAS工具链)》之Software

《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)
  • TopLevelComposition

    • Assembly Connectors

    • Component Prototypes

    • EXP:

      • EXP:

        • EXP:

          • EXP:

            • EXP:
              TopLevelComposition只是SystemExtract下面SwcToEcuMapping的输入
  • 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:右键(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:

            • 在这里插入图片描述

《AUTOSAR谱系分解(ETAS工具链)》之总目录

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值