hey guys,
i'm trying set small can network reader raspberry pi 3.
should have recent updates.. i've been following guide pretty closely http://skpang.co.uk/blog/archives/1165
i've installed updates, lsmod looks like: and, config.txt looks like:
however, when try bring can interface, error. looking @ sudo vcdbg log msg, found it's not loading spi-bcm2835.dtbo overlay.
looking in /boot/overlays/ folder, .dtbo found! why newest firmware not have file, , can it?
i'm trying set small can network reader raspberry pi 3.
should have recent updates..
code: select all
pi@raspberrypi:~ $ uname -a linux raspberrypi 4.4.11-v7+ #887 smp thu may 19 16:24:03 bst 2016 armv7l gnu/linux
i've installed updates, lsmod looks like:
code: select all
pi@raspberrypi:~ $ lsmod | grep spi spi_bcm2835 7286 0 pi@raspberrypi:~ $ lsmod | grep mcp mcp251x 8502 0 can_dev 9561 1 mcp251x
code: select all
dtparam=spi=on dtoverlay=mcp2515-can0,oscillator=16000000,interrupt=25 dtoverlay=spi-bcm2835 dtdebug=1
code: select all
pi@raspberrypi:~ $ sudo /sbin/ip link set can0 type can bitrate 500000 cannot find device "can0"
code: select all
001722.109: dtdebug: opened overlay file 'overlays/mcp2515-can0.dtbo' 001735.551: loaded overlay 'mcp2515-can0' .. 001811.086: dtdebug: failed open overlay file 'overlays/spi-bcm2835.dtbo' 001811.100: failed load overlay 'spi-bcm2835'
raspberrypi
Comments
Post a Comment