13.3.1. Accessing debug registers

To access the CP14 debug registers you must set Opcode_1 and CRn to 0. The Opcode_2 and CRm fields of the coprocessor instructions are used to encode the CP14 debug register number, where the register number is {<Opcode2>, <CRm>}.

Table 13.2 lists the CP14 debug register map. All of these registers are also accessible as scan chains from the DBGTAP.

Table 13.2. CP14 debug register map

Binary addressRegister numberCP14 debug register nameAbbreviation
Opcode_2CRm
b000b0000c0Debug ID RegisterDIDR
b000b0001c1Debug Status and Control RegisterDSCR
b000b0010-b0100c2-c4Reserved-
b000b0101c5Data Transfer RegisterDTR
b000b0110c6Watchpoint Fault Address RegisterWFAR
b000b0111c7Vector Catch RegisterVCR
b000b1000-b1001c8-c9Reserved-
b000b1010c10Debug State Cache Control RegisterDSCCR
b000b1011c11Debug State MMU Control RegisterDSMCR
b000b1100-b1111c12-c15Reserved-
b001-b011b0000-b1111c16-c63Reserved-
b100b0000-b0101c64-c69Breakpoint Value RegistersBVRy[a]
 b0110-b111c70-c79Reserved-
b101b0000-b0101c80-c85Breakpoint Control RegistersBCRya
 b0110-b1111c86-c95Reserved-
b110b0000-b0001c96-c97Watchpoint Value Registers WVRya
 b0010-b1111c98-c111Reserved-
b111b0000-b0001c112-c113Watchpoint Control Registers WCRya
 b0010-b1111c114-c127Reserved-

[a] y is the decimal representation for the binary number CRm.


Note

All the debug resources required for Monitor debug-mode debugging are accessible through CP14 registers. For Halting debug-mode debugging some additional resources are required. See Chapter 14 Debug Test Access Port.

Copyright © 2004-2009 ARM Limited. All rights reserved.ARM DDI 0301H
Non-Confidential