From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
To: Dan Malek <dan@embeddededge.com>,
linux-ppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: Enabling 8xx debug mode
Date: Mon, 22 Aug 2005 23:20:11 -0300 [thread overview]
Message-ID: <20050823022011.GE9667@dmt.cnet> (raw)
Hi Dan,
I know now that the BDI automatically enables debug mode by asserting
the DSCK signal (available through the JTAG port). Is there any way
to enable debugging mode purely via software?
44.3.1.2 Entering Debug Mode
By appropriately programming the development port during reset, debug
mode can be entered immediately out of reset, thus allowing the user to
debug a ROM-less system. If DSCK is asserted throughout SRESET assertion
and then past SRESET negation, the processor takes a breakpoint
exception and goes directly to debug mode instead of fetching the reset
vector. To avoid entering debug mode after reset, DSCK must be negated
no later than seven clock cycles after SRESET negates, allowing the
processor to jump to the reset vector and begin normal execution. If
debug mode is entered immediately after reset, as shown in Figure 44-7,
ICR[DPI] is set. The user can enable events that can initiate debug mode
and determine which events require regular interrupt handling.
next reply other threads:[~2005-08-23 2:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-23 2:20 Marcelo Tosatti [this message]
2005-08-23 4:58 ` Enabling 8xx debug mode Dan Malek
2005-08-23 5:31 ` Marcelo Tosatti
2005-08-23 6:09 ` Dan Malek
2005-08-23 7:34 ` client and server implementation Saini Narendra
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=20050823022011.GE9667@dmt.cnet \
--to=marcelo.tosatti@cyclades.com \
--cc=dan@embeddededge.com \
--cc=linuxppc-embedded@ozlabs.org \
/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 NNTP newsgroup(s).