This section describes how the processor behaves on debug events while not in debug state. See Debug state for information on how the processor behaves while in debug state.When the processor is in Monitor debug-mode, Prefetch Abort and Data Abort vector catch debug events are ignored. All other software debug events generate a debug exception such as Data Abort for watchpoints, and Prefetch Abort for anything else.
When debug is disabled, the
generates a debug exception, Prefetch Abort. All other software
debug events are ignored.
When DBGEN is LOW, debug is disabled regardless of the value of DSCR[15:14].
Table 12.52 shows the behavior of the processor on debug events.
|DBGEN||DSCR[15:14]||Debug mode||Action on software debug event||Action on halting debug event|
|0||bxx||Debug disabled||Ignore or Prefetch Abort[a]||Ignore|
|1||b00||None||Ignore or Prefetch Abort[a]||Debug state entry|
|1||bx1||Halting||Debug state entry||Debug state entry|
|1||b10||Monitor||Debug exception or Ignore[b]||Debug state entry|
[b] Prefetch Abort and Data Abort vector catch debug events are ignored in Monitor debug-mode. All other software debug events generate a debug exception.