Specification of ECU State Manager, AUTOSAR 78, R22-11, CP, 20230421


 2023年4月URL変更
この項は2023年4月21日、AUTOSARの文書のURLが変更になった。
/classic/22-11/
が
/R22-11/CP/
過去記事で、URLでエラーが出たら書き換えてみてください。

/adaptive/22-11/
は　
/R22-11/AP/

/foundation/22-11/
は　
/R22-11/FO/
です。
## 2023年11月URL変更
2023年11月にもAUTOSAR文書のURLが変更になっている。
/user_upload/standards/classic/21-11/
を
/standards/R21-11/CP/
などに書き換えてください。

/user_upload/standards/adaptive/21-11/
を
/standards/R21-11/AP/

/user_upload/standards/foundation/21-11/
を
/standards/R21-11/FO/

お手数をおかけします。
１年に２度URLを変更するなんて、新しい記事が書ける。とても嬉しい。

# 一覧

AUTOSAR R22-11 Qiita記事一覧 20230421 。

https://qiita.com/kaizen_nagoya/items/81a35774f1aa3d64d3f6

この記事の表題の最後に「20230421」を加えます。

<この項は書きかけです。順次追記します。>

AUTOSARが、2022年の版、R22-11を公開しました。


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


R21-11

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

R20-11

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

R19-11

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


https://www.autosar.org/

文書は検索してダウンロードできます。

R20-11,R21-11, R22-11の３年分だけになりました。


公開行事の模様は

AUTOSAR R22-11 Release Event 20221208

https://qiita.com/kaizen_nagoya/items/18471d0b340480fdcd42


AUTOSAR R22-11 Classic Platform 一覧はこちら。


Classic Platform Release Overview, AUTOSAR No.0 ,R22-11, CP, 20230421

https://qiita.com/kaizen_nagoya/items/9d22c8722cbc0f42b137

# 要求仕様対応(Requirement and Specification)
# Abstract Platformとの関係

状態管理を統合する。

<この項は書きかけです。順次追記します。>


## 文書変更(Document Change) 
>• Added uptraces to SRS document
• Minor content changes, clarifications
# 用語(terms)
|Term|Description|
|:--|:--|
|Callback| Refer to the Glossary [5]
|Callout|’Callouts’ are function stubs that the system designer can replace　with code, usually at configuration time, to add functionality to the　ECU Manager module. Callouts are separated into two classes.　One class provides mandatory ECU Manager module functionality and serves as a hardware abstraction layer. The other class　provides optional functionality.
|Integration Code |Refer to the Glossary [5]
|Mode|A Mode is a certain set of states of the various state machines　(not only of the ECU Manager) that are running in the vehicle　and are relevant to a particular entity, an application or the whole　vehicle
|Passive Wakeup |A wakeup caused from an attached bus rather than an internal　event like a timer or sensor activity.
|Phase|A logical or temporal assembly of ECU Manager’s actions and　events, e.g. STARTUP, UP, SHUTDOWN, SLEEP, ... Phases　can consist of Sub-Phases which are often called Sequences if　they above all exist to group sequences of executed actions into　logical units. Phases in this context are not the phases of the　AUTOSAR Methodology.
|Shutdown Target|The ECU must be shut down before it is put to sleep, before it is　powered off or before it is reset. SLEEP, OFF, and RESET are　therefore valid shutdown targets. By selecting a shutdown target,　an application can communicate its wishes for the ECU behavior　after the next shutdown to the ECU Manager module.
|State|States are internal to their respective BSW component and thus　not visible to the application. So they are only used by the BSW’s　internal state machine. The States inside the ECU Manager build　the phases and therefore handle the modes.
|Wakeup Event|A physical event which causes a wakeup. A CAN message or a　toggling IO line can be wakeup events. Similarly, the internal SW　representation, e.g. an interrupt, may also be called a wakeup　event.
|Wakeup Reason |The wakeup reason is the wakeup event that is the actual cause　of the last wakeup.
|Wakeup Source|The peripheral or ECU component which deals with wakeup　events is called a wakeup source.
|BswM |Basic Software Mode Manager
|Dem| Diagnostic Event Manager
|Det| Default Error Tracer
|EcuM |ECU Manager
|Gpt |General Purpose Timer
|Icu| Input Capture Unit
|ISR |Interrupt Service Routine
|Mcu |Microcontroller Unit
|NVRAM |Non-volatile random access memory
|Os |Operating System
|Rte |Runtime Environment
|VFB| Virtual Function Bus

## 英日
日本語は仮訳

T.B.D.

# 参考(reference)

[1] List of Basic Software Modules
AUTOSAR_TR_BSWModuleList
[2] Specification of RTE Software
AUTOSAR_SWS_RTE
[3] Specification of Basic Software Mode Manager
AUTOSAR_SWS_BSWModeManager
[4] Guide to Mode Management
AUTOSAR_EXP_ModeManagementGuide
[5] Glossary, AUTOSAR_TR_Glossary
https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_TR_Glossary.pdf
[6] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral
[7] Virtual Functional Bus
AUTOSAR_EXP_VFB
[8] General Requirements on Basic Software Modules
AUTOSAR_SRS_BSWGeneral
[9] Requirements on Mode Management
AUTOSAR_SRS_ModeManagement
[10] Specification of ECU State Manager
AUTOSAR_SWS_ECUStateManager
[11] Specification of MCU Driver
AUTOSAR_SWS_MCUDriver
[12] Specification of CAN Transceiver Driver
AUTOSAR_SWS_CANTransceiverDriver



# 関連文書(Related document)


Basic principles, ボッシュ自動車handbook(英語)11版まとめ<2>

https://qiita.com/kaizen_nagoya/items/24a1ba5da3d09b2a95d1

JAXA/IPA クリティカルソフトウェアワークショップ WOCS言語関連発表(改定版)

https://qiita.com/kaizen_nagoya/items/4789832baf494cb74626


CAN(controller area network) 

https://qiita.com/kaizen_nagoya/items/e8c0bd7bfb2827b83de9

「はじめてのCAN/CANFD 」 ベクタージャパン ＜エンジニア夏休み企画>【読書感想文】

https://qiita.com/kaizen_nagoya/items/1fee270be00ef90ca4ec


三方良し　Udemy 車載LAN入門講座 CAN通信編

https://qiita.com/kaizen_nagoya/items/bed038c52510fea72c0a


詳解 車載ネットワーク CAN, CAN FD, LIN, CXPI, Ethernetの仕組みと設計のために(1) 著者　 ＜エンジニア夏休み企画 読書感想文＞

https://qiita.com/kaizen_nagoya/items/e9971698a108c3dba794

詳解 車載ネットワーク CAN, CAN FD, LIN, CXPI, Ethernetの仕組みと設計のために(2)参考文献 ＜エンジニア夏休み企画>【読書感想文】

https://qiita.com/kaizen_nagoya/items/e156cbdd5fce9263776e

詳解 車載ネットワーク CAN、CAN FD、LIN、CXPI、Ethernetの仕組みと設計のために

https://qiita.com/kaizen_nagoya/items/44a9e6b0f5363b4a5b35


 ＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞

# 文書履歴(document history)
ver. 0.01初稿　　20230609

### 最後までおよみいただきありがとうございました。

いいね　💚、フォローをお願いします。

####  Thank you very much for reading to the last sentence.

Please press the like icon 💚　and follow me for your happy life.