This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

Re: TCP/IP stack and threading question


Tim Hatton wrote:
I'm using the "default" console device, which is set to "/dev/ttydiag" in the
config.

There's your problem - "/dev/ttydiag" uses the RedBoot interfaces which are polled, so while you're waiting for characters to arrive on the CLI, the system never sees any network interrupts and thus can't schedule the network threads, etc.

You'll need to use an interrupt-driven serial device instead.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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