EasyManuals Logo

ARM Cortex-M3 User Manual

ARM Cortex-M3
410 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #221 background imageLoading...
Page #221 background image
Core Debug
ARM DDI 0337G Copyright © 2005-2008 ARM Limited. All rights reserved. 10-7
Unrestricted Access Non-Confidential
Table 10-3 shows the bit functions of the Debug Core Selector Register.
This write-only register generates a handshake to the core to transfer data to or from
Debug Core Register Data Register and the selected register. Until this core transaction
is complete, bit [16], S_REGRDY, of the DHCSR is 0.
Note
Writes to this register in any size but word are Unpredictable.
PSR registers are fully accessible this way, whereas some read as 0 when using
MRS instructions.
All bits can be written, but some combinations cause a fault when execution is
resumed.
IT might be written and behaves as though in an IT block.
Table 10-3 Debug Core Register Selector Register
Bits Type Field Function
[31:17] - - Reserved
[16] Write REGWnR Write = 1
Read = 0
[15:5] - - Reserved.
[4:0] Write REGSEL 5b00000 = R0
5b00001 = R1
5b01111 = DebugReturnAddress()
5b10000 = xPSR/Flags, execution state information, and exception
number
5b10001 = MSP (Main SP)
5b10010 = PSP (Process SP)
5b10100:
CONTROL bits [31:24]
FAULTMASK bits [23:16]
BASEPRI bits [15:8]
PRIMASK bits [7:0]
All unused values reserved

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ARM Cortex-M3 and is the answer not in the manual?

ARM Cortex-M3 Specifications

General IconGeneral
ArchitectureARMv7-M
Instruction SetThumb-2
Pipeline Stages3-stage
InterruptsNested Vectored Interrupt Controller (NVIC)
Interrupt ControllerNested Vectored Interrupt Controller (NVIC)
Memory Protection UnitOptional
Power ConsumptionVaries by implementation
Max Clock SpeedUp to 100 MHz
DebuggingJTAG and Serial Wire Debug (SWD)
Operating Voltage1.8V to 3.6V
Manufacturing ProcessVaries by implementation
Core Type32-bit

Related product manuals