public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jesper Skov <jskov@redhat.com>
To: "amassa@cts.com" <amassa@cts.com>
Cc: jlarmour@redhat.co.uk, ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] Serial Console
Date: Tue, 20 Jun 2000 06:40:00 -0000	[thread overview]
Message-ID: <ot7lbkbhdq.fsf@thinktwice.zoftcorp.dk> (raw)
In-Reply-To: <200006162125.OAA19726@batman.cts.com>

>>>>> "amassa@cts" == amassa@cts com <amassa@cts.com> writes:

amassa@cts> Is there a way to communicate from a terminal or GDB to
amassa@cts> the serial code directly.  What I want to do is to be able
amassa@cts> to enter commands from a terminal and have a task running
amassa@cts> on my target get the command and parse it out.

You need to do it from a terminal as GDB does not allow you to send
out data (well, you could use the maintenance command if you really
want to go through GDB).

As for the target side, launch a thread which opens /dev/ser0 or
similar and read in characters. Parse them whichever way you want.

If you want a line-based interface you could use /dev/tty0 instead (I
think).

Jesper

  reply	other threads:[~2000-06-20  6:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-16 14:25 amassa
2000-06-20  6:40 ` Jesper Skov [this message]
2000-06-20  8:22   ` Anthony Massa
2000-06-22 12:08     ` Bart Veer

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=ot7lbkbhdq.fsf@thinktwice.zoftcorp.dk \
    --to=jskov@redhat.com \
    --cc=amassa@cts.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=jlarmour@redhat.co.uk \
    /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).