This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] SK-AM62A-LP:无法检测 SK-AM62A-LP 上使用 PROCESSOR-SDK-LINUX v10.00的 CAN 接口

Guru**** 2482105 points
Other Parts Discussed in Thread: SK-AM62A-LP

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1448064/sk-am62a-lp-unable-to-detect-can-interface-on-sk-am62a-lp-with-processor-sdk-linux-am62a-v10-00

器件型号:SK-AM62A-LP

工具与软件:

您好、专家!  

工程社区、您好!

我正在尝试MCAN 在上激活 SK-AM62A-LP 组成 PROCESSOR-SDK-LINUX AM62A (版本:10.00.00.08) 、但我找不到网络接口下列出的任何 CAN 接口。

采取的措施

  1. 遵循以下链接中提供的指南:

  2. 已启用 MCAN 器件树叠加、如上述文档中所述。

    Hit any key to stop autoboot:  0 
    => setenv name_overlays ti/k3-am62x-sk-mcan.dtbo 
    => boot
    
  3. 已使用检查接口ifconfig -a、但未列出 CAN 接口。

执行

  • 电路板: SK-AM62A-LP
  • SDK 版本: PROCESSOR-SDK-LINUX AM62A 10.00.00.08

观察结果

下面是我运行的某些命令的结果:

ifconfig -a

root@am62axx-evm:/opt/edgeai-gst-apps# ifconfig -a 
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 1c:63:49:17:1f:a5  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 19  bytes 2253 (2.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 2253 (2.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        

dmesg | grep m_can

(无输出)

candump can0

root@am62axx-evm:/opt/edgeai-gst-apps# candump can0
[  256.083650] can: controller area network core
[  256.088092] NET: Registered PF_CAN protocol family
[  256.103082] can: raw protocol
SIOCGIFINDEX: No such device
root@am62axx-evm:/opt/edgeai-gst-apps# 
问题

我的设置或配置中可能缺少什么? 是否还有其他步骤来确保MCAN0在我的电路板上被识别和激活?

非常感谢您提供任何建议或指导!