野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 16549|回复: 0

[求助] ifconfig can0 up 挂载不了CAN0

[复制链接]
发表于 2020-12-15 09:08:27 | 显示全部楼层 |阅读模式
。。。RT, 打印如下 ...请问下,/ # ip -details link show can02: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN mode DEFAULT group default qlen 10
    link/can  promiscuity 0
    can <LOOPBACK> state STOPPED (berr-counter tx 0 rx 0) restart-ms 0
          bitrate 5000 sample-point 0.708
          tq 8333 prop-seg 8 phase-seg1 8 phase-seg2 7 sjw 1
          flexcan: tseg1 4..16 tseg2 2..8 sjw 1..4 brp 1..256 brp-inc 1
          clock 30000000
/ #
/ # ip link set can0 up type can
flexcan 2090000.can can0: writing ctrl=0xf93eb057
RTNETLINK answers: Connection timed out



/ # ip link set can0 type can bitrate 5000 loopback on
/ #
/ # ifconfig can0 up
flexcan 2090000.can can0: writing ctrl=0xf93e3007
ifconfig: SIOCSIFFLAGS: Connection timed out


连接不上怎么情况啊


另外设备树 /sys/class/net/can0 没有/can_bittiming/bitrate 这些属性怎么情况?...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-5-4 11:20 , Processed in 0.046526 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表