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

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

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

1,106 Views
nitinverma
Contributor III

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:

Labels (1)
0 Kudos
2 Replies

896 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Nitin,

Unfortunately, this is not possible.

The smallest portion of D-Flash that can be erased is the 2K sector.

Regards,

Daniel

0 Kudos

896 Views
nitinverma
Contributor III

:smileysad:. Anyways thanks a lot Daniel for your prompt response.

0 Kudos