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

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

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

819 次查看
jia_xuan
Contributor I

/* 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();

0 项奖励
回复
1 回复

681 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Do you launch the erase flash command from RAM, D-Flash or from P-Flash block?

Allowed simultaneous memory operations are listed in Table 36-30, S32K1xx_RM_rev.7.

Regards,

Daniel

0 项奖励
回复