Chapter 10 Core Debug; About Core Debug - ARM Cortex-M3 Technical Reference Manual

Hide thumbs Also See for Cortex-M3:
Table of Contents

Advertisement

Core Debug
10.1

About core debug

10.1.1
Halt mode debugging
10.1.2
Exiting core debug
10-2
Core debug is accessed through the core debug registers. Debug access to these registers
is by means of the AHB-AP port, see AHB Access Port on page 11-35. The processor
can access these registers directly over the internal Private Peripheral Bus (PPB).
Table 10-1 shows the core debug registers.
Address
Type
Read/Write
0xE000EDF0
Write-only
0xE000EDF4
Read/Write
0xE000EDF8
Read/Write
0xE000EDFC
a. Bits 5, 3, 2, 1, 0 are reset by PORESETn. Bit[1] is also reset by SYSRESETn and writing a 1
to the VECTRESET bit of the Application Interrupt and Reset Control Register.
b. Bits 16,17,18,19 are also reset by SYSRESETn and writing a 1 to the VECTRESET bit of the
Application Interrupt and Reset Control Register.
Also used is the Debug Fault Status Register see Debug Fault Status Register on
page 8-36 for more information
The debugger can halt the core by setting the C_DEBUGEN and C_HALT bits of the
Debug Halting Control and Status Register. The core will acknowledge once halted by
setting the S_HALT bit of the Debug Halting Control and Status Register.
The core can be single stepped by halting the core, setting the C_STEP bit to 1, and
then clearing the C_HALT bit to 0. The core will acknowledge completion of the step
and re-halt by setting the S_HALT bit of the Debug Halting Control and Status Register.
The core can exit Halting debug by clearing the C_DEBUGEN bit in the Debug Halting
and Status Register.
Copyright © 2005, 2006 ARM Limited. All rights reserved.
Reset Value
Description
a
Debug Halting Control and Status Register
0x00000000
-
Debug Core Register Selector Register
-
Debug Core Register Data Register
b
Debug Exception and Monitor Control Register.
0x00000000
Table 10-1 Core debug registers
ARM DDI 0337B

Advertisement

Table of Contents
loading

Table of Contents