AnsweredAssumed Answered

S32K144 FLASH

Question asked by Ravi Ranjan Kumar on Sep 8, 2017
Latest reply on Oct 11, 2017 by Ravi Ranjan Kumar

Hi,

I am working on S32K144  Flash Memory. I want to do partition for 4KB EEPROM and 64KB backup. While partition when I am writing 1 to clear CCIF and again wating  for 1 to complete the process, in while loop it is going to reset handler but when I am debugging step by step then it is not going to reset handler. I am not able to understand.

 

/* Clear CCIF to launch command */
p_stgFTFCRegAccess->FTFC_FSTAT |= FTFC_FSTAT_CCIF_MSK;

while (0U == (p_stgFTFCRegAccess->FTFC_FSTAT & FTFC_FSTAT_CCIF_MSK));

 

Please help.

 

 

Thanks and regard,

Ravi Ranjan Kumar

Outcomes