Innodisk B2S1 CAN card driver installation and test method
Table of Contents
1. Windows driver installation and test
1. After installing the CAN card, there will be a prompt in the device manager that the driver is not installed;
2. Run "setup" to install the driver until the installation is successful and prompts to restart;
3. After restarting, you can find the CANbUS port in the device manager;
Note: Windows7 must install the patch KB3033929 to support SHA-2 code signing
4. Use the DB9 terminal connection for loop testing, you can run the API program for testing, the DB9 connection definition is as follows;
5. Run the GUICANbus tool for testing.
2. LINUX driver installation and testing
1. Enter the "lspci" command in the terminal to identify the hardware information of CAN;
2. Copy the CAN driver to the system's /home directory, enter the "SocketCAN_v1.17" folder, open the terminal, and switch to the root account (root account password addition method: sudopasswdroot);
3. Enter apt-get update
apt-get install build-essential gccmake clean; make; make install in sequence;
4. After the compilation is completed, a "f81601.ko" file will be generated in the "driver" directory. We can use the "modprobe" command to mount the driver;
5. After the mounting is successful, use the following commands to start the SocketCAN port (enable CANO and CAN1 in turn)
ip link set can0 type can bitrate 1000000 sample-point 0.75ip
link set can0 up qlen 1000
The information of CANO and CAN1 can be seen through the "ifconfig" command;
6. After the SocketCAN is set up, you can use the open source project "can-utils" for testing (install the "can-utils" command)
apt-get install can-utils
Open two terminals and enter the following commands. Use can0 to send and can1 to receive. If there are both sending and receiving values, it means that the communication is normal.
For industrial setups, consider using an industrial PC with GPU for handling intensive computing tasks or a rugged rackmount computer for robust server applications. Compact options like a 1U rack PC or industrial PC Advantech can be suitable for space-constrained environments.
LET'S TALK ABOUT YOUR PROJECTS
- sinsmarttech@gmail.com
-
3F, Block A, Future Research & Innovation Park, Yuhang District, Hangzhou, Zhejiang, China
Our experts will solve them in no time.

Rackmount PC
Embedded Computing
Industrial Portable Computers
Rugged Tablets
Rugged Laptop
Industrial Panel PC
Rugged Handheld
Advantech Industrial PC