AnsweredAssumed Answered

Find corruption on internal Flash MK22FX512VLH12

Question asked by Oliver Schmid on May 9, 2016
Latest reply on May 10, 2016 by Oliver Schmid

Hi community.


I must write data on the internal flash, without disable the interrupts.

But I found this:

         Interruption of an erase or program command can lead to corruption of the flash contents. Interruptions could include

         reset, loss of power, or a conflict with code running on processor.


My problem is, when I read the corrupt data from internal flash, I get a Bus Error.

Is there a way to find corrupt data on the internal flash or a way that no corruption accures?