01 - AUTOSAR Memory Stack
01 - AUTOSAR Memory Stack
● RAM
● ROM
● Non-Volatile Memory
○ EEPROM
○ FLASH
● Access to blocks through BlockId , with optional queuing and priority management
● EEP module
● FLS module
● EA module
● FEE module
● MEMIF module
● It allows the NVRAM manager to access several memory abstraction modules ( FEE
or EA modules)
Memory stack modules
roles
● NVM module
● Access to blocks through BlockId , with optional queuing and priority management
● NV blocks
○ Native NV block
○ Redundant NV block
○ Dataset NV block
● ROM blocks
● RAM blocks
○ It consists of
■ Optional NV block header (Static block ID)
■ Data
■ Optional CRC
Memory stack main
concepts
● CRC calculations
○ CRC shall be recalculated and updated in the RAM block upon each write
request from application
● Priority management
○ The memory stack supports a priority based job processing (in case of multiple
write/read requests from application)
○ The memory stack can use either polling or callback to get the status of current
write/read job requested from application
● Write verification
○ Write verification shall be performed in steps so that the number of bytes read
specified by a configuration parameter
■ NVM_WRITE_VERIFICATION_DATA_SIZE
● Protection of NV block
● Write operation
● Read operation