在线时间31 小时
UID3091903
注册时间2015-1-13
NXP金币0
该用户从未签到
中级会员
 
- 积分
- 213
- 最后登录
- 2018-10-31
|

楼主 |
发表于 2017-6-2 18:50:11
|
显示全部楼层
我搞定了!
方法一:链接文件把相关中断代码放在RAM,启动时,把中断向量表拷贝到RAM中, 设置好向量表偏移
方法二:芯片手册章节:Miscellaneous Control Module (MCM),寄存器Platform Control Register (MCM_PLACR)的ESFC bit,设置为1即可。改位含义:When software needs to access the flash memory while a flash memory resource is being manipulated by a flash command, software can enable a stall mechanism to avoid a read collision. The stall mechanism allows software to execute code from the same block on which flash operations are being performed. However, software must ensure the sector the flash operations are being performed on is not the same sector from which the code is executing.
0 Disable stalling flash controller when flash is busy.
1 Enable stalling flash controller when flash is busy. |
|