From: Wolfgang Grandegger <wg@domain.hid>
To: quinty <webquinty2@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Hello, doubts with RT-CAN
Date: Tue, 17 Jun 2008 09:21:35 +0200 [thread overview]
Message-ID: <485765FF.20606@domain.hid> (raw)
In-Reply-To: <2f7417810806160933v43b88a2ek6232473fc7efd100@domain.hid>
quinty wrote:
> Hello,
>
> I am testing RT-CAN with MPC5200 and linux 2.6.23.14 <http://2.6.23.14>
> , xenomai 2.4.2. <http://2.4.2.>
> Well I have some doubts:
> 1.- In kernel configuration, there is a parameter to change lenght of RX
> CAN buffer, 1024 by default.
> What units???, 1024 bytes, 1024 telegrams??'
It is in bytes and must be 2^n.
> 2.- RT-CAN is a block or non-block??? in other words, when I use
> rtcanrecv examples, code wait in this line of code
>
> ret = rt_dev_recvfrom <http://www.xenomai.org/documentation/branches/v2.4.x/html/api/group__userapi.html#g0cc144457c649f197d485581686273dd>(s, (void *)&frame, sizeof(can_frame_t <http://www.xenomai.org/documentation/branches/v2.4.x/html/api/structcan__frame.html>), 0,(struct sockaddr *)&addr, &addrlen);, until driver recieve message.
Yes, unless you have opened the socket with the non-blocking flag.
>
> 3.- Have RT-CAN TX buffer???
No, Out-going messages are not queued.
What is your problem?
Wolfgang.
next prev parent reply other threads:[~2008-06-17 7:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-16 16:33 [Xenomai-help] Hello, doubts with RT-CAN quinty
2008-06-17 7:21 ` Wolfgang Grandegger [this message]
2008-06-17 8:09 ` quinty
2008-06-17 8:29 ` Wolfgang Grandegger
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=485765FF.20606@domain.hid \
--to=wg@domain.hid \
--cc=webquinty2@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.