K82 : disable write to AIPS1 and 2

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

K82 : disable write to AIPS1 and 2

684 次查看
EugeneHiihtaja
Senior Contributor I

Hello !

I would like to disable supervisor write access to AIPS0 and 1 most of the time and enable on the moment when I should

actually configure it with Supervisor privileges.

But it generate BusFault and may be it is not work as I understand.

// Pseudo code

{ &(AIPS0->PACRA), 0x50007000ul }, // Enable Supervisor RW AIPS0
{ &(AIPS1->PACRA), 0x50000000ul }, // Enable Supervisor RW AIPS1

... Enable/Disable peripherals

{ &(AIPS0->PACRA), 0x70007000ul }, //  Supervisor RO AIPS0
{ &(AIPS1->PACRA), 0x70000000ul }, //  Supervisor RO AIPS1

So may be Slot0 in PARCA can't be used for protect AIPSx itself ?

How-to enable/disable write access to AIPS tables ?

Looks like this disabling , lock AIPS forever ?

Or for what reason AIPS slots mentioned in tables ? Just for enable access in User mode ?

Regards,

Eugene

0 项奖励
回复
0 回复数