All of lore.kernel.org
 help / color / mirror / Atom feed
From: "ediboscio@domain.hid" <ediboscio@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] (no subject)
Date: Fri, 9 Dec 2011 14:41:47 +0100 (CET)	[thread overview]
Message-ID: <18027126.1353391323438107409.JavaMail.defaultUser@domain.hid> (raw)

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

Dear Sirs,I'm working with an Ubuntu (10.04) system with Xenomai (2.5.6), with kernel 2.6.37.6 and with a Peak-System PC/104 can interface (isa), with two channels.



I connected the two channels of the can interface with a cable (with the two 120Ohms resistor connected at each side) and did the following two tests:


1)
...

rtcanconfig rtcan0 --baudrate=1000000 start

rtcanconfig rtcan1 --baudrate=1000000 start



then, in one terminal:

rtcanrecv rtcan0



in another one:

rtcansend rtcan1 0xA 0xB 0xC 0xD 0xE 0xF 0x01 0x02



Everything seems to work: I can see the message on the receiving terminal. I 

also tried changing rtcansend options, and it works as well.


2)
Then I used the rtcan_rtt xenomai example program.In one terminal:./rtcan_rtt rtcan0 rtcan1 -r -c 250000
And in another one:./rtcan_rtt rtcan1 rtcan0 -c 250000
I also modified the rtcan_rtt to print some additional debug messages, and I found that for each can message sent
 from the transmitter channel I receive ~356 
messages on the other channel, with lot of overruns and huge times. Maybee I have some problems with the 
interrupts?Note that with the rtcanrecv/rtcansend test, for each message sent with rtcansend, rtcanrecv receives one message.
Thanks in advanceEttore
 

[-- Attachment #2: Type: text/html, Size: 3093 bytes --]

             reply	other threads:[~2011-12-09 13:41 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-09 13:41 ediboscio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-04 18:09 [Xenomai-help] (no subject) Lyons, Brendon N
2011-07-16 10:11 Wong Sheng Chao
2010-08-11 15:30 Zafar Iqbal
2009-05-27  3:40 Vandana Sasidharan
2009-03-04 10:04 Chitra4 M
2009-03-04  4:45 Chitra4 M
2009-03-04  9:51 ` Gilles Chanteperdrix
2009-03-03 12:52 Reshmi Rajagopal
2009-03-03 13:38 ` Gilles Chanteperdrix
     [not found]   ` <OFEF55F6FC.C2A72339-ON6525756F.001530A3-6525756F.00147B0D@tcs.com>
2009-03-04  9:50     ` Gilles Chanteperdrix
2008-03-27 12:39 Paradoxxa2001
2008-03-27 13:33 ` Gilles Chanteperdrix
2008-02-13 21:45 Pedro Mendes
2008-02-14  7:36 ` Gilles Chanteperdrix
2008-02-14 13:17   ` Pedro Mendes
2008-02-14 13:57     ` Gilles Chanteperdrix
2007-09-26  7:37 sysace
2007-09-26  9:08 ` Gilles Chanteperdrix
2006-04-04 15:04 Behre, Frederik - LT
2006-04-04 16:04 ` Philippe Gerum

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=18027126.1353391323438107409.JavaMail.defaultUser@domain.hid \
    --to=ediboscio@domain.hid \
    --cc=xenomai@xenomai.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.