I am trying to connect to a CAN bus network with my BeagleBone Black and SN65HVD230. I've connected it like in the picture.
I am running:
root@beaglebone:~# cat /etc/dogtag BeagleBoard.org BeagleBone Debian Image 2014-04-23
I loaded kmodules:
sudo modprobe can sudo modprobe can-dev sudo modprobe can-raw
root@beaglebone:~# lsmod |grep can can_raw 4733 0 can_dev 7957 0 can 21085 1 can_raw
And then commands:
root@beaglebone:~# sudo ip link set can0 up type can bitrate 500000 Cannot find device "can0"
The command fails. How could I fix this problem?
There are some overlays thing that needs to be set up, but one of the capes (SerialCape) documentation says that latest Debian doesn't have to do any changes, and it is all incorporated already. I am not using cape, but the only difference is that I've connected to my pins directly with the driver itself.