public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "John Fisher" <jfisher@tns.neca.nec.com.au>
To: "'eCos discussion mailing list'" <ecos-discuss@sourceware.cygnus.com>
Subject: [ECOS] RE: Power PC Application
Date: Tue, 30 Nov 1999 23:12:00 -0000	[thread overview]
Message-ID: <000201bf3bcb$6304c4c0$c5d04c93@jfishernt4.neca.nec.com.au> (raw)

Well I have figured the problem I was having out for myself - eventually,
and it's an
interesting trap for young players.

The four byte values that I and gdb itself were attempting to write to
the SYPCR register must be being written to the register byte by byte
instead of one 32 bit write. So after the first byte is redundantly written
(power up value and what I was trying to write were the same), the processor
was refusing to accept any further writes, SYPCR being a write once between
resets register.

It would appear that either the wiggler lacks a mechanism for forcing a 32
bit write or gdb is not using it,
however since I only need to write one byte that's precisely what I'll do.


John Fisher
Transmission Systems Division
NEC Australia Pty Ltd
649 Springvale Road
Mulgrave Vic 3170
Australia
email: jfisher@tns.neca.nec.com.au
ph: + 613 9264 3606
fax: + 613 9264 3892

             reply	other threads:[~1999-11-30 23:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-30 23:12 John Fisher [this message]
     [not found] <14403.5508.686402.112185@leda.cygnus.com>
1999-11-29 16:18 ` John Fisher
1999-11-30  0:32   ` Brendan Simon

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='000201bf3bcb$6304c4c0$c5d04c93@jfishernt4.neca.nec.com.au' \
    --to=jfisher@tns.neca.nec.com.au \
    --cc=ecos-discuss@sourceware.cygnus.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).