Specification of FlexRay ISO Transport Layer, No.589, CP, AUTOSAR R22-11(2)

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

AUTOSARは、ISO、IEC、ITUと情報交換契約を結んでいません。
AUTOSAR文書には、ISO、IEC,ITU記述を全文引用することはできません。
WTO/TBT協定に基づき、国際的な調達は国際規格との差異を記述することにより文化依存しない仕様を目指します。
ISO、IEC、ITU文書を合わせて読むと技術内容は理解できます。　
CAN、OSEK/VDX OS、DIAGは、ISO定義を先に確認しましょう。　　
OSEK COM、OSEK NMなどはISOの規定から基本的な部分で定義を変えています。
変更している部分を仕様等で明記するか、ISOを改定するとよいでしょう。　

AUTOSARの参考文献欄の改定が進んでいません。　
Glossary用語定義の網羅性が低いです。
本文を読む前に確認するとよいかもしれません。
本文を読んでから確認してもよいかもしれません。

AUTOSARが、2022年の版、R22-11公開しました。公開行事の模様は

AUTOSAR R22-11 Release Event 20221208

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

下記URL順次確認中です。

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



https://www.autosar.org/

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

https://www.autosar.org/nc/document-search/

# 要求/仕様（Requirement and Specification)

# 一覧

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

Classic Platform Release Overview, AUTOSAR R22-11, CP, No.0(2)

https://qiita.com/kaizen_nagoya/items/80636f4ca7c16501803b


AUTOSAR R22-11 マラソン

https://qiita.com/kaizen_nagoya/items/988aa405a6fdd794fe53



Qiitaの記事の一覧は作成中です。

AUTOSAR R22-11 一覧（２）

https://qiita.com/kaizen_nagoya/items/6b0615884e954c65fb43


# 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への道（詳細編）

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

2023年1月　記事数一覧

https://qiita.com/kaizen_nagoya/items/78153968c5de76a7fd83

年末100記事を30点に仕上げる。

https://qiita.com/kaizen_nagoya/items/3ffdc82caee3a325d1d7

2023 書き初め

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

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

AUTOSAR Abstract Platform User Group Weekly Report(1) 2022.1.8

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

AUTOSAR Abstract Platform User Group Weekly Report(2) 2022.1.15

https://qiita.com/kaizen_nagoya/items/6f1168a36e795976a906

# 202304 URL更新
Specification of FlexRay ISO Transport Layer, AUTOSAR 589, R22-11, CP, 20230421

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

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

# 文書履歴(document history)
ver. 0.01 初稿 　20230124
ver. 0.02 ありがとう追記　20230701

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

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

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

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