AUTOSAR Memory Stack
AUTOSAR Memory Stack
Industry
AUTOSAR Memory Stack
“If horses had controlled investment
decisions, there would have been no auto
industry.”
— Warren Buffett
01
Introduction
The way I drive, the way I handle a car, is an
expression of my inner feelings.
Lewis Hamilton
Need of memory stack
● ROM
● Non-Volatile Memory
○ EEPROM
○ FLASH
● Access to blocks through BlockId , with optional queuing and priority management
Application request
Application update RAM
read/restore
● 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
○ 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
○ The memory stack can use either polling or callback to get the status of current
write/read job requested from application
○ When a Ram block is written to NV memory the NV block shall be immediately read back and
compared with the original content in RAM block
○ Write verification shall be performed in steps so that the number of bytes read specified by a
configuration parameter
■ NVM_WRITE_VERIFICATION_DATA_SIZE
○ If write verification failed then write retires shall be performed by a configuration parameter
■ NVM_MAX_NUM_OF_WRITE_RETRIES
Memory stack main Concepts
● Protection of NV block
○ Memory stack provides functionality of protecting the NV block from being overwritten
www.imtschool.com
www.facebook.com/imaketechnologyschool/