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

[CanTp] Vehicle Diagnostic Communication Part 15 [Simulation 3] 車両診断通信
[CanTp] Vehicle Diagnostic Communication Part 15 [Simulation 3]

Click here for back issues.
https://www.simulationroom999.com/blog/diagnostic-communication-en-back-issue/

Introduction.

Let’s simulate ISO-TP. Series.
In this article, we will try to control Virtual CAN Bus with BusMaster.

BusMaster

As we set up the Virtual CAN Bus in the last issue, there is a rather easy way to access it, other than the sample in the XL-Driver-Library.
The way is to use an open-source tool called BusMaster.

BusMaster

The BusMaster is so complete that it makes you think, “If I had this, I wouldn’t need a CANalyzer, would I?”
In fact, there are some problems such as not supporting CAN-FD, but since we will only use CAN this time, BusMaster is sufficient.

As for the installation of BusMaster, you can get an installer, so I will not explain it here.

Try to connect BusMaster to Virtual CAN Bus.

Let’s try to connect BusMaster to Virtual CAN Bus.
First, select “Vector XL” from “Driver Selection”.

「Vitual Channel1」、「Vitual Channel2」を「Configured CAN Hardware」側に持ってくる。
Bring “Vitual Channel1” and “Vitual Channel2” to the “Configured CAN Hardware” side.

Press the Connect button to start the CAN line monitor.
At this stage, nothing will appear.
This is because nothing is flowing on the Virtual CAN Bus.

Therefore, try to send an appropriate CAN frame using xlCANcontrol, which was used last time.

It would be updated each time the Send button is pressed from xlCANcontrol.

This confirmed that the device could be monitored without any problems.

By the way, the same usage can be done with normal CAN interface devices other than the Virtual CAN Bus.
BusMaster does not think that the device is connected to the Virtual CAN Bus, but recognizes that it is connected to a normal Vector device.

This means that I can monitor the CAN line without CANoe or CANalyzer.
This is what I was talking about at the beginning of this article, “If we had this, we wouldn’t need CANalyzer, would we? This is what we were talking about at the beginning of this article.

There is also the concept of node simulation like CANoe, and if you are proficient in using it, you will be able to do almost anything.

By using BusMaster, it will be possible to analyze any unknown problems on CAN in the future.

Conclusion

  • We set up BusMaster.
  • Monitored CAN frames on Virtual CAN Bus with BusMaster.

Click here for back issues.

コメント

タイトルとURLをコピーしました