Hi Mark, I would rebuild the device tree to make sure can0 is included.
- Revert the changes to uEnv. - download Robert Nelson's dtb-rebuilder ( https://github.com/RobertCNelson/dtb-rebuilder) and checkout 3.14-ti. - edit am335x-boneblack.dts to include can0. - make am335x-boneblack.dtb and replace the original file in /boot/dtbs/3.14.35-ti-r56/ - reboot. Regards Rui On Wednesday, April 8, 2015 at 2:20:29 PM UTC+1, Mark Irwin wrote: > > Hi, > > I have been trying to build a proof of concept system using two beaglebone > black units with there DCAN1 (pins P9_24 and P9_26) and two can > transcievers TI SN65HVD251P. > The can transceivers are powered from the same 5V bench supply as both of > the beaglebone blacks. the canh and canl pins are terminated at both ends > by 120R resistors to ensure the 60R bus impedence. > > I was following the instructions in other posts about updating to the > latest debian version and then upgrading the kernel to 3.14. This i have > done. > uname -a > Linux beaglebone 3.14.35-ti-rt-r56 #1 SMP PREEMPT Sun Mar 29 01:13:05 UTC > 2015 armv7l GNU/Linux > > I added dtb=am335x-boneblack-can1.dtb to the uEnv.txt > > I have also installed the canbus tools within the image so i can attempt a > cangen can0 and candump can0. > > On system boot i am doing the following: > > modprobe can > modprobe can-dev > modprobe can-raw > > ip link set can0 type can bitrate 125000 triple-sampling on > ifconfig can0 up > > however if i use candump can0 and cangen can0 within two seperate putty > sessions i dont see anything. > > If I create a vcan bus i do see the messages in loopback. > sudo modprobe vcan > sudo ip link add dev vcan0 type vcan > sudo ifconfig vcan0 up > > Previously I was using an older debian image and found that when i ran > cangen can0 that the buffer would give me an error that it was full. > however now with the latest image i am not getting the bufer full message > but still not seeing anything on the candump. What should i expect to see > here? > > Can anyone see where I have gone wrong or a step i am missing? > > Thanks in advance. > > Mark > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
