車両診断通信

車両診断通信

[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 19 [Simulation 7]

Listed the devices supported by python-can. Sending/receiving by python-can was realized.
車両診断通信

[CanTp] Vehicle Diagnostic Communication Part 18 [Simulation 6]

CAN transmissions were replayed in can.player and recorded in can.logger. There are three file formats recorded by can.logger. asc, blf, and csv.
車両診断通信

[CanTp] Vehicle Diagnostic Communication Part 17 [Simulation 5]

I installed python-can. Checked the operation of python-can. Sent by can.player and recorded by BusMaster. The performance of python-can is on the order of 1-2[ms]. CANoe has better accuracy.
車両診断通信

[CanTp] Vehicle Diagnostic Communication Part 16 [Simulation 4]

Finally, we get into Python. I'll use Anaconda, but you can use the official Python for Windows. You'd better make sure each one works! (I keep telling myself that…)
車両診断通信

[CanTp] Vehicle Diagnostic Communication Part 15 [Simulation 3]

We set up BusMaster. Monitored CAN frames on Virtual CAN Bus with BusMaster.
車両診断通信

[CanTp] Vehicle Diagnostic Communication Part 14 [Simulation 2]

We installed Vector's free XL Driver Library and Vector Driver Setup. There is an application called xlCANControl in the XL Driver Library, so it is a quick way to check the operation. You can assign channels to each app, so you need to assign them in VectorHardware in the control panel.
車両診断通信

[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.