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: Problem with getchar / gets / fgets


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


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