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
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