From: "David Ho" <davidkwho@gmail.com>
To: "eCos discuss list" <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] Serial port contention
Date: Thu, 10 Aug 2006 14:15:00 -0000 [thread overview]
Message-ID: <4dd15d180608100715g1344caa9h78801c04ddd52630@mail.gmail.com> (raw)
Hi,
I am debugging issues with my serial port. What I need to do is to be
able to share one serial port for diag output and SLIP communication.
As I dig deeper I found out that the serial port is configured to do
blocking reads. However, an cyg_io_read always returns char '\0' even
when nothing is received.
Has anyone come across this issue? Is there a good preventive measure
I can use to make sure there is no contention?
Thanks, David
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next reply other threads:[~2006-08-10 14:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-10 14:15 David Ho [this message]
2006-08-16 14:13 ` [ECOS] " David Ho
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=4dd15d180608100715g1344caa9h78801c04ddd52630@mail.gmail.com \
--to=davidkwho@gmail.com \
--cc=ecos-discuss@ecos.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).