DoCAN

車両診断通信

[CanTp] Vehicle Diagnostic Communication Part 20 [Simulation 8]

The Python package can-isotp can communicate ISO15765-2, or ISO-TP. However, python-can must also be installed due to dependencies. For now, SF (SingleFrame) transmission is possible. The multi-frame transmission stopped at FF (FirstFrame) and ended in an error. The protocol specification is that the next sequence cannot proceed unless FC is received after FF.
車両診断通信

[CanTp] Vehicle Diagnostic Communication Part 13 [Simulation 1]

We are tired of studying and it's time to do some simulations. I will also do AUTOSAR related things. I will also dare the challenge of using Python.
車両診断通信

[DoCAN] Vehicle Diagnostic Communication Part 12 [ISO-TP 8]

ISO15765-2 (UDS) and ISO15765-4 (OBD) have different values for the timeout parameter. The UDS side is looser and the OBD side is stricter. Some timeout parameters are set as performance requirements. N_Br and N_Cs.
車両診断通信

[DoCAN] Vehicle Diagnostic Communication Part 11 [ISO-TP 7]

ISO-TP has six timeout parameters. N_As, N_Bs, N_Cs, N_Ar, N_Br, and N_Cr. Single frame transmission is complete in one frame, so only N_As. Multi-frame transmission uses all parameters. ISO-TP only determines the timeout at the frame level, and the timeout per message is determined by a higher layer.
車両診断通信

[DoCAN] Vehicle Diagnostic Communication Part 10 [ISO-TP 6]

Decomposition of SF-SF and MF-MF communications into type of frame. MF-MF communication behaves slightly differently in the BS and FS of FC. The parts of the message that are not included in the message for DLC reasons are filled in with padding. Any value can be used for padding. Commonly used values are 00, 55, AA, CC, and FF.
車両診断通信

[DoCAN] Vehicle Diagnostic Communication Part 9 [ISO-TP 5]

Four types of frames are explained. The first N_PCItype is available for immediate judgment upon reception. Each has its own unique parameters. SF. SF_DL. FF. FF_DL. FC. FS. BS. STmin. CF. SN.
車両診断通信

[DoCAN] Vehicle Diagnostic Communication Part 8 [ISO-TP 4]

CAN multiple frames can send/receive up to 4095 bytes. The parameter N_PCI is at the start of each frame, and there is a mechanism to concatenate the frames well. There are two main transmission methods depending on the number of data to be sent. If the number of data to be sent is 7 bytes or less, single frame transmission is used. If the number of transmitted data is 8 bytes or more, it is a multi-frame transmission. Multi-frame transmission has a mechanism to control the throughput by setting the CF transmission interval and the timing for receiving another FC with FC.
車両診断通信

[DoCAN] Vehicle Diagnostic Communication Part 7 [ISO-TP 3]

Extended addressing is an extended version of Normal addressing with N_TA added. Mixed addressing has 11bitID and 29bitID versions. The 11bitID (standard ID) version is based on Normal addressing and assumes gateway traversal. The 29bitID (extended ID) version is based on Normal fixed addressing and assumes gateway traversal.
車両診断通信

[DoCAN] Vehicle Diagnostic Communication Part 6 [ISO-TP 2]

Normal addressing is the simplest addressing format. Normal fixed addressing is the easiest addressing format to define as a specification
車両診断通信

[DoCAN] Vehicle Diagnostic Communication Part 5 [ISO-TP 1]

There are physical addresses for one-to-one communication and functional addresses for one-to-many communication. Physical and functional addresses are composed of four different addressing formats The addressing formats consist of N_AI, N_TAtype, N_TA, N_SA, and N_AE. However, they may or may not be used depending on the addressing format.