10.3. Core debug access example

If you want to halt the processor and write a value into one of the registers, perform the following sequence:

  1. Write 0xA05F0003 to the Debug Halting Control and Status register. This enables 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, 2006 ARM Limited. All rights reserved.ARM DDI 0337E