CAN doesn't work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CAN doesn't work

1,253 Views
ivanskl
Contributor I

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?

Labels (3)
Tags (1)
0 Kudos
3 Replies

794 Views
ivanskl
Contributor I

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!

0 Kudos

794 Views
igorpadykov
NXP Employee
NXP Employee

this board is supported by its vendor: Boundary Devices, please post this on boundary devices forum Wiki - Boundary Devices 

 

Best regards
igor

0 Kudos

794 Views
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos