On Tue, Jun 9, 2015 at 3:42 PM, Strong Industries <[email protected]> wrote:
> Hello all!
>
> I am running a BBB (rev C) w/ the following system:
>
> 1.  running "cat /etc/dogtag" at a command prompt outputs = "BeagleBoard.org
> Debian Image 2015-03-01"
>
> 2.  running "uname -a"...Linux beaglebone 3.14.43-ti-r66 #1 SMP PREEMPT Fri
> May 22 22:36:39 UTC 2015 armv7l GNU/Linux (provided by Robert Nelson via
> "sudo apt-get install linux-image-3.14.43-ti-r66")
>
> 3.  "cat /proc/version "...Linux version 3.14.43-ti-r66
> (root@a5-imx6q-wandboard-2gb) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP
> PREEMPT Fri May 22 22:36:39 UTC 2015
>
> 4.  Chipsee BBB-EXP-C 7" touchscreen display cape
>
> 5.  Connected BBB w/ BBB-EXP-C cape & wired the CANbus to a CR0403 PLC which
> is running a looped program
>
> 6.  When I run "ifconfig can0" I get this output...
>
> 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:1 overruns:0 carrier:1
>           collisions:0 txqueuelen:10
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>           Interrupt:68
>
> It looks like nothing is coming thru the CANbus.  I've installed "can-utils"
> by following directions on this site, but that install seems to be missing
> the "canconfig" command described in a section talking about testing the
> CANbus on this website.  Don't know what to do next w/ can-utils at this
> point.
>
>
> SO MY QUESTION IS...
> Has anyone gotten a configuration like this to work?

sudo ip link set can0 type can bitrate 125000
sudo ip link set can0 up

#receive:
./candump can0

Then from the other device....

#transmit:
./cansend can0 1F334455#1122334455667788

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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.

Reply via email to