This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Double buffers using US_RPR and US_RCR
- From: "Koeller, T." <Thomas dot Koeller at baslerweb dot com>
- To: 'Eric de Jong' <list_ericdejong_10 at gmx dot net>, ecos-discuss at sources dot redhat dot com
- Date: Mon, 27 Oct 2003 11:10:23 +0100
- Subject: RE: [ECOS] Double buffers using US_RPR and US_RCR
Eric de Jong wrote:
> However, it is still possible to lose data. If data is
> received without a
> timeout, the receive buffer will be full. At this point an
> interrupt is given
> and the buffer is swapped and the data is processed. If this
> interrupt is
> delayed by another interrupt, and 2 more characters are
> received, there still
> will be a character loss. This can happen with any burst
> transmission with more
> data than the size of the receive buffer.
If you are concerned about loosing characters by not being
able to respond fast enough, you may want to look at the
driver patch I recently submitted
(http://sources.redhat.com/ml/ecos-patches/2003-10/msg00132.html), which
should not suffer from this problem.
tk
-----------------------------------------------
Thomas Koeller, Software Development
Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany
Tel +49 (4102) 463-390
Fax +49 (4102) 463-46390
mailto:Thomas.Koeller@baslerweb.com
http://www.baslerweb.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss