基于Simulink生成ARXML自下而上导入ISOLAR自动配置ASW组件并自动连线生成RTE

avatar
作者
筋斗云
阅读量:0

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

广告一刻

为您即时展示最新活动产品广告消息,让您随时掌握产品活动新动态!