AnsweredAssumed Answered

Problem accessing GPT registers in unprivileged mode

Question asked by krystianwasik on Jul 4, 2019
Latest reply on Jul 10, 2019 by krystianwasik

Hi,

 

I am trying to configure GPT while in unprivileged mode (CONTROL=0x3), but was unable to so far. I am not getting any exceptions (which should be the case if it was MPU or AIPSTZ related problem if I understand correctly), but writes have no effect and every read operation returns 0 (even for registers whose reset value is 0xffffffff).

 

Clocks are configured properly. After switching back to privileged mode, accessing GPT registers works just fine. The same goes for debugger.

 

MPU is completly disabled. Each AIPSTZ is configured as follows:

MPR=0x77000000
OPACR=0
OPACR1=0
OPACR2=0
OPACR3=0
OPACR4=0

 

What else could be preventing access to GPT? Am I missing something?

 

Any help would be appreciated.

 

Outcomes