[ECOS] Problem with getchar / gets / fgets

Gary Thomas gary@mlbassoc.com
Tue Sep 14 20:08:00 GMT 2004


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



More information about the Ecos-discuss mailing list