public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Daniel Lidsten" <Daniel.Lidsten@combitechsystems.com>
To: <ecos-discuss@sources.redhat.com>
Subject: [ECOS] Serial getc problem
Date: Thu, 04 Jul 2002 09:20:00 -0000	[thread overview]
Message-ID: <004B1D7A5257174C9044A1B7BD0E60ED232BD5@ratatosk.combitechsystems.com> (raw)

Hi,

I am running a MPC850 with a few different threads in the application.
The network stack is also enabled and up and running. However, when a
thread calls the HAL_DIAG_READ_CHAR to wait for input from the user then
my net stack stops working. I cant reach it with a ping from my local
host. 

My first thought was that the application was running with a higher
priority (lower value) then the net stack but that was not the case. The
application runs at prio 8 and net at 6 and 7 (background).

I have seen in the serial driver that when reading a char from the port
then the following is done:

while ( !getc_non_block(..) )

Can the problem be that this code is running in some form of "kernel
state" i.e. in a very high prio state since the driver lies within eCos?

Regards, Daniel

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

             reply	other threads:[~2002-07-04 16:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-04  9:20 Daniel Lidsten [this message]
2002-07-04 10:25 ` Robert Cragie
2002-07-04 12:58 Daniel Lidsten
2002-07-05  1:14 Daniel Lidsten
2002-07-08  9:35 George Sosnowski
2002-07-08  9:43 ` Gary Thomas
2002-07-09  3:49 ` Robert Cragie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=004B1D7A5257174C9044A1B7BD0E60ED232BD5@ratatosk.combitechsystems.com \
    --to=daniel.lidsten@combitechsystems.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).