Loopback
From ESS-WIKI
Revision as of 07:44, 20 March 2024 by Xingxing.li (talk | contribs)
Connect CAN0 and CAN1
架设环境:
将CAN0与CAN1接口短接,如下图:
输入指令:
- ip link set can0 down
- ip link set can0 type can bitrate 1000000
- ip link set can0 up
- ip -details link show can0
- candump can0 &
- ip link set can1 down
- ip link set can1 type can bitrate 1000000
- ip link set can1 up
- ip -details link show can1
- cansend can1 123#55