Requirements on LIN, AUTOSAR 42, R22-11, CP 20230421

は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_SRS_LIN.pdf



R21-11

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


R20-11

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


R19-11

https://www.autosar.org/fileadmin/standards/R19-11/CP/AUTOSAR_SRS_LIN.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との関係

ISO 各種規格に基づいた診断、通信の抽象的な定義をする。
LIN, CAN, FlexRay, Ethernetの共通部分と異なる部分を検討する。
必要があれば国際規格を改定する。
# 文書変更(Document Change) 
>No content changes

# 用語(terms)

|Term|Description|
|:--|:--|
|LIN-PDU| LIN Protocol Data Unit is the LIN header and the LIN response, i.e. Break, synch, PID, Data (1-8) and checksum In the ISO 17987 specifications, this is called just frame. LIN_PDU is more precise and omits confusion.
|LIN-SDU |LIN Service Data Unit. The data-part of the LIN response.
|Schedule Table |A Schedule Table determines the traffic on a LIN bus (one channel). One LIN bus could have more than one Schedule Table.
|Schedule Table Handler| The Schedule Table Handler is placed at the LIN Interface of a LIN master node. It will initiate LIN-PDU’s and confirm/indicate LIN-PDU’s. It will be called by upper layers.
|Schedule Table Manager|Keeps track of all available schedule and processes the active schedule table in a LIN master node.
|LIN Driver |Module name Lin. Describes the Software Driver.
|LIN Interface |Module name LinIf. LIN Interface, describes the ISO 17987 protocol communication stack.
|Sleep-mode |In the ISO 17987 specifications the term stand-by and sleep-mode is used in similar manner. To be consequent here only sleep-mode is used.
|LIN |Local Interconnect Network
|FF| First Frame
|CF| Consecutive Frames
|SF| Single Frames
|N_PDU| Network Protocol Data Unit
|PDUR| Protocol Data Unit Router
|N_SDU |Network Service Data Unit
|N_TA| Extended Addressing Mode Connection
|UART |Universal Asynchronous Receiver Transmitter. Dear children have many names, it is also known as SCI and ESCI.
|MRF| Master Request Frame
|SRF| Slave Response Frame

## 英日
日本語は仮訳

T.B.D.

# 参考(reference)

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


### [1] Layered Software Architecture, AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
### [2] General Requirements on Basic Software Modules, AUTOSAR_SRS_BSWGeneral.pdf
### [3] General Requirements on SPAL, AUTOSAR_SRS_SPALGeneral.pdf
### [4] Software Standardization Template, AUTOSAR_TPS_StandardizationTemplate.pdf
### [5] ISO 17987-1:2016 Road vehicles – Local Interconnect Network (LIN) – Part 1: General information and use case definition

https://www.iso.org/standard/61222.html
2   Normative references

ISO 17987-4, Road vehicles — Local Interconnect Network (LIN) — Part 4: Electrical Physical Layer (EPL) specification 12 V/24 V
Bibliography

[1]	ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
[2]	ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
[3]	ISO 14229-7, Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on local interconnect network (UDSonLIN)
[4]	ISO 17987-2, Road vehicles — Local Interconnect Network (LIN) — Part 2: Transport protocol and network layer services
[5]	ISO 17987-3, Road vehicles — Local Interconnect Network (LIN) — Part 3: Protocol specification
[6]	ISO/TR 17987-51, Road vehicles — Local Interconnect Network (LIN) — Part 5: Application programmers interface (API)
[7]	ISO 17987-6, Road vehicles — Local Interconnect Network (LIN) — Part 6: Protocol conformance test specification
[8]	ISO 17987-7, Road vehicles — Local Interconnect Network (LIN) — Part 7: Electrical Physical Layer (EPL)
[9]	ISO/IEC 7498-1, Information processing systems — Open Systems Interconnection — Basic Reference Model: The Basic Model
[10]	ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services

### [[6] ISO 17987-2:2016 Road vehicles – Local Interconnect Network (LIN) – Part 2: Transport protocol and network layer services

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

2   Normative references
ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
ISO 14229-7:2015, Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on local interconnect network (UDSonLIN)
ISO 17987-3:2016, Road vehicles — Local Interconnect Network (LIN) — Part 3: Protocol specification

Bibliography

[1]	ISO 17987-4, Road vehicles — Local Interconnect Network (LIN) — Part 4: Electrical Physical Layer (EPL) specification (12V/24V)
[2]	ISO/TR 17987-5, Road vehicles — Local Interconnect Network (LIN) — Part 5: Application Programmers Interface (API)
[3]	ISO 17987-6, Road vehicles — Local Interconnect Network (LIN) — Part 6: Protocol conformance test specification
[4]	ISO 17987-7, Road vehicles — Local Interconnect Network (LIN) — Part 7: Electrical Physical Layer (EPL) conformance test specification
[5]	ISO/IEC 7498-1, Information processing systems — Open Systems Interconnection — Basic Reference Model: The Basic Model — Part 1
[6]	ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services

### [7] ISO 17987-3:2016 Road vehicles – Local Interconnect Network (LIN) – Part 3: Protocol specification

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

2   Normative references

ISO 17987-2:2016, Road vehicles — Local Interconnect Network (LIN) — Part 2: Transport protocol and network layer services
ISO 17987-4:2016, Road vehicles — Local Interconnect Network (LIN) — Part 4: Electrical Physical Layer (EPL) specification 12V/24V
ISO 17987-6:2016, Road vehicles — Local Interconnect Network (LIN) — Part 6: Protocol conformance test specification

Bibliography

[1]	ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
[2]	ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
[3]	ISO 14229-7, Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on LIN implementation (UDSonLIN)
[4]	ISO 17987-7, Road vehicles —Local Interconnect network (LIN) — Part 7: Electrical Physical Layer (EPL) conformance test specification
[5]	ISO/IEC 7498-1, Information processing systems — Open systems interconnection — Basic reference model
[6]	ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services
[7]	ISO/TR 17987-5, Road vehicles —Local Interconnect network (LIN) — Part 5: Application Programmers Interface (API)
[8]	SAE J2602/1:2012-11, LIN Network for Vehicle Applications


### [8] ISO 14229-7:2015 Road vehicles – Unified diagnostic services (UDS) – Part 7: UDS on local interconnect network (UDSonLIN)

更新

ISO 14229-7:2022
Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on local interconnect network (UDSonLIN)

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

2   Normative references

ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Application layer
ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
ISO 17987-2, Road vehicles — Local Interconnect Network (LIN) — Part 2: Transport protocol and network layer services
ISO 17987-3, Road vehicles — Local Interconnect Network (LIN) — Part 3: Protocol specification
ISO 17987-4, Road vehicles — Local Interconnect Network (LIN) — Part 4: Electrical physical layer (EPL) specification 12 V/24 V

Bibliography

[1]	ISO/IEC 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model
[2]	ISO/IEC 10731:1994, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services
[3]	ISO/TR 17987-5, Road vehicles — Local Interconnect Network (LIN) — Part 5: Application programmers interface (API)


### [9] ISO/TR 17987-5:2016 Road vehicles – Local Interconnect Network (LIN) – Part 5: Application programmers interface (API)

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

No Normative Reference

Bibliography

[1]	ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
[2]	ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
[3]	ISO 14229-7, Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on LIN implementation (UDSonLIN)
[4]	ISO 15765-2, Road vehicles — Diagnostic communication over Controller Area Network (DoCAN) — Part 2: Transport protocol and network layer services
[5]	ISO 17987-2:2016, Road vehicles — Local Interconnect Network (LIN) — Part 2: Transport protocol and network layer services
[6]	ISO 17987-3:2016, Road vehicles — Local Interconnect Network (LIN) — Part 2: Protocol specification
[7]	ISO/IEC 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model — Part 1
[8]	ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services


### [10] ISO 17987-6:2016 Road vehicles – Local Interconnect Network (LIN) – Part 6: Protocol conformance test specification

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

2   Normative references
ISO 17987-2:2016, Road vehicles — Local Interconnect Network (LIN) — Part 2: Transport protocol and network layer services
ISO 17987-3:2016, Road vehicles — Local Interconnect Network (LIN) — Part 3: Protocol specification
ISO 17987-4:2016, Road vehicles — Local Interconnect Network (LIN) — Part 4: Electrical Physical Layer (EPL) specification 12V/24V

Bibliography

[1]	ISO/IEC 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model
[2]	ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
[3]	ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
[4]	ISO 14229-7, Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on local interconnect network (UDSonLIN)
[5]	ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services
[6]	ISO 17987-5:2016, Road vehicles — Local Interconnect Network (LIN) — Part 5: Application programmers interface (API)
[7]	SAE J2602-1:2012, LIN Network for Vehicle Applications

Note: Non-ISO LIN specifications (LIN 2.2A and LIN 2.1 by LIN Consortium) are available at <https://www.lin-cia.org/standards/>, even after closure of the LIN Consortium.


# 参考資料　

@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

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

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

# 文書履歴(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.

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