Skip to content
MathWorks - Mobile View
  • Inicie sesión cuenta de MathWorksInicie sesión cuenta de MathWorks
  • Access your MathWorks Account
    • Mi Cuenta
    • Mi perfil de la comunidad
    • Asociar Licencia
    • Cerrar sesión
  • Productos
  • Soluciones
  • Educación
  • Soporte
  • Comunidad
  • Eventos
  • Obtenga MATLAB
MathWorks
  • Productos
  • Soluciones
  • Educación
  • Soporte
  • Comunidad
  • Eventos
  • Obtenga MATLAB
  • Inicie sesión cuenta de MathWorksInicie sesión cuenta de MathWorks
  • Access your MathWorks Account
    • Mi Cuenta
    • Mi perfil de la comunidad
    • Asociar Licencia
    • Cerrar sesión

Vídeos y webinars

  • MathWorks
  • Vídeos
  • Vídeos-Inicio
  • Buscar
  • Vídeos-Inicio
  • Buscar
  • Comuníquese con ventas
  • Software de prueba
2:48 Video length is 2:48.
  • Description
  • Full Transcript
  • Related Resources

Simulate AUTOSAR ECU software using Basic Software Blocks

AUTOSAR ECU software simulates the combined behavior of ECU application software and basic software services in a PC-based environment with Simulink®. This implies replacing the hardware with some form of emulation, which primarily helps in validating the software via modeling simulation.

You can model and simulate many basic software modules that already exist. For example, Simulink provides out-of-the-box preconfigured caller blocks and reference implementations for NVRAM Manager and Diagnostics Services, which saves time by removing the need to read specifications from AUTOSAR, NVRAM Manager, and Diagnostics services.

Hello, my name is James. And today I would like to show you how to put Basic Software in AUTOSAR Blockset. What is Basic Software?

We can see here we have a Simulink model which has four components in it. Each is defined separately in its own model, in reference here. These components communicate with each other via the RTE, in this case represented by signal connections. Basic Software is a separate standardized functionality shared between components, accessible through the RTE.

What is our Blockset currently supports three areas of Basic Software. The Diagnostic Event Manager, which enables the reporting and querying of diagnostic events. The Function Inhibition Manager, which allows the inhibition of Blockset functionality, based on the diagnostic events mentioned previously. And the NVRAM Manager, which allows to read and write to nonvolatile memory.

Each of these is described by a highly-detailed specification. So our goal is to make it as simple and intuitive if possible to work within the Simulink environment. We recently added to the functionality of our Dem and FiM tools in R202a.

These blocks are flexible in their usage. And they lend themselves to numerous Simulink modeling applications, which you might be familiar with already. Here we can see the function inhibition query being used to enable a subsystem. In comparison to a baseline driving an event monitor, a read from NVRAM, and writing to a data store within an initialized subsystem. And then operation cycle, which is being driven by a pulse signal.

This modeling flexibility shows through in the generated code. We can see here, the same calls to Basic Software appearing seamlessly within the code. In order to simulate and validate these parts within Simulink, we need an implementation for these calls. We provide this using Service Component box, which you can find in the Simulink block library.

Taking a look inside the diagnostic service component, we can assign IDs to client ports across our coordinating components, so they can refer to the same underlying events, functions, and operation cycles. We have some options to manage event debouncing. And we also have a tab to configure the function inhibition criteria. Now we can see that our model simulates. The default is reported through Basic Software, and the system is able to react also using Basic Software.

On a final note, we were always interested in feedback from our users. So now that you've seen the capabilities of Basic Software and what is a Blockset, please let us know, or leave a comment if there are any future enhancements that you'd like to see in this area. Thank you.

Related Products

  • AUTOSAR Blockset

Bridging Wireless Communications Design and Testing with MATLAB

Read white paper

Feedback

Featured Product

AUTOSAR Blockset

  • Request Trial
  • Get Pricing

Up Next:

32:43
Freedom from Run-Time Errors for AUTOSAR-Based ECU Software

Related Videos:

26:03
Automatic Code Generation of AUTOSAR Software Components...
6:01
Simulation of AUTOSAR Software Components
1:42
Using Software to Enhance Mathematics Education: STEM...
1:55
Using Software to Enhance Mathematics Education: Junior...

View more related videos

MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

  • Switzerland (English)
  • Switzerland (Deutsch)
  • Switzerland (Français)
  • 中国 (简体中文)
  • 中国 (English)

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • Comuníquese con ventas
  • Software de prueba

MathWorks

Accelerating the pace of engineering and science

MathWorks es el líder en el desarrollo de software de cálculo matemático para ingenieros

Descubra…

Explorar productos

  • MATLAB
  • Simulink
  • Software para estudiantes
  • Soporte para hardware
  • File Exchange

Probar o comprar

  • Descargas
  • Software de prueba
  • Comuníquese con ventas
  • Precios y licencias
  • Cómo comprar

Aprender a utilizar

  • Documentación
  • Tutoriales
  • Ejemplos
  • Vídeos y webinars
  • Formación

Obtener soporte

  • Ayuda para la instalación
  • MATLAB Answers
  • Consultoría
  • Centro de licencias
  • Comuníquese con soporte

Acerca de MathWorks

  • Ofertas de empleo
  • Sala de prensa
  • Misión social
  • Casos prácticos
  • Acerca de MathWorks
  • Select a Web Site United States
  • Centro de confianza
  • Marcas comerciales
  • Política de privacidad
  • Antipiratería
  • Estado de las aplicaciones

© 1994-2022 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

Únase a la conversación