public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jesper Skov <jskov@cambridge.redhat.com>
To: "Tony Ko" <nhko@gctsemi.com>
Cc: <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] how to make ecos run without GDB connection ?
Date: Thu, 05 Jul 2001 03:42:00 -0000	[thread overview]
Message-ID: <otzoajr71m.fsf@zoftcorp.adsl.dk> (raw)
In-Reply-To: <9860C773D04D834D83FD6FAD00A61E9311B706@gctsemi.gctsemi.com>

>>>>> "Tony" == Tony Ko <nhko@gctsemi.com> writes:

Tony> hi.  I ported eCos to custom mpc860 board ( with modified mbx860
Tony> package ).  eCos on my board runs well with GDB connecton.  I
Tony> download eCos image via serial with GDB. and see GDB console to
Tony> confirm eCos running.  But I think It is main reason eCos runs
Tony> slowly.

Downloads slowly, you mean, surely. Execution speed will not change
whether downloaded from ethernet or serial.

Tony> So I tried to download eCos image via ethernet (on RedBoot).
Tony> But in that case, eCos dosn't run after downloaded completely.
Tony> I think it's from GDB protocol.

Are you by any chance using the ethernet controller in the
application? In that case the connection will die.

Instead, try to download the application from the RedBoot console
using the load command. Then quite the terminal program, connect with
GDB and set the $pc to the application entry address. Then type 'cont'.

Tony> So I disabled "CYGSEM_HAL_VIRTUAL_VECTOR_INHERIT_CONSOLE"
Tony> option.  and retried to run eCos without GDB. But the result was
Tony> same.

Don't touch that option when using ethernet - it's required.

Jesper

  reply	other threads:[~2001-07-05  3:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-05  3:23 Tony Ko
2001-07-05  3:42 ` Jesper Skov [this message]
2001-07-05  6:38 Tony Ko

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=otzoajr71m.fsf@zoftcorp.adsl.dk \
    --to=jskov@cambridge.redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=nhko@gctsemi.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).