This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: patch - at91 serial drivers assumed realtime response for DSR routines
Laurent GONZALEZ wrote:
> On Thu, 23 Oct 2003 11:31:15 +0200
>
> There is no doubt that your driver is better than the old one. But I
> noticed that you did not use the double buffer swapping trick, that has
> been discussed here several time.
>
> The DMA capability of the AT91 is only used to continue receiving chars
> during the execution of ISR and DSR. It's a good idea, but you still
> needs two buffers and another swapping method. The major drawback of
> your code is that it does not change the interrupt rate enough. So under
> heavy load, I wonder if your driver will be reliable enough.
>
> Have you ever tried to pass the serial test serial3 ? And with long
> packets (see line 121) ?
>
> If someone interrested, i will contribute my idea of the reliable driver
> for at91, using two buffer for direct PDC usage. I already tested
> networking load (ftp server) over serial lines at 115200 and more,
> without any packet loose.
Strange - I thought I used double-buffering...
tk
--
--------------------------------------------------
Thomas Koeller, Software Development
Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany
Tel +49 (4102) 463-162
Fax +49 (4102) 463-239
mailto:thomas.koeller@baslerweb.com
http://www.baslerweb.com
==============================