Hello lukaszadrapa,jirikral and danielmartynek,
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 ! :smileyhappy:
Hello Nitin,
Unfortunately, this is not possible.
The smallest portion of D-Flash that can be erased is the 2K sector.
Regards,
Daniel
:smileysad:. Anyways thanks a lot Daniel for your prompt response.