public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Brendan Simon <bsimon@ctam.com.au>
To: jfisher@tns.neca.nec.com.au
Cc: "'eCos discussion mailing list'" <ecos-discuss@sourceware.cygnus.com>
Subject: Re: [ECOS] RE: Power PC Application
Date: Tue, 30 Nov 1999 00:32:00 -0000	[thread overview]
Message-ID: <38437E01.1FA175B8@ctam.com.au> (raw)
In-Reply-To: <000001bf3ac8$499adfa0$c5d04c93@jfishernt4.neca.nec.com.au>

John Fisher wrote:

> I also have been trying to get gdb and insight working with BDM and the
> Macraigor Wiggler, however I am experiencing the following problem with gdb
> and/or wigglers.dll. I am using the Motorola MPC8xxFADS board.
>
> After issuing "target ocd wiggler lpt1"
> and "ocd reset" from gdb any attempt to write to the MPC860's SYPCR register
> fails. When the register is read back 0xFFFFFF07 is obtained, which is the
> boot up value. The reason I am trying to write the SYPCR register is to turn
> the watchdog off.
>
> My first thought was that gdb itself is writing this register and since the
> register may only be written once following reset, that was the explanation.
> However gdb writes the register during its target command - before the
> reset - and since it writes 0xFFFFFF88 it is obviously not succeeding
> either.
>
> I have no trouble writing the SYPCR register when using OCD commander, the
> debugger available from the Macraigor website.
>
> I am taking a slightly different approach from the gdb authors. Writing
> 0xffffff0f stops the watchdog timer from counting while FRZ is asserted -
> this is all that should be necessary. The gdb authors disable it entirely by
> writing 0xffffff88.
>
> It appears that gdb and the wiggler are either not resetting the board
> properly or are writing the default value of the SYPCR register just after
> reset.
>
> Does anyone know whether source is available for wigglers.dll? I have asked
> at macraigor but received no reply.

Good luck.  I have hassled them a few times about Linux drivers and have never
heard anything from them.  I offered to develop a free Linux driver for them so
that Linux users could buy Wigglers thus increasing their market potential.  I
didn't here a thing from them.


  reply	other threads:[~1999-11-30  0:32 UTC|newest]

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

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=38437E01.1FA175B8@ctam.com.au \
    --to=bsimon@ctam.com.au \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=jfisher@tns.neca.nec.com.au \
    /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).