hi tis,
in SDK LINUX 0801 ,according to the link 3.2.2.5. MCAN — Processor SDK Linux for J721e Documentation,
run the belowing cmd:
ip link set can0 type can bitrate 1000000
ip link set can1 type can bitrate 1000000
ip link set can1 up
cansend can1 123#DEADBEEF
cansend can1 123#DEADBEEF
cansend can1 123#DEADBEEF
cansend can1 123#DEADBEEF
print the error:
IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
m_can_platform 40528000.can can1: bus-off, scheduling restart in 100 ms
IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
m_can_platform 40528000.can can1: bus-off, scheduling restart in 100 ms
IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
m_can_platform 40528000.can can1: bus-off, scheduling restart in 100 ms
IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
m_can_platform 40528000.can can1: bus-off, scheduling restart in 100 ms
IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
m_can_platform 40528000.can can1: bus-off, scheduling restart in 100 ms
IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
m_can_platform 40528000.can can1: bus-off, scheduling restart in 100 ms
IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
m_can_platform 40528000.can can1: bus-off, scheduling restart in 100 ms
IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
m_can_platform 40528000.can can1: bus-off, scheduling restart in 100 ms
m_can_platform 40528000.can can1: bus-off, scheduling restart in 100 ms
IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
m_can_platform 40528000.can can1: bus-off, scheduling restart in 100 ms
m_can_platform 40528000.can can1: bus-off, scheduling restart in 100 ms
IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
m_can_platform 40528000.can can1: bus-off, scheduling restart in 100 ms
IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
thanks,
Ruijie Sun