Skip to main content

How to Use Sample Scripts

The 02_sample folder contains the following script samples.
Copy them to your Linux PC, grant execution permission, and then run them.

Script NameDescription
simple_cansend.shSends CAN messages 10,000 times on can0
simple_canfdsend.shSends CAN FD messages 10,000 times on can0
simple_cansend_can1.shSends CAN messages 10,000 times on can1
simple_canfdsend_can1.shSends CAN FD messages 10,000 times on can1

To use these scripts, install can-utils in advance.

  • Install can-utils
sudo apt install can-utils
  • Grant permission before execution
chmod +x simple_cansend.sh

Grant execution permission to the other scripts in the same way before running them.

Receiver Software

For receive-side samples, use publicly available software.

  • Wireshark (receive only)

Wireshark Official Site

  • SavvyCAN (send/receive)

SavvyCAN Official Site