10 Best Practices for Deploying AUTOSAR Using Simulink
4
Figure 1. Classic AUTOSAR layered architecture.
The top 10 best practices for effective AUTOSAR deployment with Simulink are:
1. Determine your strategy for migrating existing Simulink models to AUTOSAR
2. Use one AUTOSAR workflow
3. Select a data management strategy
4. Establish a modeling standard
5. Simulate before you generate code
6. Use production code generation
7. Use Simulink to migrate legacy code to AUTOSAR
8. Automate, automate, automate
9. Plan ahead for ISO 26262
10. Actively plan for migration
Overview of Simulink Support for AUTOSAR
Let’s start with a quick review of how the Simulink product family supports AUTOSAR. You can use
Simulink and AUTOSAR Blockset to design, implement, and verify AUTOSAR atomic software com-
ponents (SWCs). Each AUTOSAR software component can contain one or many entry point func-
tions, which are implemented in AUTOSAR as runnable entities. AUTOSAR Blockset allows a
Simulink model to be mapped to AUTOSAR such that Embedded Coder is able to generate
AUTOSAR-compliant C/C++ code and AUTOSAR XML (ARXML) files.
RUNTIME ENVIRONMENT (RTE)
ECU HARDWARE
APPLICATION LAYER
AUTOSAR
Software
Component 1
AUTOSAR
Software
Component 2
AUTOSAR
Software
Component n
BASIC SOFTWARE
Services
Layer
Abstraction
Layer
Microcontroller
Abstraction
Layer
Complex
Drivers
BSW CONFIGURATION
AND RTE GENERATION
BEHAVIOR
MODELING
AND CODE
GENERATION
SOFTWARE ARCHITECTURE DEFINITION
MODELING AND
SIMULATION
- NVRAM Manager
- Diagnostics Event
Manager
评论0