This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Serial port contention
- From: "David Ho" <davidkwho at gmail dot com>
- To: "eCos discuss list" <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 10 Aug 2006 10:15:31 -0400
- Subject: [ECOS] Serial port contention
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