Debug

DBGSELFADDR

The DBGSELFADDR signal specifies bits [31:12] of the offset from the debug ROM physical address to the physical address where the processor APB port is mapped to the base of the 4KB debug register map. This is a configuration input and must be tied off or only change while the processor is in reset.

DBGSELFADDRV is the valid signal for DBGSELFADDR. If the offset cannot be determined, DBGSELFADDR must be tied off to zero and DBGSELFADDRV must be tied LOW. The value of these signals can be read from the Debug Self Address Register (DSAR).

DBGRESTART

The DBGRESTART signal is used to bring the processor out of debug halt state. The processor acknowledges DBGRESTART by asserting DBGRESTARTED, and then starts fetching instructions when DBGRESTART is deasserted.

DBGRESTARTED

The processor asserts DBGRESTARTED in response to a DBGRESTART request, when it is ready to exit debug halt state and return to normal run state.

DBGTRIGGER

The processor asserts DBGTRIGGER to indicate that the system has accepted a debug request and attempts to enter debug state. It is not a handshake for the EDBGRQ signal. If DBGACK does not go HIGH following DBGTRIGGER, the memory system has stopped responding and the processor has not entered debug state.

Table A-13 on page A-17shows the debug miscellaneous signals.

11.10.3 Authentication signals

Table 11-42shows a list of the valid authentication signals and the associated debug permissions. Authentication signals are used to configure the processor so its activity can only be debugged or traced in a certain subset of processor modes.

Table 11-42 Authentication signal restrictions

DBGENa

NIDEN

Non-invasive debug permitted

in User and Privileged modes

 

 

 

 

 

0

0

No

 

 

 

X

1

Yes

 

 

 

1

0

Yes

a. When DBGEN is LOW, the processor behaves as if DSCR[15:14] equals b00 with the exception that halting debug events are ignored when this signal is LOW.

Changing the authentication signals

The NIDEN, and DBGEN input signals are either tied off to some fixed value or controlled by some external device.

ARM DDI 0363E

Copyright © 2009 ARM Limited. All rights reserved.

11-52

ID013010

Non-Confidential, Unrestricted Access

 

Page 321
Image 321
ARM R4F, r1p3 manual Authentication signals, Changing the authentication signals, Authentication signal restrictions Dbgen a