This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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 to force change using T32, but is it possible in code?

Parents Reply Children