This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: ttydiag read and write to console
- From: Andrew Lunn <andrew at lunn dot ch>
- To: "Venkateswara Rao L." <lvenkat at lvl7 dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 3 May 2007 08:45:04 +0200
- Subject: Re: [ECOS] ttydiag read and write to console
- References: <FE7FB54DCB7C6949A1D3F9FF22DA6C1353FD23@lvl7in-mail01.lvl7.com>
On Thu, May 03, 2007 at 10:04:17AM +0530, Venkateswara Rao L. wrote:
> Hi some one please respond.
> cyg_io_write() is working fine but cyg_io_read() is blocking, as
> per the reference manual cyg_io_read() echoes but here it is not
> echoing.
ttydiag is a very simple, polled io driver. It is not really designed
for interactive input use. Use the interrupt driver serial device
driver for your platform.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss