Specification of EEPROM Driver, AUTOSAR 21, R22-11, CP


AUTOSARが2023年版、R(Release)23-11を公開しました。
https://www.autosar.org/fileadmin/standards/R23-11/CP/AUTOSAR_CP_SWS_EEPROMDriver.pdf

R22-11
https://www.autosar.org/fileadmin/standards/R22-11/CP/AUTOSAR_SWS_EEPROMDriver.pdf

R21-11
https://www.autosar.org/fileadmin/standards/R21-11/CP/AUTOSAR_SWS_EEPROMDriver.pdf

R20-11
https://www.autosar.org/fileadmin/standards/R20-11/CP/AUTOSAR_SWS_EEPROMDriver.pdf

R19-11
https://www.autosar.org/fileadmin/standards/R19-11/CP/AUTOSAR_SWS_EEPROMDriver.pdf


文書は検索してダウンロードできます。
https://www.autosar.org/


<この項は書きかけです。順次追記します。>
This article is not completed. I will add some words in order.

# Release Overviews
AUTOSARには現在3つの分類があります。CAN OSEK/VDXのClassic Platformと, Ethernet/TCP/IP POSIXのAdaptive Platformと、両者の共通部分のFoundationです。


Classic Platform Release Overview, AUTOSAR 0,　R23-11, CP
https://qiita.com/kaizen_nagoya/items/9d22c8722cbc0f42b137

Foundation Release Overview, AUTOSAR 781, R23-11, FO
https://qiita.com/kaizen_nagoya/items/f249bdb8c313d8bff883

Adaptive Platform Release Overview, AUTOSAR 782, R23-11, AP
https://qiita.com/kaizen_nagoya/items/13a104606a34fe24fcf7

# Qiita 記事一覧
Autosar Foundation R23-11 一覧
https://qiita.com/kaizen_nagoya/items/c30674cb2dac2fcbbd04

AUTOSAR Adaptive Platform R23-11一覧
https://qiita.com/kaizen_nagoya/items/1dece8799a730367b0dc

Autosar Classic Platform R23-11 一覧
https://qiita.com/kaizen_nagoya/items/f770f6c2906e1dcbf180


# 文書変更(Document Change) 
>• Editorial Changes
• Assigned new ID [SWS_Eep_00247] to a duplicate ID under EEP_E_ERASE_FAILED
# 用語(terms)

|term|Description|
|:--|:--|
|Data block |A data block may contain 1..n bytes and is used within the API of the EEPROM,  driver.Data blocks are passed with - Address offset in EEPROM - Pointer to memory location- Length , to the EEPROM driver.
|Data unit| The smallest data entity in EEPROM. The entities may differ for read/write/erase operation., Example 1: Motorola STAR12,  Read: 1 byte,  Write: 2 bytes, Erase: 4 bytes, Example 2: external SPI EEPROM device, Read/Write/Erase: 1 byte
|Normal mode, Burst mode|Some external SPI EEPROM devices provide the possibility of different access modes: - Normal mode: The data exchange with the EEPROM device via SPI is performed byte wise. This allows for cooperative SPI usage together with other SPI devices like I/O ASICs, external watchdogs etc. - Burst mode: The data exchange with the EEPROM device via SPI is performed block wise. The block size depends on the EEPROM properties, an example is 64 bytes. Because large blocks are transferred, the SPI is blocked by the EEPROM access in burst mode. This mode is used during ECU start-up and shut-down phases where fast reading/writing of data is required.
|EEPROM cell| Smallest physical unit of an EEPROM device that holds the data. Usually 1 byte.
|EEPROM |Electrically Erasable and Programmable Read Only Memory
|NVRAM| Non Volatile Random Access Memory
|NvM| Module name of NVRAM Manager
|EcuM| Module name of ECU State Manager
|DEM| Module name of Diagnostic Event Manager
|DET| Module name of Default Error Trace


# References

[1] Glossary AUTOSAR_FO_TR_Glossary
https://www.autosar.org/fileadmin/standards/R23-11/FO/AUTOSAR_FO_TR_Glossary.pdf
[2] Specification of NVRAM Manager AUTOSAR_CP_SWS_NVRAMManager
[3] Specification of ECU State Manager AUTOSAR_CP_SWS_ECUStateManager
[4] Specification of Diagnostic Event Manager AUTOSAR_CP_SWS_DiagnosticEventManager
[5] Specification of Default Error Tracer AUTOSAR_CP_SWS_DefaultErrorTracer
[6] General Specification of Basic Software Modules AUTOSAR_CP_SWS_BSWGeneral
[7] Layered Software Architecture AUTOSAR_CP_EXP_LayeredSoftwareArchitecture
[8] Specification of MCU Driver AUTOSAR_CP_SWS_MCUDriver
[9] Specification of SPI Handler/Driver AUTOSAR_CP_SWS_SPIHandlerDriver
[10] Specification of Memory Abstraction Interface AUTOSAR_CP_SWS_MemoryAbstractionInterface
[11] Requirements on EEPROM Driver AUTOSAR_CP_SRS_EEPROMDriver
[12] General Requirements on Basic Software Modules AUTOSAR_CP_SRS_BSWGeneral
[13] General Requirements on SPAL AUTOSAR_CP_SRS_SPALGeneral



## 補足資料（Additions）
祝休日・謹賀新年：2024年の目標
https://qiita.com/kaizen_nagoya/items/b659d922327a7dcdc898

2023 Countdown Calendar 主催・参加一覧
https://qiita.com/kaizen_nagoya/items/c4c2f08ac97f38d08543

CountDownCalendar月間　いいねをいただいた記事群　views　順
https://qiita.com/kaizen_nagoya/items/583c5cbc225dac23398a

Countdown Calendar 2023, 百記事目を書くにあたって。
https://qiita.com/kaizen_nagoya/items/45185a04cfd88b71256a

1年間をまとめた「振り返りページ」＠２０２３
https://qiita.com/kaizen_nagoya/items/bcd1ebd49d3a9e8c7a90

AUTOSAR 文書番号
https://qiita.com/kaizen_nagoya/items/8b894228a0b76c2265c7

AUTOSAR R23-11 記憶の記録
https://qiita.com/kaizen_nagoya/items/701bc800b5f137e51a36

AUTOSAR Countdown Calendar 2023
https://qiita.com/advent-calendar/2023/autosar

AUTOSAR Abstract Platformへの道 R22-11
https://qiita.com/kaizen_nagoya/items/8ac2826635a8c536c7ec

自動車　記事　１００
https://qiita.com/kaizen_nagoya/items/f7f0b9ab36569ad409c5

Basic principles, ボッシュ自動車handbook(英語)11版まとめ<2>
https://qiita.com/kaizen_nagoya/items/24a1ba5da3d09b2a95d1

JAXA/IPA クリティカルソフトウェアワークショップ WOCS言語関連発表(改定版)
https://qiita.com/kaizen_nagoya/items/4789832baf494cb74626

＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.


# 文書履歴(document history)
ver. 0.01 初稿 　20240127
### 最後までおよみいただきありがとうございました。
いいね　💚、フォローをお願いします。
#### Thank you very much for reading to the last sentence.
Please press the like icon 💚　and follow me for your happy life.