K82 : MPU advanced features ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K82 : MPU advanced features ?

919 Views
EugeneHiihtaja
Senior Contributor I

Hello !

I just wondering if possible to assign some separate access rights to interrupt handlers  ?

They run in privileged mode only and if they running when specific rtos task context is valid, it means full access to 

task's memory.

It is possible to have memory chunks what visible only when task is active. In other time no user/privileged access at all.

Or only one way is exists is to disable task's specific MPU regions at beginning of ISR and return back at the end of it.

Or other technique is exists for utilise K82 MPU for this case ?

Regards,

Eugene

0 Kudos
Reply
1 Reply

837 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi Eugene,

 

You can only fully access the NVIC from privileged mode. I think the only way to do this behavior is by disabling MPU section during the ISR.

 

Best regards,

Felipe

0 Kudos
Reply