AnsweredAssumed Answered

Why I erase the PFLASH system reset, I have disabled the interrupt.

Question asked by 鹏 全 on Jul 11, 2018
Latest reply on Jul 12, 2018 by Daniel Martynek

/* Erase the sixth PFlash sector */
address = 18u * FEATURE_FLS_PF_BLOCK_SECTOR_SIZE;
size = FEATURE_FLS_PF_BLOCK_SECTOR_SIZE;
INT_SYS_DisableIRQGlobal();
ret = FLASH_DRV_EraseSector(&flashSSDConfig, address, size);
INT_SYS_EnableIRQGlobal();

Outcomes