You copied the Doc URL to your clipboard.

EDECR, External Debug Execution Control Register

The EDECR characteristics are:

Purpose

Controls Halting debug events.

Configuration

If FEAT_DoPD is implemented, this register is in the Core power domain.

If FEAT_DoPD is not implemented, this register is in the Debug power domain.

Attributes

EDECR is a 32-bit register.

Field descriptions

The EDECR bit assignments are:

313029282726252423222120191817161514131211109876543210
RES0SSRCEOSUCE

Bits [31:3]

Reserved, RES0.

SS, bit [2]

Halting step enable. Possible values of this field are:

SSMeaning
0b0

Halting step debug event disabled.

0b1

Halting step debug event enabled.

If the value of EDECR.SS is changed when the PE is in Non-debug state, behavior is CONSTRAINED UNPREDICTABLE as described in 'Changing the value of EDECR.SS when not in Debug state'.

On a Cold reset, when FEAT_DoPD is implemented, this field resets to 0.

On a Cold reset, when FEAT_DoPD is not implemented, the value of this field is unchanged.

On an External debug reset, when FEAT_DoPD is implemented, the value of this field is unchanged.

On an External debug reset, when FEAT_DoPD is not implemented, this field resets to 0.

On a Warm reset, the value of this field is unchanged.

RCE, bit [1]

When FEAT_DoPD is not implemented:

Reset Catch Enable.

RCEMeaning
0b0

Reset Catch debug event disabled.

0b1

Reset Catch debug event enabled.

On a Cold reset, when FEAT_DoPD is implemented, this field resets to 0.

On a Cold reset, when FEAT_DoPD is not implemented, the value of this field is unchanged.

On an External debug reset, when FEAT_DoPD is implemented, the value of this field is unchanged.

On an External debug reset, when FEAT_DoPD is not implemented, this field resets to 0.

On a Warm reset, the value of this field is unchanged.


Otherwise:

Reserved, RES0.

OSUCE, bit [0]

When FEAT_DoPD is not implemented:

OS Unlock Catch Enable.

OSUCEMeaning
0b0

OS Unlock Catch debug event disabled.

0b1

OS Unlock Catch debug event enabled.

On a Cold reset, when FEAT_DoPD is implemented, this field resets to 0.

On a Cold reset, when FEAT_DoPD is not implemented, the value of this field is unchanged.

On an External debug reset, when FEAT_DoPD is implemented, the value of this field is unchanged.

On an External debug reset, when FEAT_DoPD is not implemented, this field resets to 0.

On a Warm reset, the value of this field is unchanged.


Otherwise:

Reserved, RES0.

Accessing the EDECR

EDECR can be accessed through the external debug interface:

ComponentOffsetInstance
Debug0x024EDECR

This interface is accessible as follows:

  • When (FEAT_DoPD is not implemented or IsCorePowered()) and SoftwareLockStatus() accesses to this register are RO.
  • When (FEAT_DoPD is not implemented or IsCorePowered()) and !SoftwareLockStatus() accesses to this register are RW.
  • Otherwise accesses to this register generate an error response.