Code Generation for AUTOSAR Adaptive Applications
View schedule and enrollCourse Details
This two-day course discusses AUTOSAR Adaptive-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 Adaptive compliant code generation
- Configuring AUTOSAR Adaptive events and methods in Simulink
- Importing and exporting AUTOSAR Adaptive software architectures and compositions
- Modeling calls to AUTOSAR Runtime for Adaptive Applications
Day 1 of 2
AUTOSAR Adaptive Platform Overview
Objective: Understand the differences between the AUTOSAR platforms and how Simulink and AUTOSAR blockset facilitate AUTOSAR Adaptive software design.
- AUTOSAR overview
- AUTOSAR Adaptive platform structure
- Service-oriented architecture
- Using Simulink for AUTOSAR Adaptive application design
Understanding AUTOSAR Adaptive C++ Code and Artifacts
Objective: Configure a Simulink model for AUTOSAR Adaptive code generation and simulation, and navigate generated AUTOSAR Adaptive C++ code and ARXML files.
- Generating generic C and C++ code
- Configuring models for AUTOSAR Adaptive code generation
- Generating AUTOSAR Adaptive C++ code and ARXML files
- Simulating AUTOSAR Adaptive models
Modeling and Validating AUTOSAR Adaptive Applications
Objective: Author and model AUTOSAR Adaptive ports and interfaces that use event-based communication.
- Configuring AUTOSAR Adaptive ports and interfaces
- Modeling and simulating event quality of service
Modeling Multirate and Event-Driven AUTOSAR Adaptive Applications
Objective: Schedule periodic and nonperiodic rates in an AUTOSAR Adaptive application.
- AUTOSAR Adaptive modeling domains
- Modeling AUTOSAR Adaptive applications with multiple periodic rates
- Modeling AUTOSAR Adaptive applications with customized entry-point functions
- Modeling AUTOSAR Adaptive applications with event-driven components
Day 2 of 2
Modeling AUTOSAR Adaptive Software Architecture
Objective: Create an AUTOSAR Adaptive software architecture design, and populate it with working AUTOSAR Adaptive applications and compositions.
- Creating AUTOSAR Adaptive software architectures and compositions
- Generating AUTOSAR Adaptive skeleton applications
- Exporting AUTOSAR Adaptive compositions and applications
- Simulating AUTOSAR Adaptive software architecture models
Modeling AUTOSAR Adaptive Methods
Objective: Model client and server applications that communicate using AUTOSAR Adaptive methods.
- Configuring service interfaces containing methods
- Modeling blocking method calls
- Modeling nonblocking method calls
- Modeling mixed service interfaces
Importing AUTOSAR Adaptive Applications
Objective: Import existing ARXML files to automatically generate Simulink models with correct architecture and interfaces.
- Generating AUTOSAR Adaptive application models and compositions from ARXML files
- Adding functionality to generated Simulink models
- Importing AUTOSAR Adaptive applications into software architecture models
- Importing structure and fixed-point data types
Modeling AUTOSAR Adaptive Runtime Services
Objective: Configure AUTOSAR Adaptive applications to read and write persistent data and utilize the standard logging utility.
- Modeling key-value persistency
- Outputting to standard logging utility
Level: Intermediate
Prerequisites:
- Simulink Fundamentals (or Simulink Fundamentals for Automotive Applications or Simulink Fundamentals for Aerospace Applications).
- Embedded Coder for Production Code Generation
- Knowledge of C++ programming language and the AUTOSAR Adaptive platform. Note: knowledge of the AUTOSAR Classic platform is not required
Duration: 2 day
Languages: 中文