public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Ling Su" <lingsu@palmmicro.com>
To: "Jesper Skov" <jskov@redhat.com>
Cc: "Jonathan Larmour" <jlarmour@redhat.com>,
	<ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] GDBstub porting for vrc4375
Date: Tue, 06 Feb 2001 10:26:00 -0000	[thread overview]
Message-ID: <006701c0906a$5160b7c0$0201a8c0@raccoon> (raw)
In-Reply-To: <ww44ry7yd3l.fsf@host176.cambridge.redhat.com>

> >> <2>. There are a 7-segment display on board, according to the
> >> document the address is 0x7c000000, I am trying to write to the
> >> address after system initialization, but it doesn't work. Anything
> >> wrong?
>
> Jonathan> Maybe PMON doesn't set up the MMU mappings for that?
>
> Or the CPU runs in big-endian mode and the LED is 8-bit addressed so
> you need to poke at 0x7c000000^3
>

In the document of this board, it mentioned the mapping and virtual address
is 0xc7000000 (Sorry, I made a typo last time).  Actually I tried to write
to (*(cyg_uint8 *)(0x7c000000 + i)), in which i ranges from 0 to 0xFFFF, I
guess I should hit the right address. :-/

Regards,
-Ling

      reply	other threads:[~2001-02-06 10:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-05 20:22 Ling Su
2001-02-06  5:27 ` Jonathan Larmour
2001-02-06  9:01   ` Jesper Skov
2001-02-06 10:26     ` Ling Su [this message]

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='006701c0906a$5160b7c0$0201a8c0@raccoon' \
    --to=lingsu@palmmicro.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=jlarmour@redhat.com \
    --cc=jskov@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).