This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: HELP: lpc2xxx serial (software/hw) flow control
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Sergei Gavrikov <sg at belvok dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 6 Apr 2006 10:12:03 +0200
- Subject: Re: [ECOS] HELP: lpc2xxx serial (software/hw) flow control
- References: <Pine.LNX.4.63.0603071126160.5891@sg.belavox.gomel.by>
On Thu, Apr 06, 2006 at 09:57:09AM +0300, Sergei Gavrikov wrote:
> Hello
>
> Anybody has a time and an experience to hint me about flow control
> settings for serial ports with `ecosconfig'?
>
> I do the steps
>
> ecosconfig new myplf redboot;
> ecosconfig import myredboot.ecm;
>
> ecosconfig add <what pkg need to add to support flow hw control?>
>
> Or, what lines (rules) need to add to myredboot.ecm to support same
> control?
>
> I will be going to enter new RedBoot's command: flowctl (or mode) for
> serial channels, like it
>
> RedBoot>flowctl -c 0 xonxoff; flowctl -c 1 rtscts
>
> I have a board with Philips LPC2214 CPU. That cpu has 2 serial port.
> First of them is just RxD/TxD 2-plet, but second (UART1) has full modem
> control/status. That UART1 control has such a pinouts/registers.
>
> Can the Jani's lpc2xxx serial package does the hardware flow control for
> lpc2xxx UART1? (RTSCTS)
Redboot does not use this serial driver. It uses the HAL serial
driver. The HAL serial driver is generally very simple, so it is
unlikely to handle flow control.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss