This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: about the consoles input
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: xiaoyan wang <wang_xiaoyan79 at yahoo dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 26 Nov 2002 14:18:19 +0100
- Subject: Re: [ECOS] about the consoles input
- References: <20021126131436.87169.qmail@web20204.mail.yahoo.com>
You cannot use the serial port for both gdb and serial input to
application code.
You either need to use another serial port, or not use gdb. Which
ever, use the proper serial driver, not the HAL diag driver.
Andrew
On Tue, Nov 26, 2002 at 05:14:36AM -0800, xiaoyan wang wrote:
> Hi,
> I am doing the programming on eCos.But now I need to
> input something, I can not find where to input. The
> consoles window can not input anything.
>
> i use ARM7, one serial port is for remote module, the
> other is for debug. When I ran command arm-elf-gdb,
> the debug window will be opened. the consoles window
> will show the "gdb>",I just can read the "printf" and
> can not use "scanf" or "getchar" to input here. Could
> you tell me how to input from consoles window?
>
> Could you please kindly help me? I am very very
> appreciated.
>
>
>
> Best Regards
> Wang xiaoyan
>
>
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss