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?
What does the ARM documentation tell you?
IIRC, not all bits can be set from code ...
:-) Right. The manual has a clear info about this.