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

MPU

Hi

Using STM32f4 Board, I am enabling MPU in between any code (simple program) always causing memory management fault on debugging fault that (

IACCVIOL) bit is set, It means 

  • Attempting to execute an instruction from a memory region marked as Non-Executable

    (XN).

  • On stacking in Handler, Program Counter value is Multiple of odd number, that also not possible.

why this problem occur with enabling MPU not by without using MPU?

Parents Reply Children
No data