AnsweredAssumed Answered

Can I erase a Phrase (8-byte/64-bit) before program (write) phrase operation for Data Flash in S32K144 ?

Question asked by Nitin verma on Jul 12, 2018
Latest reply on Jul 12, 2018 by Nitin verma

Hello Lukas Zadrapa,Jiri Kral and Daniel Martynek,

 

I would like to inform that I am using entire FlexNVM as Data Flash in S32K144 freedom board. I have a application to write only 8-byte in DFlash whenever it's required. For that, I need to erase only 8-byte before write operation. I can write required 8-byte with 'Program Phrase' command available in Flash Driver however I did not find any relative 'Erase Phrase' command for 8-byte erase operation. 'Erase Flash Sector' command does not allow to erase lesser than 2 KB and 'Erase Flash Block' command is erasing entire DFlash of 64 KB.

 

Please let me know if it's possible to erase 8-byte only at a time and also if I am not doing it correctly.

 

Thank You !

Outcomes