public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] RE: Power PC Application
@ 1999-11-30 23:12 John Fisher
  0 siblings, 0 replies; 3+ messages in thread
From: John Fisher @ 1999-11-30 23:12 UTC (permalink / raw)
  To: 'eCos discussion mailing list'

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

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <14403.5508.686402.112185@leda.cygnus.com>]

end of thread, other threads:[~1999-11-30 23:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-30 23:12 [ECOS] RE: Power PC Application John Fisher
     [not found] <14403.5508.686402.112185@leda.cygnus.com>
1999-11-29 16:18 ` John Fisher
1999-11-30  0:32   ` Brendan Simon

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).