when I use mcuxpresso to debug FRDMK64 report error:"op EraseSector (0x0, 0x0, 0x4) status 0x1 - driver reported driver error - INTKFMM driver rc 16 - Flash protection violation op EraseSector (0x0, 0x0, 0x4) status 0x1 - driver reported driver error -

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

when I use mcuxpresso to debug FRDMK64 report error:"op EraseSector (0x0, 0x0, 0x4) status 0x1 - driver reported driver error - INTKFMM driver rc 16 - Flash protection violation op EraseSector (0x0, 0x0, 0x4) status 0x1 - driver reported driver error -

1,471 次查看
leilovelei100
Contributor II

error info.png

标签 (1)
0 项奖励
回复
2 回复数

1,195 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

Hi,

Firstly, it is possible to accidentally attempt to flash a project for one MCU onto a different MCU - this can lead to errors from the flash driver. The correct flash driver for the K64 MCU is called FTFE_4K - you can check the debug log to see which flash driver is being used.

Assuming there was no error as described above, I would suggest you attempt to mass erase this part. This process is described in the User Manual for the IDE.

First location the LinkServer GUI Flash Programmer Icon from the ToolBar (it looks like a small MCU). Then be sure to select the Erase flash memory tab, and check the Mass erase radio button as below. Then click OK.

pastedImage_1.png

If this also fails, I would next try the third tab 'Resurrect locked Kinetis device'. To use this feature, simply select this tab and click OK.

In both of these cases all data on the flash will be erased.

I hope this helps,

Yours,

MCUXpresso IDE Support

1,195 次查看
leilovelei100
Contributor II

does it caused by MPU ?

0 项奖励
回复