AnsweredAssumed Answered

K64 MPU问题

Question asked by Joe Qiao on Jan 15, 2018
Latest reply on Jan 24, 2018 by Joe Qiao

K64 MPU问题:为什么在设置K64的MPU的RGD0的时候会出现总线错误的问题:

流程如下:

SYSMPU_Init()//配置MPU,传入的参数只设置REGION 1 ,不设置REGION 0。REGION 0值为默认值。

EnableBusFaultIrq() //使能总线错误中断

(*(volatile unsigned int*)0x4000D40C) = 0 //这里会出现“总线错误”异常

SYSMPU->WORD[0][1] = 0xFFFFFFFF; //这里也会出现“总线错误”异常

 

请问这个是什么原因?

谢谢!

Outcomes