7.5.6 Get Halt Status
Check the state of Debug Halting Control and Status Register (DHCSR) Halt Flag.
For more details, refer to the ARMv7-M Architecture Reference Manual - ARM DDI 0403E, Debug stepping control using the DHCSR table.
Steps | Commands |
---|---|
Read Debug Halting Control and Status Register | ReadD32 (DHCSR, Value) |
Poll for Halt Status bit set | S_HALT = 1 |