[ECOS] Serial I/O on the MBX860

Erik Theisen etheisen@mindspring.com
Thu Feb 3 12:15:00 GMT 2000


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


More information about the Ecos-discuss mailing list