All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Menschel <menschel.p@posteo.de>
To: "Misra Pankaj Kumar (RBEI/EEA2)" <Pankaj.Kumar@in.bosch.com>
Cc: linux-can <linux-can@vger.kernel.org>
Subject: Re: bcmserver.c usage and preconditions
Date: Wed, 30 Mar 2016 10:32:01 +0200	[thread overview]
Message-ID: <56FB8F01.5060802@posteo.de> (raw)
In-Reply-To: <8fb9bcb24a544baa84b23528f3f239b4@SGPMBX1021.APAC.bosch.com>

[-- Attachment #1: Type: text/plain, Size: 2331 bytes --]

Hi Pankaj,

CAN Bus is functional in both directions, rx and tx .

1. cansend works properly
2. candump also works properly

I'm just trying to verify if it's just me or the bcm.
I expect a usage error because I run a non-modified debian 8 image on
the BeagleBoneBlack, which shows exactly the same behaviour.

Thanks and Best Regards,
Patrick


Am 30.03.2016 um 09:57 schrieb Misra Pankaj Kumar (RBEI/EEA2):
> Hi Patrick,
> 
> Have you tested CAN line without bcmserver. I mean is the CAN bus functional, are you able to transmit receive frames.
> 
> You can test it with canutils.  
> <http://elinux.org/Can-utils>
> 
> 
> Best regards
> 
> Pankaj Kumar Misra
> RBEI/EEA2  
> 
> Tel. +49(711)8113659089 | Mobile +4915145771414
> 
> 
> -----Original Message-----
> From: linux-can-owner@vger.kernel.org [mailto:linux-can-owner@vger.kernel.org] On Behalf Of Patrick Menschel
> Sent: Wednesday, March 30, 2016 8:01 AM
> To: linux-can <linux-can@vger.kernel.org>
> Subject: bcmserver.c usage and preconditions
> 
> Hi,
> 
> I'd like to ask what preconditions are necessary for the bcmserver.c
> example to work.
> 
> 1. I setup can0
> 
> ~$ sudo ip link set can0 up type can bitrate 500000
> 
> 2. then start bcmserver
> 
> ~$ bcmserver
> 
> 3. and input the line
> 
> ~$ can0 A 1 0 123 8 11 22 33 44 55 66 77 88
> 
> but unfortunately I don't get any output at all.
> 
> I believe it's my fault since this is the result on both BananaPi and
> BeagleBoneBlack. The Bpi has the bcm compiled into the kernel and the
> BBB has the can-bcm.ko properly loaded.
> 
> ~$ modinfo can-bcm
> filename:       /lib/modules/4.1.15-ti-rt-r43/kernel/net/can/can-bcm.ko
> alias:          can-proto-2
> author:         Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
> license:        Dual BSD/GPL
> description:    PF_CAN broadcast manager protocol
> depends:        can
> intree:         Y
> vermagic:       4.1.15-ti-rt-r43 SMP preempt mod_unload modversions
> ARMv7 thumb2 p2v8
> 
> Thanks and Best Regards,
> Patrick
> 
> N�����r��y���b�X��ǧv�^�)޺{.n�+����{�q���^n�r���z�\x1a��h����&��\x1e�G���h�\x03(�階�ݢj"��\x1a�^[m�����z�ޖ���f���h���~�mml==
> 


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3709 bytes --]

  reply	other threads:[~2016-03-30  8:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-30  6:01 bcmserver.c usage and preconditions Patrick Menschel
2016-03-30  7:57 ` Misra Pankaj Kumar (RBEI/EEA2)
2016-03-30  8:32   ` Patrick Menschel [this message]
2016-03-30 11:59     ` Oliver Hartkopp
2016-03-30 13:49       ` Patrick Menschel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56FB8F01.5060802@posteo.de \
    --to=menschel.p@posteo.de \
    --cc=Pankaj.Kumar@in.bosch.com \
    --cc=linux-can@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.