K82 : MPU advanced features ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

K82 : MPU advanced features ?

915 次查看
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 项奖励
回复
1 回复

833 次查看
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 项奖励
回复