[needed_library]
- utility: lib_emuc2_32.a & lib_emuc2_64.a
- multi-lib: $ sudo apt-get install gcc-multilib
[notice]
- build with root
[build] (use root)
- $ make clean
- $ make
[install]
- Method (a) is preferred. If module "can_dev" is currently loaded, choose to use method (b). a) sudo cp emuc2socketcan.ko /lib/modules/$(uname -r)/kernel/drivers/net/can sudo depmod -a sudo modprobe emuc2socketcan b) sudo insmod emuc2socketcan.ko
- sudo ./emucd_64 -s9 ttyACM0
- sudo ip link set emuccan0 up qlen 1000
- sudo ip link set emuccan1 up qlen 1000
[test]
- use open source can-utils $ sudo apt install can-utils
[remove]
- sudo pkill -2 emucd_64
- sudo rmmod emuc2socketcan.ko
[notice]
- driver version >= 2.5; utility version >= 2.7 EMUC device will auto active after setting up "two" CAN port
- driver version >= 3.0; utility version >= 3.0 Start to support high level CANbus protocal
- driver version >= 3.1; utility version >= 3.1 Start to support ERROR auto return command