基于Simulink生成ARXML自下而上导入ISOLAR自动配置ASW组件并自动连线生成RTE
创始人
2024-11-15 09:09:04

1. General

ETAS ISOLAR-A/B and MATLAB will be used to configure RTE. The version of the software used as below.

ID

Software

Version

1

ISOLAR-AB

V9.2.1

2

RTA-RTE

V7.5.3

3

RTA-BSW

V6.1.3

4

RTA-OS

V6.2.0

5

MATLAB

2021b

In order to successfully follow these workflows, you must have the RTACAR v9.2.1 toolchain installed, and you must be familiar with the AUTOSAR specifications, terminology and methodology.

1.1 Development Mode

There are 2 kinds of methods to develop RTE with ISOLAR.

The 1st one is used widely, but the disadvantage is also a headache.


Time consuming for SW design and integration. SwDev Engineers have to do the following at the same time:

Maintain the interfaces of Simulink


To improve the efficiency and mistake rate of SW development and integration, a solution based on the Automatic Method to achieve the implementation of RTE layer as below.

Figure 2 AUTOSAR Development Mode From Bottom to Top

1.2 Purpose

This document aims at instructing the engineers how to configure and generate the AutoSar source codes for RTE, COM in ISOLAR-A/B.

2. Develop AutoSar Frame Based on Simulink

MATLAB has already been able to support to develop model based on AutoSar. The concept is extremely simple that add an external frame on the top of the model. Briefly speaking, this frame is only used to:

  1. Define the interfaces and ports of SWC
  2. Generate the codes with the defined interfaces and ports.
  3. Generate the “.arxml” with the information of datatypes, interfaces, ports, runnable, and SWC.

Nevertheless, the generated arxml could not be imported in ISOLAR-A/B directly, due to the unreasonable design principle defined by MATLAB, e.g. the datatype definition, interface definition, etc.

Anyway, we could develop a tool to resolve this issue.

疑难问题:

  1. ARXML:Simulink只能基于单个模型生成SWC的arxml,但是又会将所有用到的IF定义并生成在ARXML中,这就是问题所在。这些重复定义的IF在不同的ARXML导入ISOLAR中会自动生成多个IF,从而造成冲突。

未完待续。。。

<后续会重点介绍Simulink配置过程及开发脚本生成arxml>

Reference: Heroluishin知识星球

INFO: 后期会在Heroluishin知识星球共享Simulink模型和AutoSAR配置的demo及ARXML

相关内容

热门资讯

裸辞做“一人公司”,我后悔了 去年这个时候,一位以色列程序员正在东南亚旅行。他顺手把一个在脑子里转了很久的想法做成了产品,一个让任...
南京建成国内首个Pre-6G试... 4月21日,2026全球6G技术与产业生态大会在南京开幕。全息互动技术展台前,一名远在北京的工作人员...
超梵求职受邀参加“2025抖音... 超梵求职受邀参加“2025抖音巨量引擎成人教育行业生态大会”,探讨分享优质内容传播,服务万千学员。 ...
摩托罗拉Razr 2026(R... IT之家 4 月 22 日消息,摩托罗拉宣布新一代 Razr 折叠手机将于 4 月 29 日在美国发...
库克卸任,特纳斯领航:苹果新纪... 苹果首席执行官蒂姆·库克将卸任,硬件工程主管约翰·特纳斯将接任,苹果公司今天宣布此事。 库克将在夏季...