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 -

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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,088 Views
leilovelei100
Contributor II

error info.png

Labels (1)
0 Kudos
2 Replies

812 Views
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

812 Views
leilovelei100
Contributor II

does it caused by MPU ?

0 Kudos