首页 最新 热门 推荐

  • 首页
  • 最新
  • 热门
  • 推荐

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

  • 23-11-14 08:23
  • 3144
  • 7649
blog.csdn.net

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

文章目录

  • 《AUTOSAR谱系分解(ETAS工具链)》之Software
    • Software
      • Data Types
      • Compu Methods
      • Interfaces
      • Components
      • Compositions
      • Infrastructure
      • EXP:

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工具链)》之总目录

注:本文转载自blog.csdn.net的PlutoZuo的文章"https://blog.csdn.net/PlutoZuo/article/details/131092089"。版权归原作者所有,此博客不拥有其著作权,亦不承担相应法律责任。如有侵权,请联系我们删除。
复制链接
复制链接
相关推荐
发表评论
登录后才能发表评论和回复 注册

/ 登录

评论记录:

未查询到任何数据!
回复评论:

分类栏目

后端 (14832) 前端 (14280) 移动开发 (3760) 编程语言 (3851) Java (3904) Python (3298) 人工智能 (10119) AIGC (2810) 大数据 (3499) 数据库 (3945) 数据结构与算法 (3757) 音视频 (2669) 云原生 (3145) 云平台 (2965) 前沿技术 (2993) 开源 (2160) 小程序 (2860) 运维 (2533) 服务器 (2698) 操作系统 (2325) 硬件开发 (2492) 嵌入式 (2955) 微软技术 (2769) 软件工程 (2056) 测试 (2865) 网络空间安全 (2948) 网络与通信 (2797) 用户体验设计 (2592) 学习和成长 (2593) 搜索 (2744) 开发工具 (7108) 游戏 (2829) HarmonyOS (2935) 区块链 (2782) 数学 (3112) 3C硬件 (2759) 资讯 (2909) Android (4709) iOS (1850) 代码人生 (3043) 阅读 (2841)

热门文章

101
推荐
关于我们 隐私政策 免责声明 联系我们
Copyright © 2020-2024 蚁人论坛 (iYenn.com) All Rights Reserved.
Scroll to Top