7.5.4 Run

The processor exits the Debug state or goes into the Run state:

  • When the debugger writes 0 to DHCSR.C_HALT
  • On receipt of an external restart request

For more details, refer to the ARMv7-M Architecture Reference Manual - ARM DDI 0403E, Debug stepping control using the DHCSR table.

Table 7-6. Reference
StepsCommands
Exit Debug Mode (Run)WriteD32(DHCSR, (DBGKEY | 0))