Specification of FlexRay Network Management, AUTOSAR 28, R22-11, CP 20230421

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



2023年11月にもAUTOSAR文書のURLが変更になっている。
/user_upload/standards/classic/21-11/
を
/standards/R21-11/CP/
などに書き換えてください。
お手数をおかけします。
１年に２度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_FlexRayNetworkManagement.pdf


R21-11

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

R20-11

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


R19-11

https://www.autosar.org/fileadmin/standards/R19-11/CP/AUTOSAR_SWS_FlexRayNetworkManagement.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との関係
 
Classic Platformと、Adaptive PlatformでNMに必要な機能を抜き出す。
ISO 各種規格に基づいた診断、通信の抽象的な定義をする。
必要があれば国際規格を改定する。
# 文書変更(Document Change) 
> Changes to Partial Networking
 Traceability changes
# 用語(terms)
|Term|Description|
|:--|:--|
|CC |Communication Controller
|NM| Network Management
|WCET| Worst Case Execution Time
|DET |Default Error Tracer. AUTOSAR Module for detection and reporting of errors during development.
|SRS| Software requirements specification
|SWS| Software working specification
|API |Application program interface
|Com |Communication module
|OS |Operating system
|SchM| Schedule Manager
|PDU |Protocol data unit
|CPU| Central processing unit
|PNL| Partial Network Learning
|FrIf| Abbreviation for the FlexRay Interface
|FrNm| Abbreviation for the Network Management on FlexRay
|NmIf| Abbreviation for the generic Network Management
|ECU| Electronic control unit
|ComM| Communication manager
|FrSm| FlexRay State Manager
|HW| Hardware
|Bus-Sleep Mode |Network mode where all interconnected communication controllers are in the sleep mode.
|NM-Network |Instance of the FlexRay NM to handle one physical FlexRay Bus. Caution: The FlexRay Bus contains two FlexRay channels which cannot be handled independent of the other. Therefore the NM-Network covers both FlexRay bus channels. This is equivalent to one NM-Cluster
|Network requested|NM network is requested if FrNm_NetworkRequest has been called and neither the network has been released nor Bus Sleep Mode has been entered afterwards
|Network released|NM network is released if FrNm_NetworkRelease has been called and network has not been requested afterwards
|Repeat Message Request active|A Repeat Message Request is active if FrNm_RepeatMessageRequest has been called or a NM PDU with Repeat Message Request bit set has been received in Network Mode. It is not active anymore if Repeat Message State is left or Bus Sleep Mode is entered.
|NM Data Cycle| Number of FlexRay cycles necessary for all nodes to be able to send NM Data at least once.
|NM Message |Packet of information exchanged for purposes of the NM algorithm.
|NM Repetition Cycle|Number of FlexRay cycles where no change of voting behavior is possible. Value has to be a multiple of the NM Voting Cycle. Used to
improve the reliability of the voting.
|NM Slot |Slot reserved for purposes of network management.
|NM Timeout |Timeout in the NM algorithm that initiates transition into Bus-Sleep Mode.
|NM User Data |Supplementary application specific data that is sent independent of the NM Vote on the bus.
|NM Voting Cycle|Number of FlexRay cycles necessary for all nodes to vote at least once. NM-Vote Information transmitted using the FlexRay Bus indicating the vote of a ECU to keep the bus awake
|NM-Vector |FlexRay NM Vector is the aggregated data available when the FlexRay CC optional NM Hardware Vector Service is used.
|NM-Data| Data related to NM transmitted using the FlexRay Bus.
|NM-Cluster| Obsolete, equivalent to NM-Network
|CBV| Control bit vector
|ClusterAwakeVote| At least one Node other than itself votes for keeping the cluster awake.
|Positive NMVote in static segment|NM-Vote PDU reception or transmission with Voting Bit set to '1'
|Positive NMVote in dynamic segment|NM-Vote PDU received or transmitted
|Negative NMVote in static segment|NM-Vote PDU reception or transmission with Voting Bit set '0'
|Negative NMVote|In dynamic segment: NM-Vote PDU is neither received nor transmitted
|Top-level PNC coordinator|The top-level PNC coordinator is an ECU that acts as PNC gateway in the network and that handles at least one PNC as actively coordinated on all assigned channels. If synchronized PNC shutdown is enabled, the toplevel PNC coordinator triggers for these PNCs the shutdown, if no other ECU in the network request them.
|Intermediate PNC coordinator|An intermediate PNC coordinator is an ECU that acts as PNC gateway in the network and that handles at least one PNC as passively coordinated on at least one assigned channel. If synchronized PNC shutdown is enabled, it forwards received shutdown requests for these PNCs to the corresponding actively coordinated channels and starts their shutdown accordingly.
|PNC leaf node| A PNC leaf node is an ECU that acts not as a PNC coordinator at all in the network. It processes PN shutdown message as usual NM messages.
|PN shutdown message|A top-level PNC coordinator transmit PN shutdown messages to indicate asynchronized PNC shutdown across the PN topology. A PN shutdown message is as NM message which has PNSR bit in the control bit vector and all PNCs which are indicated for a synchronized shutdown set to '1'.
## 英日単語帳
日本語は仮訳
T.B.D.
# 参考(reference)
[1] List of Basic Software Modules
AUTOSAR_TR_BSWModuleList.pdf
[2] Layered Sofware Architecture,
AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
[3] General Requirements on Basic Software Modules
AUTOSAR_SRS_BSWGeneral.pdf
[4] Requirements on Network Management
AUTOSAR_SRS_NetworkManagement.pdf
[5] Specification of the AUTOSAR Network Management Protocol
AUTOSAR_PRS_NetworkManagementProtocol.pdf
[6] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral.pdf
[7] Specification of SystemTemplate
AUTOSAR_TPS_SystemTemplate
[8] FlexRay Communications System Specifications, V2.1
[9] AUTOSAR Specification of Communication Manager
AUTOSAR_SWS_COMManager.pdf
[10] Specification of Generic Network Management Interface
AUTOSAR_SWS_NetworkManagement.pdf
[11] Specification of FlexRay Interface
AUTOSAR_SWS _FlexRayInterface.pdf
[12] Specification of ECU State Manager
AUTOSAR_SWS_ECUStateManager.pdf
[13] Specification of Default Error Tracer
AUTOSAR_SWS_DefaultErrorTracer.pdf
[14] Specification of Standard Types
AUTOSAR_SWS_StandardTypes.pdf
[15] Specification of Platform Types
AUTOSAR_SWS_PlatformTypes.pdf
[16] Specification of Compiler Abstraction
AUTOSAR_SWS_CompilerAbstraction.pdf
[17] Specification of Operating System
AUTOSAR_SWS_OS.pdf
[18] Specification of FlexRay State Manager
AUTOSAR_SWS_FlexRayStateManager.pdf


Glossary も　参考に入れましょう。
https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_TR_Glossary.pdf


# 参考資料　

@kazuo_reve 私が効果を確認した「小川メソッド」

https://qiita.com/kazuo_reve/items/a3ea1d9171deeccc04da

@kazuo_reve 新人の方によく展開している有益な情報

https://qiita.com/kazuo_reve/items/d1a3f0ee48e24bba38f1


@kanetugu2018　Mac＋Unity＋Pythonで箱庭ロボットを強化学習できるようにするための手順書

https://qiita.com/kanetugu2018/items/2268403549832966f26d

@kanetugu2018　ARM版マイコンシミュレータを Mac/Linux/Windows 環境で自作した話

https://qiita.com/kanetugu2018/items/14b42fbfcc690ca36580

## 自己参照　

AUTOSAR Abstract Platformへの道（詳細編）

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

AUTOSAR Abstract Platform User Group Weekly Report(1) 2022.1.8

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

祝休日・謹賀新年：2023年の目標

https://qiita.com/kaizen_nagoya/items/24584ac215517a4621ee

AUTOSAR 　R22-11で　リンク切れ、表示しない文書

https://qiita.com/kaizen_nagoya/items/13edb17f6ffd45cdc690


ボッシュ自動車handbook(英語)11版(0-1) 課題と記事一覧new

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

「ぼくの好きな先生」「人がやらないことをやれ」プログラマになるまで。仮説（37）

https://qiita.com/kaizen_nagoya/items/53e4bded9fe5f724b3c4

小川メソッド　覚え（書きかけ）

https://qiita.com/kaizen_nagoya/items/3593d72eca551742df68

DoCAP（ドゥーキャップ）って何ですか？

https://qiita.com/kaizen_nagoya/items/47e0e6509ab792c43327

「@kazuo_reve 新人の方によく展開している有益な情報」確認一覧

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


全世界の不登校の子供たち「博士論文」を書こう。世界子供博士論文遠隔実践中心

https://qiita.com/kaizen_nagoya/items/912d69032c012bcc84f2

Views１万越え、もうすぐ１万記事一覧

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

「想定外」3.11 東日本大震災をIT技術者が振り返る

https://qiita.com/kaizen_nagoya/items/80433f4bf7fe116bddd1

「はじめての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

# E23-11
https://qiita.com/kaizen_nagoya/items/af7e416eba29f734e139



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

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

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

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

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

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