• How to write to DHCSR register in Cortex-M
    I want to make C_DEBUGEN (register DHCSR) zero. I tried this. (CoreDebug->DHCSR = (unsigned int)0xA05F0000;) But again, C_Debugen is set to 1. I want to know how to set it to 0. It is possible...
  • How to write to DHCSR register in Cortex-M
    I want to make C_DEBUGEN (register DHCSR) zero. I tried this. (CoreDebug->DHCSR = (unsigned int)0xA05F0000;) But again, C_Debugen is set to 1. I want to know how to set it to 0. It is possible...
  • CoreDebug->DHCSR
    Hi there, We are using cortex M0 uC. We need to recognize at our code whether or not the debugger is attached. We have found after a lot of search and effort that we cannot use CoreDebug->DHCSR...
  • CoreDebug->DHCSR
    Hi there, We are using cortex M0 uC. We need to recognize at our code whether or not the debugger is attached. We have found after a lot of search and effort that we cannot use CoreDebug->DHCSR...
  • CM4: Can processor halt itself by writing DHCSR
    Hello, As part of my diagnostic regime I wanted the diag to halt when completed. It doesn't seem like it can. It seems to keep running when I CoreDebug->DHCSR = (0xA05FUL << CoreDebug_DHCSR_DBGKEY_Pos...