AnsweredAssumed Answered

FRDM -F64K Flash over-write from 1 to 0

Question asked by sandeep Kamath on Jul 4, 2016
Latest reply on Jul 4, 2016 by Butcher


Hi,

I am facing a strange problem while writing the contents into Flash of MK64FN1M0VLL12

 

I can erase, write and read block wise data(8 bytes) easily from the flash. But if i want to overwrite the bit from 1 to 0 without erasing, i face a strange problem.

(I know that writing  0 to 0 over stresses memory. But 1 to 0 can be easily over written without erasing as per the datasheet)

 

Here is one example:

case1:

Suppose i have already written this block of data in memory 0x000ed000

0              3 4          7

B8400D03 00000000

Now if i overwrite the value with 7FFFFFFF FFFFFFFF , the data will be written without any problem

38400D03 00000000

 

case2:

Suppose i have already written this block of data in memory 0x000ed000

0              3 4          7

B0400D03 00000000

Now if i overwrite the value with 7FFFFFFF FFFFFFFF , i will encounter a hard reset.

 

case3:

Suppose i have already written this block of data in memory 0x000ed000

0              3 4          7

C8400D03 00000000

Now if i overwrite the value with 7FFFFFFF FFFFFFFF , i will encounter a hard reset

 

case4:

Suppose i have already written this block of data in memory 0x000ed000

0              3 4          7

D8400D03 00000000

Now if i overwrite the value with 7FFFFFFF FFFFFFFF , the data will be written without any problem

58400D03 00000000

 

Looks like there is a pattern for this while over writing into the memory. Strange!!

Can anyone help me with this.

 

Thanks in advance!

 

Best Regards,

Sandeep

Outcomes