Hi,
I am working on s32k144 D-Flash memory and I am trying to write and read the data from D-Flash memory. The data is properly written to the D-Flash memory and I checked the same thing in memory window, but while reading the data after the s32k144 board restarts, either the values read are zero/nan. Please help if any settings need to be done to preserve the data after board restarts. I am unable to achieve it.
Thanks.
Paneri Shah.
Hi Paneri,
The DFlash can't read all 0s unless it is programmed to all 0s by the FTFC Program Phrase command.
Erased DFlash reads all 1s.
Can you please share the project or elaborate on the description?
Regards,
Daniel
Hi Daniel.
Thanks
Paneri
Hi Paneri,
I have difficulties to explain it.
Does the code check whether the DFlash phrases are erased before they are programmed?
If you want to attach a PE Micro debugger to a running MCU, please use the attach option:
Regards,
Daniel
Thanks Daniel for the reply,
I am using the PE Micro Debugger for code flashing but after restart the flash data is getting erased, I will test it by enabling the "attach to running target" option and respond you back.
Thanks & Regards.
Paneri.