[En-Nut-Discussion] Possible BUG in ARM usart driver or crt routines

Coleman Brumley cbrumley at gopolar.com
Wed Sep 2 21:01:48 CEST 2009


Harald,

There are some issues with the AT91 USART error handling in that he error
flag doesn't get cleared correctly.  

I documented this, and a potential fix some time ago at
http://coleman.jandasoft.biz/?p=8


- Coleman


> -----Original Message-----
> From: en-nut-discussion-bounces at egnite.de [mailto:en-nut-discussion-
> bounces at egnite.de] On Behalf Of Harald Kipp
> Sent: Wednesday, September 02, 2009 2:27 PM
> To: Ethernut User Chat (English)
> Subject: Re: [En-Nut-Discussion] Possible BUG in ARM usart driver or
> crt routines
> 
> Ole Reinhardt wrote:
> 
> > I need to wait for at least 50ms after sending the buffer before
> sending
> > more data. If I have a large buffer I can not say how much data is
> still
> > in the buffer, so a nutsleep directly after fwrite() I don't know the
> > exactly when the last byte was send out (by interrupt driven UART).
> 
> Polling the status for each 50ms may help. I've prepared a wiki page to
> explain some advanced UART functions:
> 
> http://www.ethernut.de/nutwiki/Advanced_UART_Functions
> 
> 
> Harald
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list