public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gthomas@cambridge.redhat.com>
To: root <larwe@larwe.com>
Cc: ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] New GDB stubs and EDB7212, more questions
Date: Tue, 13 Feb 2001 09:42:00 -0000	[thread overview]
Message-ID: <XFMail.20010213104204.gthomas@cambridge.redhat.com> (raw)
In-Reply-To: <3A8969E2.92B0F7F5@larwe.com>

On 13-Feb-2001 root wrote:
> Sorry guys, I've got some more dumb questions.
> 
> First, reading through the ECC's I see that there are a lot of places
> where something is assigned one value if the CPU variant is EP7211 and
> another if it's EP7209. In few or no places is the 7212 mentioned. Does
> that mean that if I configure for the 7212, I'm going to get "empty" or
> "non-defaults" in those values? Should I leave it at the default 7211
> configuration? The impression I get is that things have been actively
> maintained for the 7211 and 7209, and the 7212 is not so actively
> tested.
> 

Not at all.  The 7212 and 7209 are basically the same beast.  The 7209
just doesn't have a DRAM controller - everything else is identical.

When you select 7212, you also select 7209, and everything just works.

By my estimation, we've probably tested the 7212 more than the 7211, BTW.

> Second, I've built new stubs from the current CVS sources and
> successfully flashed them. However now I'm worse off than I was using
> the 1.3.1 stubs; I load my new binary (rebuilt, and linked against
> latest anoncvs). When I continue, the board just sits there. I
> breakpointed cyg_user_start and main and either breakpoints aren't
> working, or it never got that far, because gdb just sits there at the
> "Continuing." message. Is there some special pre-initialization I was
> supposed to add to my program?
> 
> Should the below generate a valid set of stubs for EDB7209 (with
> EP7212)?
> 
> mkdir ecos_temp
> cd ecos_temp
> ecosconfig new edb7xxx stubs  [a few "attention" messages about changing
> defaults]
> ecosconfig tree
> make
> dl_edb7xxx install/bin/gdb_module.bin 115200 /dev/ttyS0
> 

This is reasonable.  Have you also built your application from these latest
sources? 
> When I load the binary and try to single-step, I get "cannot find bounds
> of current function", so it's hard for me to see if anything is actually
> happening.

Do you have a separate build tree for your application code?  You need to
have a separate configuration for RAM based programs than with the ROM based
stubs.  Thus you can't use the same tree for both.

If you continue to have troubles, you can send me a binary you've built for
the 7212/RAM and I'll look at it.  Note: send it to me privately so as not
to clog the mailing list.

  parent reply	other threads:[~2001-02-13  9:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-13  9:06 root
2001-02-13  9:27 ` Jonathan Larmour
2001-02-13 10:29   ` Lewin A.R.W. Edwards
2001-02-13  9:42 ` Gary Thomas [this message]
2001-02-13 10:37   ` Lewin A.R.W. 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.20010213104204.gthomas@cambridge.redhat.com \
    --to=gthomas@cambridge.redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=larwe@larwe.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).