This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: about the consoles input


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]