2.kernel下验证复用关系是否正确
devmem 0x1fe10420
3.测试can接口功能
接线:can0_H接can1_H、can0_L接can0_L
关闭can口
ifconfig can0 down
ifconfig can1 down
配置速率
ip link set can0 type can bitrate 100000
ip link set can1 type can bitrate 100000
查看can配置
ip -details link show can0
打开can口
ifconfig can0 up
ifconfig can1 up
can0作为接收端(后台运行)
candump can0 &
can1作为发送端
cansend can1 123#11223344556677