This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problems with cyg_io_read - Solved
- From: Amanda Heyward <amanda_heyward at yahoo dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Cc: Andrew Lunn <andrew at lunn dot ch>
- Date: Mon, 23 Aug 2004 11:59:25 -0700 (PDT)
- Subject: Re: [ECOS] Problems with cyg_io_read - Solved
I found the bug. I was using diag_printf statements in
between my read calls and that corrupted the recv
buffer. I took out all my diag_printfs, and lo it
worked fine as expected. The speed is still the same,
115200.
Thanks.
Amanda.
--- Andrew Lunn <andrew@lunn.ch> wrote:
> On Fri, Aug 20, 2004 at 09:52:33AM -0700, Amanda
> Heyward wrote:
> > Hi Andrew,
> > Thanks for the reply. I'm using the anon-cvs,
> as
> > that is the only way to get the EB40A working. I
> > assume that choosing the EB40A template also
> selects
> > the drivers from the anon-cvs. my serial port
> speed is
> > 115200. and I'm not using any flow control.
>
> Thats quite a high speed. Try lower speeds and see
> if that makes any
> difference.
>
> You say it works with hyperterminal. I suppose you
> are typing the
> input? If so the effective baud rate will be more
> like 50 baud, which
> could be why its working.
>
> Andrew
>
> --
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive:
> http://ecos.sourceware.org/ml/ecos-discuss
>
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss