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

How to Change the Non Secure VTOR (Cortex-M33)

Hi,

I'm using the Cortex-M33 and I would like to know if it's possible to change the Non Secure Vector table offset address (VTOR) while maintaining the Secure VTOR pointing to a different address.

The VTOR_S is located at 0xE000ED08 and the VTOR_NS at 0xE002ED08.

If I change the address of the VTOR_S, the address of VTOR_NS also changes to the same as the secure. On the other hand, if I change the VTOR_NS (located at 0xE002ED08) nothing happens, not even the VTOR_NS itself...is there any protection bit that it's missing to me?

Thanks.

Parents
  • Hi Joseph,

    Sorry for the late reply... Yes, I´m using the debugger...that makes sense, because when I change directly the memory (on the debugger) the address is cleared automatically...and when I try to change it by software (using a pointer ou assembly intructions) the content of the address remains the same.

    Thank you,

    Afonso

Reply
  • Hi Joseph,

    Sorry for the late reply... Yes, I´m using the debugger...that makes sense, because when I change directly the memory (on the debugger) the address is cleared automatically...and when I try to change it by software (using a pointer ou assembly intructions) the content of the address remains the same.

    Thank you,

    Afonso

Children