Hi champs,
When enable MPU function, we can use the PRIVDEFENA bit of MPU_CTRL register to switch privileged and unprivileged mode, is it correct?
However, it looks like CM4 cannot execute the application code if we enable MPU function without setting PRIVDEFENA bit, it will branch to faultISR().
My question is that how can we separate the CM4 application code into privileged and unprivileged mode sections? Or the PRIVDEFENA bit is a MUST when enabling MPU function?
Regards,
Luke
