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?
I did not find any solution like to use another image. I got the newest one "Ubuntu Bionic 18.04 LTS for i.MX6/7 boards – June 2018 (kernel 4.9.x)", installed can-utils (for some reason, it was not installed there) and what do you think? The same result! Candump dosn't catch anything. :smileyhappy:)
What's wrong with CAN on that board? I need working CAN!
this board is supported by its vendor: Boundary Devices, please post this on boundary devices forum Wiki - Boundary Devices
Best regards
igor
Hi Ivan
one can look at flexcan suggestions for that board given on:
Send and receive CAN frames on i.MX6 Sabre Lite Board?
or post on boundary devices forum Wiki - Boundary Devices
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------