All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Hartkopp <socketcan@hartkopp.net>
To: Tim Hotfilter <thotfilter@osdr.org>
Cc: "linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Subject: Re: Problem using Linux CAN
Date: Wed, 22 Jul 2015 20:39:18 +0200	[thread overview]
Message-ID: <55AFE356.9070906@hartkopp.net> (raw)
In-Reply-To: <A0E5883A-3FBB-4060-8A38-A32DA743B16B@osdr.org>

On 22.07.2015 19:52, Tim Hotfilter wrote:

> I am using a kernel image from Xilinx git hub

This is 4.0 then, right?

> and cangen to generate static load. I get this error as result in cangen after a while.

Can you send the output from

ip -details link show can0 (or whatever canX got stuck)
ip -stat link show can0 (or whatever canX got stuck)

just to see why the CAN interface gets offline.

Do you have a proper CAN setup (with CAN transceivers, real wires, 2x 120 ohms 
termination, etc) ?

Sending CAN frames only works when there's a second/different node with the 
same bitrate acknowledging the sent frame. Sending without cabling/termination 
always leads to CAN controllers that feel sad :-)

Regards,
Oliver


  reply	other threads:[~2015-07-22 18:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22 10:49 Problem using Linux CAN Tim Hotfilter
2015-07-22 17:41 ` Oliver Hartkopp
2015-07-22 17:52   ` Tim Hotfilter
2015-07-22 18:39     ` Oliver Hartkopp [this message]
     [not found]       ` <0948A186-060F-4A31-8359-755DE78647A0@osdr.org>
2015-07-23 13:13         ` Tim Hotfilter
2015-07-23 17:26           ` Oliver Hartkopp
2015-07-24  7:53             ` Tim Hotfilter
2015-07-25 13:45               ` Oliver Hartkopp

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=55AFE356.9070906@hartkopp.net \
    --to=socketcan@hartkopp.net \
    --cc=linux-can@vger.kernel.org \
    --cc=thotfilter@osdr.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.