Specification of FlexRay ISO Transport Layer, AUTOSAR 589, R22-11, CP, 20230421

AUTOSARは自動車用OSの業界団体規格です。　
業務で利用する場合には、会員になることを条件にしています。

2002年から20年経ち、当初の狙いの段階に近づいてきました。

MATLABでモデルさえ記述すれば、あとは自動生成だけでソフトが完成するところまで、あと一歩です。
Ethernet, UNIXが生まれて20年で大衆化したのと同じように考えると分かりやすいでしょう。　

AUTOSARの上で動く、クラウド対応のミドルウェアが出て、開発も運用もクラウドになれば、一気にAUTOSARは大衆化するでしょう。

AUTOSAR Abstract Platformへの道 R22-11

https://qiita.com/kaizen_nagoya/items/8ac2826635a8c536c7ec

# 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_FlexRayISOTransportLayer.pdf

R21-11

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

R20-11

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

R19-11

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

https://www.autosar.org/

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

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

公開行事の模様は

AUTOSAR R22-11 Release Event 20221208

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

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

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

Foundation Release Overview, AUTOSAR, 781, R22-11, FO, 20230421

https://qiita.com/kaizen_nagoya/items/596a7e2ec86913daa3c2

Adaptive Platform Release Overview, AUTOSAR 782, R22-11, AP, 20230421

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

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

FlexRay文書統合。
# 文書変更(Document Change) 
> No content changes

# 用語(terms)
|Term| Description¥
|:--|:--|
|I- |Relative to upper AUTOSAR Layer (e.g. COM, DCM etc.)
|L-| Relative to the FlexRay Interface module.
|N-| Relative to the FlexRay Transport Protocol Layer. 
|Fr L-SDU |This is the SDU of the FlexRay Interface module. It is similar to Fr N-PDU but from the FlexRay Interface module point of view.
|Fr L-SduId |This is the unique identifier of a Fr-L-SDU within the FlexRay Interface. It is used for referencing L-SDU’s routing properties.
|Fr N-PDU |This is the PDU of the FlexRay Transport Layer. It contains address information, protocol control information and data (the whole Fr N-SDU or a part of it).
|Fr N-SDU |This is the SDU of the FlexRay Transport Layer. In the AUTOSAR architecture, it is a set of data coming from the PDU Router.
|Fr N-SduId |Unique N-SDU identifier within the FlexRay Transport Layer. It is used to reference NSDU’s routing properties.
|I-PDU| This is the PDU of the upper AUTOSAR Layers modules (e.g. COM, DCM etc.). If data transfer via FlexRay Transport Protocol is configured, I-PDU is similar to an FrTp N-SDU.
|PDU |In layered systems, it refers to a data unit that is specified in the protocol of a given layer. This contains user data of that layer (SDU) plus possible protocol control information. Furthermore, the PDU of layer X is the SDU of its lower layer X-1 (i.e. (X)-PDU = (X1)-SDU).
|PduInfoType| This type refers to a structure used to store basic information to process the transmission\reception of a PDU (or a SDU), namely a pointer to its payload in RAM and the corresponding length (in bytes).
|Channel| A channel is a resource of the FrTp module to handle communication links to other communication nodes from FrTp’s point of view (transferring Fr N-PDUs).
|Connection |A connection specifies a communication link between different communication nodes from FrTp’s point of view. A connection defines the sender / receiver relation of communication nodes
|PCI |Protocol Control Information
|e.g. |lat. ‘exempli gratia’ – engl. for example
|i.e.| lat. 'id est' – engl. that is
|CanTp |CAN Transport Protocol
|LinTp |LIN Transport Protocol
|CF |Consecutive Frame Fr N-PDU
|COM |AUTOSAR Communications module
|DCM| Diagnostic Communication Manager module
|DET| Default Error Tracer
|FC |Flow Control Fr N-PDU
|Fr| FlexRay Driver module
|FrIf |FlexRay Interface module
|FrTp| FlexRay Transport Protocol Layer
|PduR| PDU Router
|SF |Start Frame Fr N-PDU
|LF| Last Frame Fr N-PDU
|TP |Transport Protocol Layer
|SDU |In layered systems, this refers to a set of data that is sent by a user of the services of a given layer, and is transmitted to a peer service user, whilst remaining semantically unchanged.
|AUTOSAR |Automotive Open System Architecture
|SWS| Software Specification
|MISRA |Motor Industry Software Reliability Association
|ISO|International Standard Organisation
|ID| Identifier
|OS |Operating System
|MCAL| Microcontroller Abstraction Layer
|CPU |Central Processing Unit
|ROM |Read Only Memory
|RAM |Random Access Memory
|STF |Start Frame (please refer to ISO 10681-2)
|AF |Acknowledge Frame (please refer to ISO 10681-2)
|SN |Sequence Number (please refer to ISO 10681-2)
|FrTp_As |Timer Parameter for a sender. Time for transmission of the FlexRay frame (any N_PDU) on the sender side. (please refer to ISO 10681-2)
|FrTp_Ar |Timer Parameter for a receiver. Time for transmission of the FlexRay frame (any N_PDU) on the receiver side (please refer to ISO 10681-2)
|FrTp_BS |Timer Parameter for a sender. Time until reception of the next FlowControl N_PDU. (please refer to ISO 10681-2)
|FrTp_Br| Timer Parameter for a receiver. Time until transmission of the next FlowControl N_PDU. (please refer to ISO 10681-2)
|FrTp_Cs |Timer Parameter for a sender. Time until transmission of the next ConsecutiveFrame N_PDU/LastFrame N_PDU. (please refer to ISO 10681-2)
|FrTp_Cr |Timer Parameter for a receiver. Time until reception of the next ConsecutiveFrame N_PDU (please refer to ISO 10681-2)


## 英日
日本語は仮訳

T.B.D.

# 参考(reference)

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

[1] List of Basic Software Modules
AUTOSAR_TR_BSWModuleList.pdf
[2] Layered Software Architecture
AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf.pdf
[3] General Requirements of Basic Software Modules
AUTOSAR_SRS_BSWGeneral.pdf
[4] Requirements on FlexRay
AUTOSAR_SRS_FlexRay.pdf
[5] Specification of FlexRay Interface
AUTOSAR_SWS_FlexRayInterface.pdf
[6] Specification of PDU Router
AUTOSAR_SWS_PDURouter.pdf
[7] Specification of Communication Stack Types
AUTOSAR_SWS_CommunicationStackTypes.pdf
[8] Specification of Standard Types
AUTOSAR_SWS_StandardTypes.pdf
[9] Specification of Platform Types
AUTOSAR_SWS_PlatformTypes.pdf
[10] Basic Software Module Description Template,
AUTOSAR_TPS_BSWModuleDescriptionTemplate.pdf
[11] Specification of ECU Configuration,
AUTOSAR_TPS_ECUConfiguration.pdf
[12] Specification of Diagnostic Event Manager,
AUTOSAR_SWS_DiagnosticEventManager.pdf
[13] Specification of Default Error Tracer,
AUTOSAR_SWS_DefaultErrorTracer.pdf
[14] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral.pdf
Specification of FlexRay ISO Transport Layer
[15] FlexRay Communications System Protocol Specification Version 2.1
### [16] ISO10681-2, Road vehicles – Communication on FlexRay – Part 2:
Communication Layer services

https://www.iso.org/standard/46047.html

2   Normative references

ISO/IEC 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model
ISO 7498-2, Information processing systems — Open Systems Interconnection — Basic Reference Model — Part 2: Security Architecture
ISO/IEC 7498-3, Information technology — Open Systems Interconnection — Basic Reference Model: Naming and addressing
ISO/IEC 7498-4, Information processing systems — Open Systems Interconnection — Basic Reference Model — Part 4: Management framework
ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services

Bibliography

[1]	AUTOSAR, Specification of Module FlexRay Transport
[2]	ISO 14229-1 4) , Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
[3]	ISO 14229-2 5) , Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
[4]	ISO 14229-4 5), Road vehicles — Unified diagnostic services (UDS) — Part 4: Unified diagnostic services on FlexRay implementation (UDSonFR)
[5]	FlexRay Communications Systems Protocol Specification
4) Under preparation. (Revision of ISO 14229-1:2006)
5) Under preparation.


# 関連文書(Related document)

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

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

# R23-11
https://qiita.com/kaizen_nagoya/items/bd34ca63b7af06a7f332

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

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

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

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

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

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