Difference between revisions of "Loopback"
From ESS-WIKI
Xingxing.li (talk | contribs) (Created page with " === '''Connect CAN0 and CAN1''' === == '''架设环境:''' == '''将CAN0与CAN1接口对接,如下图''': '''输入指令:''' ip link set can0 down ip li...") |
Xingxing.li (talk | contribs) |
||
Line 1: | Line 1: | ||
=== '''Connect CAN0 and CAN1''' === | === '''Connect CAN0 and CAN1''' === | ||
+ | |||
== '''架设环境:''' == | == '''架设环境:''' == | ||
Line 46: | Line 47: | ||
cansend can1 123##155 | cansend can1 123##155 | ||
− | + | cansend can1 123##155 |
Revision as of 09:10, 10 November 2022
Connect CAN0 and CAN1
架设环境:
将CAN0与CAN1接口对接,如下图:
输入指令:
ip link set can0 down
ip link set can0 type can bitrate 1000000 dbitrate 8000000 fd on
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 dbitrate 8000000 fd on
ip link set can1 up
ip details link show can1
cansend can1 123##155
cansend can1 123##155
cansend can1 123##155
cansend can1 123##155
cansend can1 123##155
cansend can1 123##155
cansend can1 123##155
cansend can1 123##155