This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Does anyone use UART interrupt with redboot...???
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: ??? <kimkh at udcsystems dot com>
- Cc: eCos Discussion List <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 27 Feb 2002 23:18:14 +0000
- Subject: Re: [ECOS] Does anyone use UART interrupt with redboot...???
- Organization: Red Hat UK Ltd.
- References: <012401c1bf16$052326a0$090110ac@TRENT> <00b701c1bf27$600f9bf0$2f14643d@cyox93>
??? wrote:
>
> I've worked with a Hynix GMS30C7201(ARM720T) evaluation board.
> At first, I tried to use serial port by polling mode,
> but it was losted data.
> So I decided to use serial interrupts. and then I've been looking for
> some example of serial interrupt routine with redboot.
>
> How do you use serial port...??? By polling or interrupt...???
> Why don't use serial interrupt with redboot...???
> Is it enough your board to use polling mode.....???
We've sometimes had this problem ourselves on slow processors because
redboot does a fair bit of processing on each character, but we've used a
slower baud rate or supported flow control instead. RedBoot is designed to
be run with interrupts disabled, so to change that interrupts would have to
be enabled, but with every other interrupt masked.
You could also disable things that slow down the character processing like
line editting. Look at the code to see.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss