扫描二维码
随时随地手机看文章
Acronym: | Description: |
|
Basic Storage Object
|
A “Basic Storage Object” is the smallest entity of a NVRAM Block. Several “Basic Storage Objects” can be used to build a NVRAM Block. A “Basic Storage Object” can reside in different memory locations (RAM/ROM/NV memory). |
基本存储对象是NVRAM Block的最小实体。
|
NVRAM Block | The “NVRAM Block” is the entire structure, which is needed to administrate and to store a block of NV data. | NVRAM Block是NVM层存储器的定义对象,用作管理和存储非易失性数据。 |
NV data | The data to be stored in the Non-Volatile memory. | 要存储在NV Memory中的非易失性数据。 |
Block Management Type
|
Type of the NVRAM Block. It depends on the (configurable) individual composition of a NVRAM Block in chunks of different mandatory/optional Basic Storage Objects and the subsequent handling of this NVRAM block. | NVRAM Block 的类型。取决于NVRAM block 的BSO构成和后续block的处理方式。 |
NV Block Header | Additional information included in the NV Block if the mechanism “Static Block ID” is enabled. | 如果BVRAN Block启用了 “Static Block ID”,则其中包含NV Block的附加信息。 |
RAM Block |
The “RAM Block” is a Basic Storage Object. It represents the part of a NVRAM Block, which resides in the RAM. See [SRS_LIBS_08534] |
BSO:RAM Block。对NVRAM Block来说是必需(mandatory)成分。 |
ROM Block | The “ROM Block” is a Basic Storage Object. It represents the part of a NVRAM Block, which resides in the ROM. The “ROM Block” is an optional part of a NVRAM Block. | BSO:ROM Block,位于ROM中。对NVRAM Block来说是可选(optinal)成分。 |
NV Block | The “NV Block” is a Basic Storage Object. It represents the part of a NVRAM Block, which resides in the NV memory. The “NV Block” is a mandatory part of a NVRAM Block. | BSO:NV Block。位于NV Memory(比如:Flash,EEPROM等)中,对NVRAM Block来说是必需(mandatory)成分。 |
Administrative Block |
The “Administrative Block” is a Basic Storage Object. It resides in RAM. The Administrative Block contains any RAM data, that are necessary to manage the NVRAM block, for being able to perform processing on it and to deliver status information. The “Administrative Block” is a mandatory part of a NVRAM Block. |
BSO:Administrative Block。位于RAM中。其中包含管理NVRAM Block所必需的的RAM数据(状态信息等)。是NVRAM Block的必需(mandatory)成分。 |
Configuration Class | No | class3 | class2 | class1 | Characteristics of Request Types |
type1 | 1 | NvM_SetDataIndex(...) | NvM_SetDataIndex(...) | NvM_GetErrorStatus(...) | synchronous request |
2 | NvM_GetDataIndex(...) | NvM_GetDataIndex(...) | NvM_SetRamBlockStatus(...) | affects one RAM block | |
3 | NvM_SetBlockProtection(...) | NvM_GetErrorStatus(...) | NvM_SetBlockLockStatus(...) | available for all SW Cs | |
4 | NvM_GetErrorStatus(...) | NvM_SetRamBlockStatus(...) |
|
|
|
5 | NvM_SetRamBlockStatus(...) | NvM_SetBlockLockStatus(...) |
|
|
|
6 | NvM_SetBlockLockStatus() |
|
|
|
|
type2 | 1 | NvM_ReadBlock(...) | NvM_ReadBlock(...) | / | asynchronous request (result via callback or polling) |
2 | NvM_WriteBlock(...) | NvM_WriteBlock(...) | affects one NVRAM block | ||
3 | NvM_RestoreBlockDefaults(...) | NvM_RestoreBlockDefaults(...) | handled by NVRAM manager task via request list | ||
4 | NvM_EraseNvBlock(...) | NvM_CancelJobs(…) | available for all SW Cs | ||
5 | NvM_InvalidateNvBlock(...) | NvM_ReadPRAMBlock(...) |
|
||
6 | NvM_CancelJobs(…) | NvM_WritePRAMBlock(...) |
|
||
7 | NvM_ReadPRAMBlock(...) | NvM_RestorePRAMBlockDefaults(...) |
|
||
8 | NvM_WritePRAMBlock(...) |
|
|
||
9 | NvM_RestorePRAMBlockDefaults(...) |
|
|
||
type3 | 1 | NvM_ReadAll(...) | NvM_ReadAll(...) | NvM_ReadAll(...) | asynchronous request (result via callback or polling) |
2 | NvM_WriteAll(...) | NvM_WriteAll(...) | NvM_WriteAll(...) | affects all NVRAM blocks with permanent RAM data | |
3 | NvM_CancelWriteAll(...) | NvM_CancelWriteAll(...) | NvM_CancelWriteAll(...) |
|
|
4 | NvM_ValidateAll(...) | NvM_ValidatedAll(...) |
|
|
|
1 | NvM_FirstInitAll(…) | NvM_Init(...)⌋ ( ) |
|
|
|
type4 | 1 | NvM_Init(...) | NvM_Init(...) | NvM_Init(...) |
· synchronous request · basic initialization · success signaled to the task via command interface inside the function itse |
Remark |
|
|
|
1. No queue; 2. No immediate data can be written; 3. Not support Dataset management type; 4. |
|
Requirement | Description | Satisfied by |
RS_BRF_00129 |
AUTOSAR shall support data corruption detection and protection。
|
SRS_Mem_00030, SRS_Mem_00129, SRS_Mem_08001, SRS_Mem_08010, SRS_Mem_08545, SRS_Mem_08546, SRS_Mem_08547, SRS_Mem_08550, SRS_Mem_08552, SRS_Mem_08553, SRS_Mem_08555, SRS_Mem_08556 |
RS_BRF_01048 |
AUTOSAR module design shall support modules to cooperate in a multitasking environment。
|
SRS_Mem_00034, SRS_Mem_08542, SRS_Mem_08558 |
RS_BRF_01064 |
AUTOSAR BSW shall provide callback functions in order to access upper layer modules。
|
SRS_Mem_00125 |
RS_BRF_01076 |
AUTOSAR basic software shall perform module local error recovery to the extent possible。
|
SRS_Mem_00038 |
RS_BRF_01096 |
AUTOSAR shall support start-up and shutdown of ECUs。
|
SRS_Mem_00137, SRS_Mem_08540 |
RS_BRF_01416 |
AUTOSAR services shall support standardized handling of non-volatile memory data。
|
SRS_Mem_00013, SRS_Mem_00016, SRS_Mem_00017, SRS_Mem_00136, SRS_Mem_00138, SRS_Mem_08544, SRS_Mem_08554 |
RS_BRF_01800 |
AUTOSAR non-volatile memory functionality shall be divided into a hardware dependent and independent layer。
|
SRS_Mem_00011 |
RS_BRF_01808 |
AUTOSAR non-volatile memory handling shall support different kinds of memory hardware。
|
SRS_Mem_08000 |
RS_BRF_01812 |
AUTOSAR non-volatile memory functionality shall support the prioritization and asynchronous execution of jobs。
|
SRS_Mem_00034, SRS_Mem_08543, SRS_Mem_08558 |
RS_BRF_01816 |
AUTOSAR non-volatile memory functionality shall organize persistent data based on logical memory blocks。
|
SRS_Mem_00041, SRS_Mem_08001, SRS_Mem_08009, SRS_Mem_08528, SRS_Mem_08529, SRS_Mem_08531, SRS_Mem_08533, SRS_Mem_08534, SRS_Mem_08538, SRS_Mem_08543, SRS_Mem_08549, SRS_Mem_08560 |
RS_BRF_01824 |
AUTOSAR non-volatile memory functionality shall provide a mapping of non volatile memory into random access memory。
|
SRS_Mem_00027, SRS_Mem_08014, SRS_Mem_08533, SRS_Mem_08538, SRS_Mem_08549
|
RS_BRF_01832 |
AUTOSAR non-volatile memory shall handle logical memory blocks independent of its physical address。
|
SRS_Mem_08007, SRS_Mem_08531 |
RS_BRF_01840 |
AUTOSAR non-volatile memory functionality shall secure integrity of memory blocks。
|
SRS_Mem_00018, SRS_Mem_00030, SRS_Mem_00127, SRS_Mem_00129, SRS_Mem_00135, SRS_Mem_08010, SRS_Mem_08011, SRS_Mem_08015, SRS_Mem_08535, SRS_Mem_08541, SRS_Mem_08546, SRS_Mem_08547, SRS_Mem_08548, SRS_Mem_08552, SRS_Mem_08553, SRS_Mem_08556 |
RS_BRF_01848 |
AUTOSAR non-volatile memory functionality shall provide mechanisms to enhance hardware reliability。
|
SRS_Mem_00018, SRS_Mem_08529, SRS_Mem_08531, SRS_Mem_08548, SRS_Mem_08551, SRS_Mem_08554 |