Skip to content

CAN doesn't work #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
HerpVanDerp opened this issue Jun 18, 2017 · 1 comment
Open

CAN doesn't work #50

HerpVanDerp opened this issue Jun 18, 2017 · 1 comment

Comments

@HerpVanDerp
Copy link

Hello,

I'm trying to use the CAN bus with cape-univerisal.
After booting the BeagleBone executes this commands with sudo:

config-pin P9.24 can
config-pin P9.26 can
modprobe can
modprobe can-dev
modprobe can-raw
ip link set can0 up type can bitrate 250000
ifconfig can0 up

Afterwards with ifconfig, the can should be running:
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:16 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:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:207

However I'm not able to read the bus with candump or write the bus with cansend. The commands are not returning an error, but nothing happens.

@AlexEshoo
Copy link

I am experiencing the same, I previously had the CAN bus working with the BB-CAN1 cape enabled, but I have updated my bootloader and since then, have not been able to connect with either that cape or the universala cape enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants