Hi,
I am using imx7d with colibri evaluation kit. I need to log the can data.
I have made the modification as mentioned in the below link.
root@colibri-imx7-emmc:~# ip link set can0 type can bitrate 500000 triple-sampling
Cannot find device "can0"
I am getting this error :Cannot find device “can0”.
BSP i am using is Linux colibri-imx7-emmc 4.1.44-00001-gdd5a082f1307-dirty
I have attached the dmesg.
max.tx
February 25, 2019, 3:08pm
2
What exact HW version are you using?
Hi,
I am using V1.1A
In my dmesg i get this
[ 1.157727] flexcan: probe of 30a10000.can failed with error -110
root@colibri-imx7-emmc:~# dmesg | grep can
[ 0.128534] i2c i2c-0: can't use DMA
[ 0.129045] i2c i2c-3: can't use DMA
[ 1.138618] flexcan 30a10000.can: Looking up xceiver-supply from device tree
[ 1.138635] flexcan 30a10000.can: Looking up xceiver-supply property in node /soc/aips-bus@30800d
[ 1.138653] 30a10000.can supply xceiver not found, using dummy regulator
[ 1.148825] flexcan 30a10000.can: registering netdev failed
[ 1.157727] flexcan: probe of 30a10000.can failed with error -110
[ 2.182404] can: controller area network core (rev 20120528 abi 9)
[ 2.199519] can: raw protocol (rev 20120528)
[ 2.206962] can: broadcast manager protocol (rev 20120528 t)
[ 2.215837] can: netlink gateway (rev 20130117) max_hops=1
And
root@colibri-imx7-emmc:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:14:2D:2F:7C:A0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2724 errors:0 dropped:0 overruns:0 frame:0
TX packets:2724 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:196720 (192.1 KiB) TX bytes:196720 (192.1 Ki
Hi @max.tx
Still i am not able to get it to work.
Can you provide the full boot log including u-boot?
Unfortunately that module is defective, please follow the RMA procedure:
Hi,
We have several other modules, i tried that in other two modules also.
Do you say that all the other modules are defective?
Hi @dominik.tx ,
We have 10 imx7d modules and we are planning for 300 more for production. CAN interface is a major interface for our product. We have put lot of efforts in developing carrier board and bsp.
What is the solution?
New modules do not have this issue.
Shall i fill in RMA for all 10 modules?
If they match the marking in the comment above, Yes.
@dominik.tx
Thanks for the support.
CAN bus is factory disabled by NXP on all IMX7D SoC with markings MCIMX7D5EVM10SD and datecode <= 1820
If you have modules with those markings and you require the use of CAN please use RMA to get those modules replaced.