AnsweredAssumed Answered

Can't open can0 device at MX6Q board

Question asked by Andrey Perminov on Aug 16, 2013
Latest reply on Sep 9, 2013 by Andrey Perminov

I try to use CAN with my MX6Q board.

When I try to initialise the device, I got error "cannot find device can0"

 

root@variscite ~$ uname -a

Linux variscite 3.0.35-IMX6.VAR_R11 #4 SMP PREEMPT Tue Jul 9 13:54:41 IDT 2013 armv7l GNU/Linux

root@variscite ~$ dmesg | grep can

vcan: Virtual CAN interface driver

flexcan netdevice driver

can: controller area network core (rev 20090105 abi 8)

can: raw protocol (rev 20090105)

can: broadcast manager protocol (rev 20090105 t)

root@variscite ~$ ifconfig can0 up

ifconfig: SIOCGIFFLAGS: No such device

root@variscite ~$

root@variscite ~$ ifconfig can0

ifconfig: can0: error fetching interface information: Device not found

root@variscite ~$ ls

canconfig    candump      canecho      cansend      cansequence

root@variscite ~$ ./canconfig can0 baudrate 120000rate 120000rate 120000rate 120000irate 120000trate 120000rate 120000

Cannot find device "can0"

failed to set bitrate of can0 to 120000

root@variscite ~$

 

How can I enable CAN support at my MX6Q board?

Outcomes