This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: UART communication
- To: Andreas dot Karlsson at combitechsystems dot com
- Subject: Re: [ECOS] UART communication
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 06 Sep 2000 18:01:42 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com, aeb at arm dot com
- Organization: Red Hat UK Ltd.
- References: <2253171AF143D21185A60000F8FA748B0229A950@pluto.combitech.se>
Andreas.Karlsson@combitechsystems.com wrote:
> > Can you clarify what you mean by CTS/RTS enabled? How did you
> > enable this?
>
> I enabled it with the cyg_io_set_config-function like this:
>
[snip]
> settings_buf.flags=CYG_SERIAL_FLAGS_RTSCTS; //enable CTS/RTS
I think you should find that setting this has no effect, which is why you
are seeing overruns. If you update to eCos from CVS, you will find that
"real" support for hardware flow control has been added to the generic
layer, although the only device driver that uses it currently is the ARM
PID serial driver.
However, it would not be difficult to make the same changes to the AEB
serial driver. Perhaps you should consider that?
Or if you update to CVS, you could try the software (XON/XOFF) flow control
which should "just work".
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault