This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARMv7M:  NVIC Default Access Permission

Note: This was originally posted on 11th June 2011 at http://forums.arm.com

Hi,

I read on a manual that NVIC access is blocked by default.  Does this mean when MPU is disabled or not present, I cannot change any NVIC attributes, including interrupt priorities and vector table offset?  This sounds strange to me.  Is this true?

Thanks in advance.
narke
Parents
  • Note: This was originally posted on 13th June 2011 at http://forums.arm.com

    By default the NVIC accesses for Non-privileged code are blocked, but privileged accesses are allowed.
    Normally your program code will be executed in privileged access level so you have full access to the NVIC.
    Only when you are using a embedded OS which executes application processes (or some of them) in non-privileged, then you need to worry about this.

    regards,
    Joseph
Reply
  • Note: This was originally posted on 13th June 2011 at http://forums.arm.com

    By default the NVIC accesses for Non-privileged code are blocked, but privileged accesses are allowed.
    Normally your program code will be executed in privileged access level so you have full access to the NVIC.
    Only when you are using a embedded OS which executes application processes (or some of them) in non-privileged, then you need to worry about this.

    regards,
    Joseph
Children
No data