Switching User Modes on Infineon Aurix
Posted: Wed Apr 23, 2014 11:47 am
Hi everybody,
I'm trying to implement some time measurements on the Infineon Aurix TC275 and for that, I try to read out the GTM register on address 0xB0000010.
For that operation, I have to give the running task some more privileges, like user1-mode or higher.
So my question is: what should I do to change the mode of the task? And is there a possibility to define the mode directly in the oil-file?
I hope you can help me.
Thanks in advance,
Alex
I'm trying to implement some time measurements on the Infineon Aurix TC275 and for that, I try to read out the GTM register on address 0xB0000010.
For that operation, I have to give the running task some more privileges, like user1-mode or higher.
So my question is: what should I do to change the mode of the task? And is there a possibility to define the mode directly in the oil-file?
I hope you can help me.
Thanks in advance,
Alex