How to get MCU into supervisor mode

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

How to get MCU into supervisor mode

1,973 次查看
derill03
Contributor I

I have read some in the reference manual about this mode but i know ARM can be touchy, so before i screw something up can someone tell me how to put my kwikstik in supervisor mode so i can write to the registers i need to in order to setup the LCD. Like the MCG registers can not be written to in user mode.

 

But then again i am new to this device and i am assuming im in user mode unless i switch to supervisor mode, is that correct?

 

Please help

0 项奖励
回复
1 回复

1,141 次查看
mjbcswitzerland
Specialist V

Hi

 

After reset you are in "supervisor mode".

 

User mode is not often used and must be commanded by special instructions to modify the appropriate Cortex core setting (in ARM terminology it is known as privileged mode).

 

The majority of embedded systems are always in supervisor mode. Unless you specifically change from the default you can ignore any references to supervisor or user restrictions.

 

Regards

 

Mark

 

0 项奖励
回复