From: cetoni GmbH - Uwe Kindler <uwe.kindler@cetoni.de>
To: ecos-patches@sourceware.org, Andrew Lunn <andrew@lunn.ch>
Subject: Re: test of CAN callback stuff
Date: Fri, 24 Aug 2007 14:28:00 -0000 [thread overview]
Message-ID: <46CEEAB2.1060106@cetoni.de> (raw)
Hello Andrew,
this two errors are not really CAN specific. The loopback driver overrun
test simply reads the size of the RX queue and then sends exact the
number of events that fit into the RX queue. After sending the messages,
it simply checks if the message queue is completely filled before it
sends one additional message that produces an overrun event.
I think the proiblem is that the check if the queue is completely filled
immediatelly follows the sending procedure. On the synth target this
check maybe comes faster then the RX queue could receive all events. A
small cyg_thread_delay() before the check may solve this. I cannot check
this because I do not use synth target and on my real hardware this test
does not fail.
Regards,
Dipl. Inf. (FH)
Uwe Kindler
Software Engineering
--
cetoni GmbH
Am Wiesenring 6
D-07554 Korbussen
Tel.: +49 (0) 36602 338 28
Fax: +49 (0) 36602 338 11
uwe.kindler@cetoni.de
www.cetoni.de
next reply other threads:[~2007-08-24 14:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-24 14:28 cetoni GmbH - Uwe Kindler [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-08-24 7:04 Alexey Shusharin
2007-08-24 13:51 ` Andrew Lunn
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=46CEEAB2.1060106@cetoni.de \
--to=uwe.kindler@cetoni.de \
--cc=andrew@lunn.ch \
--cc=ecos-patches@sourceware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).