AUTOSAR_SWS_FlashDriver
Specification of Flash Driver Introduction and functional overview This specification describes the functionality, API and the configuration for the AUTOSAR Basic Software module [1] Flash Driver. This specification is applicable to drivers for both internal and external flash memory. The flash driver provides services for reading, writing and erasing flash memory and a configuration interface for setting / resetting the write / erase protection if supported by the underlying hardware. In application mode of the ECU, the flash driver is only to be used by the Flash EEPROM emulation module for writing data. It is not intended to write program code to flash memory in application mode. This shall be done in boot mode which is out of scope of AUTOSAR. A driver for an internal flash memory accesses the microcontroller hardware directly and is located in the Microcontroller Abstraction Layer. An external flash memory is usually connected via the microcontroller's...