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

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

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

717 Views
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 Kudos
1 Reply

579 Views
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 Kudos