Hello,In one of the arm cortex m4 processor based microcontroller, I've changed the access level to unprivilege, then when tried to access DEMCR, processor throwing exception. I checked in arm cortex m4 user guide, there is no info related to DEMCR and its access level.Then how to determine this register access level ?
Hello,
All registers in the System Control Space (SCS), including the debug registers, can only be accessed in privileged state.https://developer.arm.com/documentation/ddi0403/d/System-Level-Architecture/System-Address-Map/System-Control-Space--SCS-
Regards, Ronan
Thanks for your reply, it really helped...