K82 : disable write to AIPS1 and 2

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

K82 : disable write to AIPS1 and 2

699 Views
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 Kudos
Reply
0 Replies