This is the mail archive of the
mailing list for the eCos project.
RE: Does anyone use UART interrupt with redboot...???
- From: "Robert Cragie" <rcc at jennic dot com>
- To: "???" <kimkh at udcsystems dot com>, "eCos Discussion List" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 27 Feb 2002 15:55:08 -0000
- Subject: RE: [ECOS] Does anyone use UART interrupt with redboot...???
1) Trying to improve the performance of Redboot itself (i.e. downloading over serial port), or
2) Wanting to use serial port interrupts in your downloaded application?
I'm not sure that you'd need to do (1), as so long as it works OK in polling mode with the host debugger, then why bother changing it? IIRC, Redboot works in a polling manner, and is not really designed to use interrupts (correct me if I'm wrong, anyone).
If it's (2), then all you need to do is enable the serial ports (/dev/tty0 etc.) in the configuration file and use those via the driver interface described in the documentation - they are interrupt driven. Looking at the source code in packages/devs/serial/arm... will give you more information.
Robert Cragie, Design Engineer
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
www.jennic.com Tel: +44 (0) 114 281 2655
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com]On Behalf Of ???
> Sent: 27 February 2002 00:41
> To: eCos Discussion List
> Subject: [ECOS] Does anyone use UART interrupt with redboot...???
> 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.....???
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss