NvMServiceCaller
Call AUTOSAR NVRAM Manager (NvM) service interface
NvMService
Libraries:
AUTOSAR Blockset /
Classic Platform /
Basic Software /
NVRAM Manager (NvM)
Description
The AUTOSAR standard defines a NVRAM Manager (NvM) service as a part of Basic
Software (BSW) that runs in the AUTOSAR Runtime Environment (RTE). AUTOSAR
software components access NvM services through client-server calls. The
NvMServiceCaller block calls the AUTOSAR NvM service interface
NvMService by to initiate specified
operation.
Examples
Simulate AUTOSAR Basic Software Services and Run-Time Environment
Simulate AUTOSAR component calls to Basic Software memory and diagnostic services by using reference implementations.
Parameters
Enter the name of the client port the AUTOSAR software
component uses to call the NvM service interface
NvMService.
Programmatic Use
Block
Parameter:
PortName |
| Type: character vector |
Values:
'NvMService' | unique
name |
Default:
'NvMService' |
Select the operation that the AUTOSAR software
component calls from the NvM service interface
NvMService. The AUTOSAR
standard defines the operations. After you select
the operation, the inports and outports for the
block are generated to support the operation.
Programmatic Use
Block
Parameter:
Operation |
| Type: character vector |
Values:
'GetDataIndex' | 'GetErrorStatus' |
'EraseNvBlock' | 'InvalidateNvBlock' | 'ReadBlock'
| 'RestoreBlockDefaults' | 'SetDataIndex' |
'SetRamBlockStatus' |
'WriteBlock' |
Default:
'GetDataIndex' |
A MATLAB expression that specifies data type and dimensions for data to be read or written by the operation.
To specify a multidimensional data type, you can use array syntax, such as
int8([1 1; 1 1]).To specify a structured data type, you can create a
Simulink.Parameterdata object, type it with aSimulink.Busobject, and reference the parameter name.
For examples, see Argument Specification for Simulink Function Blocks.
Dependencies
Specify this parameter when
Operation is set to
ReadBlock,
RestoreBlockDefaults, or
WriteBlock.
Programmatic Use
Block
Parameter:
ArgumentSpecification |
| Type: character vector |
Values:
'uint8(1)' | character
vector |
Default:
'uint8(1)' |
Block sample time. The default sets the block to inherit its sample time from the model.
Programmatic Use
Block
Parameter:
st |
| Type: scalar |
Values:
'-1' | scalar |
Default:
'-1' |
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Version History
Introduced in R2016bStarting in 23a, Basic Software caller (BSW) blocks support all AUTOSAR schema versions supported by AUTOSAR Blockset. The BSW blocks inherit the same schema version specified by the model. Code and ARXML generated from the component reflect the schema version specified on the model. When you change the schema version specified by the model, the software automatically replaces software calls to the correct operation.
In some cases, the software may prompt you to confirm a change when moving between schema versions. The software may also display a warning as you update to new schema versions as some modeling patterns are no longer compliant with the configured AUTOSAR schema version.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- 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
- United Kingdom (English)

