本帖最后由 inurl 于 2013-6-30 11:05 编辑
系统上电之后不是进入了 thread mode (unprivileged) 吗?
NVIC(0xE000_E000)不是要在privileged下才能访问吗?
“The processor enters Thread mode on Reset, or as a result of an exception return.
Privileged and Unprivileged code can run in Thread mode.”
“Unprivileged execution limits or excludes access to some resources. Privileged execution has access to all resources. Handler mode is
always privileged. Thread mode can be privileged or unprivileged.”
|