Core Debug Access Example - ARM Cortex-M3 Technical Reference Manual

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

Advertisement

Core Debug
10.3

Core debug access example

10-12
If you want to halt the processor and write a value into one of the registers, perform the
following sequence:
1.
Write
0xA05F0003
debug and halts the core.
2.
Wait for the S_HALT bit of the Debug Halting and Status Register to be set. This
indicates that the core is halted.
3.
Write the value that you want to be written to the Debug Core Register Data
Register.
4.
Write the register number that you want to write to into the Debug Core Register
Selector Register.
Copyright © 2005-2008 ARM Limited. All rights reserved.
to the Debug Halting Control and Status register. This enables
Non-Confidential
ARM DDI 0337G
Unrestricted Access

Advertisement

Table of Contents
loading

Table of Contents