LPC55S69 : privileged or not ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC55S69 : privileged or not ?

778件の閲覧回数
EugeneHiihtaja
Senior Contributor I

Hello !

I have FreeRTOS on nonsecure side and tasks' with user privileges is running there.

Task with user privileges call NSC function and on Secure side I have analyze CONTROL register:

int inPrivilegedMode(void)
{
return !(__get_CONTROL() & 0x1);
}

And looks like code on Secure side is continue execution with user privileges as well.

But it able to call FlashErase function from ROM and ROM area are marked as S-Priv by using MPC secure gates.

Is this right assumption that NSC call is not modify privilege level and code continue execution on Secure side with the same privileges ?

Or some settings should be forced in MISC_CTRL registers for be sure if secure side starts to distinguish privileged 

and user states ? 

Regards,

Eugene

ラベル(1)
0 件の賞賛
返信
1 返信

704件の閲覧回数
soledad
NXP Employee
NXP Employee

Hi,

We are checking this internally, I will update you as soon as possible,

have a nice day

Regards

Soledad

0 件の賞賛
返信