public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gthomas@cambridge.redhat.com>
To: Grant Edwards <grante@visi.com>
Cc: ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] RedBoot gets() problems
Date: Fri, 02 Mar 2001 08:31:00 -0000	[thread overview]
Message-ID: <XFMail.20010302093111.gthomas@cambridge.redhat.com> (raw)
In-Reply-To: <20010302102159.A1225@visi.com>

On 02-Mar-2001 Grant Edwards wrote:
> 
> I'm having problems with RedBoot due to the way the main loop
> and gets() interact.  
> 
> If at some point a spurious byte comes in on one of the diag
> ports, RedBoot effectively "locks up" until it sees an
> end-of-line on that port: it ignores network packets, it
> ignores commands on the other diag port.
> 

What defines "spurious"?

> I think I'm going to have to re-design the input scheme so that
> Redboot still responds to the network and to all ports while
> in the "middle" of reading an input line.

I'm not convinced that this is the right thing to do.  Maybe
the check for network packets is OK (but I ruled out doing it all
the time because of overhead costs), but once data arrives on
one port, then RedBoot is designed to switch to that port
exclusively.

You can disable this using the CDL which may be what you want.

  reply	other threads:[~2001-03-02  8:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-02  8:17 Grant Edwards
2001-03-02  8:31 ` Gary Thomas [this message]
2001-03-02  8:38   ` Grant Edwards
2001-03-02  8:48     ` Gary Thomas
2001-03-02  9:08       ` Grant Edwards
2001-03-03  5:28         ` Gary Thomas
2001-03-05 13:52           ` Grant Edwards

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=XFMail.20010302093111.gthomas@cambridge.redhat.com \
    --to=gthomas@cambridge.redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=grante@visi.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).