linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Enabling 8xx debug mode
@ 2005-08-23  2:20 Marcelo Tosatti
  2005-08-23  4:58 ` Dan Malek
  0 siblings, 1 reply; 5+ messages in thread
From: Marcelo Tosatti @ 2005-08-23  2:20 UTC (permalink / raw)
  To: Dan Malek, linux-ppc-embedded


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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-23  7:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-23  2:20 Enabling 8xx debug mode Marcelo Tosatti
2005-08-23  4:58 ` 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

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