Dear,
I am performing read and write operations in the flash of my FRDM-64F. Using the fsl_flash KSDK 1.2.
I created the memory areas:

In execution of the erase flash operation. The FRDM-64F does not work anymore. Lost communication and does not accept the writing of new hardware:

The RESET LED is slightly access (apparently oscillating) and when you press the reset button it lights normally:


The event happened during debbug program in this passage:
result = flash_app_EraseSector (flash_app_destAdrss(1,&flash1_InitConfigAlarme),1,&flash1_InitConfigAlarme);
The function is:
uint32_t flash_app_EraseSector (uint32_t destAdrss, unsigned char qtdeSetor, FLASH_SSD_CONFIG *FlashBlk){
uint32_t result;
if(!qtdeSetor) qtdeSetor = 1; // Se for 0 ou não existir, assume 1.
INT_SYS_DisableIRQGlobal();
//result = FlashEraseSector(&flash1_InitConfig0, destAdrss, qtdeSetor * FTFx_PSECTOR_SIZE, g_FlashLaunchCommand);
result = FlashEraseSector(FlashBlk, destAdrss, qtdeSetor * FTFx_PSECTOR_SIZE, g_FlashLaunchCommand);
INT_SYS_EnableIRQGlobal();
return result;
}
What happened?
How to get back to normal?
Thank you and I hope me someone help me.
Juandres M. Lazaro