This is the mail archive of the ecos-discuss@sourceware.cygnus.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]

Re: Serial I/O on the MBX860


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

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