This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAPL138 ARM9 Simple Mode Switch to Supervisor Mode

Other Parts Discussed in Thread: OMAPL138

Hi,

I am writing a small application on the OMAPL138 ARM9.  I need to be in Supervisor Mode to set the System Configuration 1 (SYSCFG1) register. But I don't know how to do it in the source code.  Please provide me with an example, detailed description or direction to documents?  I prefer an example to simply if for me.

In my program, I have unlocked the kick registers, by setting them to the appropriate values.  But when I check the Program Status Register (PSR), the mode is still in User and I need to be in the supervisor mode.  If I change the PSR mode in the CCS debugger, then my program works as expected.

Thanks.

 

LP