This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Problem with getchar / gets / fgets
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Nicolas Brouard <nicolas dot brouard at silicomp dot ca>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 14 Sep 2004 14:08:53 -0600
- Subject: RE: [ECOS] Problem with getchar / gets / fgets
- Organization: MLB Associates
- References: <MFENKKFPNAKOOKBAEHLHIEDCCDAA.nicolas.brouard@silicomp.ca>
On Tue, 2004-09-14 at 13:59, Nicolas Brouard wrote:
> This program behaves perfectly too for me on Powerpc simulator or on linux.
> But with my powerpc MPC860 target, I have to hit each character several
> times to display it on minicom.
> At the end of the line, I have to hit several times ENTER. When ENTER is
> take into account, the printf("%s", line); works perfectly...
>
> I think it's a problem of communication on the serial port. It seems to be
> the configuration of my ecos library.
>
> But my RedBoot shell works perfectly!
What's special with your eCos configuration? Can you send the output
of 'ecosconfig export'? I just ran with a default configuration:
% ecosconfig new adder852 net
% ecosconfig tree; make
Have you tried such a simplified setup?
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss