Skip to main content
Associate
December 20, 2024
Solved

M95M01-A125 EEPROM data corruption by power cut off

  • December 20, 2024
  • 2 replies
  • 772 views

Dear Sir

 

We use M95M01-DWDW3TP/K EEPROM in device to store log data

If power is cut off during its write cycle,  the data in writing address will become corrupted as I known.

In other hand, will other data, which was successfully written in other address, become correpted? 

What I am concerned about is the impact to other existing data, when power cut off in the data writing process

 

For an expample, there are "address A" (successfully written) , "address B" (will written log data in it), "address C".(successfully written) .

If power was cut off when writing data into address B, is the content in address A and C corrupted too or not?   

 

Waiting for your reply

Regards

 

Best answer by Andrew Neil

@SHiroshi19 wrote:

In other hand, will other data, which was successfully written in other address, become correpted? 


No.

But that doesn't account for misbehaviour of your software if you let it access the memory during a power failure...

So your system design should ensure that this can never happen:

  • Have power-fail/brown-out detection;
  • Ensure sufficient backup capacity to complete any ongoing memory access;
  • Block memory access once done;
  • etc, etc, ...

2 replies

Andrew Neil
Andrew NeilBest answer
Super User
December 20, 2024

@SHiroshi19 wrote:

In other hand, will other data, which was successfully written in other address, become correpted? 


No.

But that doesn't account for misbehaviour of your software if you let it access the memory during a power failure...

So your system design should ensure that this can never happen:

  • Have power-fail/brown-out detection;
  • Ensure sufficient backup capacity to complete any ongoing memory access;
  • Block memory access once done;
  • etc, etc, ...
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate
January 6, 2025

Dear Neil 

I got it.

Thank you for your reply and adivice.

 

Roger SHIVELY
ST Employee
December 20, 2024

Hello @SHiroshi19 ,

 

This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

 

Regards,

Roger