This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: Serial I/O on the MBX860
- To: guinan at bluebutton dot com, ecos-discuss at sourceware dot cygnus dot com
- Subject: Re: [ECOS] Serial I/O on the MBX860
- From: Erik Theisen <etheisen at mindspring dot com>
- Date: Thu, 03 Feb 2000 15:21:12 -0500
- Organization: Glenayre Electronics, Inc.
- References: <Pine.LNX.4.10.10002030514330.14080-100000@gemini.home.net>
Jamie Guinan wrote:
>
> In a nutshell, I think line buffering is broken in the eCos stdiostream
> code.
>
> Try entering several lines of text until you pass 256 bytes, and
> see if your code continues after that.
No, still doesn't work. It seems someone is trying
to access an invalid location as the 860 is completely
hung.
> At level #0, the code in serial_read() is doing,
>
> while (size++ < *len) {
> *buf++ = (funs->getc)(chan);
> }
>
I got to the same point in the code. I beleive that
the function pointer getc is NULL. But it maybe gdb
screwing up.
Erik