what mean supervisor and user mode in MPU module

cancel
Showing results for 
Search instead for 
Did you mean: 

what mean supervisor and user mode in MPU module

395 Views
weiq
Contributor I

pastedImage_1.png

this picture in mpc5607BRM , i don't know about what mean supervisor mode and user mode when i  use MPU function.how to change supervisor mode ,

and can  I change MPU register in user mode?

switch to that mode mean entry user mode? 

Labels (1)
Tags (1)
0 Kudos
2 Replies

222 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

no, it has nothing to do with the modes in Mode Entry module.

It's core feature, so let me to copy here some text from core RM:

https://www.nxp.com/docs/en/reference-manual/e200z0RM.pdf 

pastedImage_2.png

pastedImage_3.png

MSR[PR] bit is used to select the mode:

pastedImage_4.png

pastedImage_5.png

Search for "supervisor" keyword in the core reference manual for more details.

And yes, MPU is supposed to be used to select rights for individual memory resources.

Notice that there's no MMU on e200z0 cores.

Regards,

Lukas

0 Kudos

222 Views
weiq
Contributor I

pastedImage_1.png

picture in here

0 Kudos