Skip to main content
Associate
Dec 20, 2024 4:50 AM UTC
Solved

M95M01-A125 EEPROM data corruption by power cut off

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

 

This topic has been closed for replies.
Andrew Neil
Andrew NeilBest answer
Super User
Dec 20, 2024 10:44 AM UTC

@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.

3 replies

Andrew Neil
Andrew NeilBest answer
Super User
Dec 20, 2024 10:44 AM UTC

@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
Jan 6, 2025 11:37 PM UTC

Dear Neil 

I got it.

Thank you for your reply and adivice.

 

Roger SHIVELY
ST Employee
Dec 20, 2024 10:21 PM UTC

Hello @SHiroshi19 ,

 

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

 

Regards,

Roger