MATLAB and Simulink Training

Code Generation for Classic AUTOSAR Software Components

Course Details

This two-day course discusses Classic AUTOSAR-compliant modeling and code generation using AUTOSAR Blockset. Workflows for top-down and bottom-up software development approaches are discussed in the context of Model-Based Design. This course is intended for automotive industry software developers and systems engineers who use Embedded Coder for automatic C/C++ code generation.

Topics include:

  • Generating Simulink models from existing ARXML system descriptions
  • Configuring Simulink models for AUTOSAR compliant code generation
  • 在Simulink模型中配置AutoSar通信元素金宝app
  • Modeling AUTOSAR events in Simulink
  • Creating calibration parameters
  • 在软件组件中建模汽车变化点
  • 导入和导出汽车构图和软件体系结构
  • Modeling calls to basic software services

Day 1 of 2


Importing AUTOSAR Software Components

Objective:Import existing ARXML files to automatically generate Simulink models with correct architecture and interfaces.

  • Autosar XML(ARXML)描述
  • Importing AUTOSAR software components
  • Array and enumeration data types
  • Adding functionality to generated Simulink models
  • Simulating with a harness model
  • AUTOSAR code generation
  • Structure and fixed-point data types
  • Managing imported data types in Simulink
  • Importing modified ARXML files

Exporting AUTOSAR Software Components

Objective:将Simulink模金宝app型配置为AutoSar软件组件,并为ARXML生成定义AutoSar端口和接口。

  • 创建Autosar组件
  • Mapping Simulink model objects to AUTOSAR software components
  • 生成代码和导出ARXML文件

建模汽车端口和接口

Objective:将Simulink 金宝appInport和Outport Blocks配置为各种类型的AutoSar端口。

  • Autosar通信概述(端口和接口)
  • Modeling sender-receiver communication
  • 建模汽车模式
  • Modeling client-server communication

Modeling AUTOSAR Events

Objective:Model periodic and non-periodic AUTOSAR events in Simulink models.

  • AUTOSAR events overview
  • Simulating events in Simulink models
  • 时间(周期性)事件
  • 非周期事件概述
  • Modeling data received events
  • Modeling mode switch events
  • 触发初始化
  • Simulating nonperiodic events

Modeling Calibration Parameters and Per-Instance Memory

Objective:使用数据对象和代码映射在Simulink模型中指定Autosar校准参数和每类内存。金宝app

  • Modeling calibration parameters provided by parameter SWCs
  • Modeling internal calibration parameters: shared by all instances
  • Modeling internal calibration parameters: separate copy for each instance
  • 为每一个建模内存

Day 2 of 2


Modeling AUTOSAR Variants

Objective:Configure a variant-based design within an AUTOSAR software component, and map Simulink variants to AUTOSAR variation points.

  • Creating variant subsystems in rate-based models
  • Generating AUTOSAR variants

AUTOSAR建模作品和软件下cture

Objective:创建Autosar软件体系结构设计,并使用工作的AutoSar软件组件和组成填充它。

  • Creating AUTOSAR software architectures and compositions
  • 生成Autosar软件组件
  • 导出汽车组成和软件组件
  • 模拟Autosar软件体系结构模型
  • 导入汽车组合物
  • Generating code for reusable software components

建模基本软件服务

Objective:Configure AUTOSAR software components to read and write diagnostic statuses and manage non-volatile RAMs.

  • 基本软件服务概述
  • Setting diagnostic statuses
  • Monitoring diagnostic statuses
  • Reading and writing NVRAM
  • 监视NVRAM

Level:中间的

期间:2 days

语言:Deutsch, English, 日本語, 한국어, 中文