Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    T113-S3 CAN调试问题

    其它全志芯片讨论区
    2
    2
    152
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wjp2547532 LV 6 last edited by

      https://bbs.aw-ol.com/topic/1926/t113-s3-can-linux-下已调通/12?_=1692855551540,按照帖子里的方法进行了修改,但是在执行“ifconfig can0 up”时提示f487b762-579b-452e-9f6a-a32920c7546b-image.png
      查了一下说是要先设置can速率,用“ip link set can0 up type can bitrate 125000”设置提示
      b789b061-5ef7-4647-ad2a-f744cc29e76f-image.png
      应该是ip命令不支持,下载最新iproute2源码交叉编译,提示了一堆错误877a8737-144f-465b-9e96-0627eb5cde1b-image.png
      这个应该怎么改呀;

      网上查了一下可以用另一种方式设置波特率:“echo 250000 > /sys/class/net/can0/can_bittiming/bitrate” ,然而发现我的这个路径下并没有这个文件。。。。。。。。。,
      820ee1ad-a1d3-4851-b2d4-53cd0a9c844b-image.png
      现在搞不懂究竟哪里有问题,有大佬了解么?

      Z 1 Reply Last reply Reply Quote Share 1
      • Z
        zzz123 LV 4 @wjp2547532 last edited by

        @wjp2547532 在 T113-S3 CAN调试问题 中说:

        ip link set can0 up type can bitrate 125000

        您好,请问您最后怎么解决的这个问题

        1 Reply Last reply Reply Quote Share 1
        • 1 / 1
        • First post
          Last post

        Copyright © 2023 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策