AnsweredAssumed Answered

CAN doesn't work

Question asked by Ivan Skl on Jul 18, 2018
Latest reply on Jul 19, 2018 by igorpadykov

I have been using imx6q Saber Lite board with Ubuntu Xenial for i.MX6/7 boards August 2016 (kernel 4.1.15) image.
Something wrong with utility "candump".

For example, I am doing:

 

root@nitrogen:~# ip link set can0 up type can bitrate 125000
root@nitrogen:~# candump can0 &
root@nitrogen:~# cansend can0 5A1#11.22.33.44.55.66.77.88

 

But candump doesn't catch anything. The same from different terminals. And no error anywhere.
And cansniffer - catch nothing.

 

I've checked kernel and I think it's Ok: Netwoking support -> <*>CAN bus subsystem support -> CAN Device Drivers ->
<*>Support for Freescale FLEXCAN based chips.

 

At the same time "cat /proc/net/can/stats" shows transmitted (TXF) and received (RXF) frames.

 

How to make the utility candump show data?

Outcomes