2964 views|26 replies

3255

Posts

0

Resources
The OP
 

EEPROM erase frequency [Copy link]

 

EEPROM erase frequency

How to understand the EEPROM erase frequency? How to choose EEPROM or flash based on the erase frequency? For example, the following case

Data is collected every 100ms, and 20 bytes are stored per second (the actual use of clearing the data stored in the EEPROM is to clear it three times a week. Is this also a kind of erase and write frequency?) In this application scenario, should we use an external EEPROM or the MCU's flash? Using flash can save costs! After all, the price of 128Kbit & SOT23-5 packaged EEPROM is a bit expensive! And we can't find domestic ones! Delivery time is also a problem. Currently, only Microchip in the United States has it!

This post is from Discrete Device

Latest reply

Indeed, some minor issues can be completely ignored, and we must have a big picture view!   Details Published on 2023-1-13 10:14
 
 

6841

Posts

11

Resources
2
 
About 100,000 times, you can slowly calculate, it is not a very important place, you can cache it and then write it together.
This post is from Discrete Device
 
 
 

4771

Posts

12

Resources
3
 

Divide the theoretical lifespan by the frequency of your erases to see how long it can last.

This post is from Discrete Device

Comments

For example, if the lifespan is 100,000 times, how many years can it be used?  Details Published on 2022-11-14 16:10
 
 
 

6788

Posts

2

Resources
4
 

Is there a parameter for erase frequency? Generally, it should be the number of erases.

This post is from Discrete Device

Comments

How to calculate the number of erases and writes here?  Details Published on 2022-11-14 16:10
 
 
 

2w

Posts

341

Resources
5
 

The question is about "EEPROM erase frequency" What do you want to ask?

Are you worried that the EEPROM erase and write frequency will affect the lifespan? In practice, the EEPROM data is cleared three times a week, which is a very low frequency.

The lifespan of flash is generally hundreds of thousands of times of erasure and rewriting, while that of eeprom is generally more than millions of times.

Don't think about life span at all.

This post is from Discrete Device

Comments

I don't understand how the frequency of this erase is calculated.  Details Published on 2022-11-14 16:09
 
 
 

2w

Posts

341

Resources
6
 

Or should I use an external EEPROM or the MCU's flash?
The storage units of the two are different.
The flash circuit structure is simpler. Compared with EEPROM, the same capacity occupies a smaller chip area, so the cost is naturally higher than EEPROM.

Also, is there no problem with the delivery date of American Microchip now?

This post is from Discrete Device
 
 
 

539

Posts

1

Resources
7
 
If you keep erasing and writing, it may become useless in a short time. This is not RAM that can be messed with all the time.
This post is from Discrete Device
 
 
 

3255

Posts

0

Resources
8
 
How to understand the EEPROM erase frequency? Who can guide me on this?
This post is from Discrete Device
 
 
 

3255

Posts

0

Resources
9
 
qwqwqw2088 posted on 2022-11-10 09:29 The topic is about "EEPROM erase frequency". I want to ask why you are worried that the EEPROM erase frequency will affect its lifespan? In actual use, clear the EEPROM storage...

I don't understand how the frequency of this erase is calculated.

This post is from Discrete Device
 
 
 

3255

Posts

0

Resources
10
 
wangerxian posted on 2022-11-10 09:24 Is there such a parameter for erase frequency? Generally it should be the number of erases.

How to calculate the number of erases and writes here?

This post is from Discrete Device

Comments

[The actual usage of clearing the EEPROM stored data is three times a week], 13 times a month, 156 times a year. 100,000 times can be used for 641 years.  Details Published on 2022-11-14 16:24
 
 
 

3255

Posts

0

Resources
11
 
Azuma Simeng published on 2022-11-10 06:35 Divide the theoretical lifespan by the frequency of your erasures to see how long it can last

For example, if the lifespan is 100,000 times, how many years can it be used?

This post is from Discrete Device
 
 
 

3255

Posts

0

Resources
12
 
Data is collected every 100ms, 20 bytes are stored per second, and the EEPROM data is cleared three times a week. Which is the number of erase and write times? How many years can a lifespan of 100,000 times last?
This post is from Discrete Device

Comments

Filling up the file with all contents and then erasing it all counts as one time.  Details Published on 2022-11-14 16:25
 
 
 

6788

Posts

2

Resources
13
 
QWE4562009 posted on 2022-11-14 16:10 How is the number of erases calculated here

[The actual usage of clearing the EEPROM stored data is three times a week], 13 times a month, 156 times a year. 100,000 times can be used for 641 years.

This post is from Discrete Device

Comments

Flash is erased in blocks. Is it the bit line or the word line? I don't know. It can be erased 100,000 times, with a guaranteed 30% discount. If you calculate how many years it will take for 70,000 times, it will take at least 10 years.  Details Published on 2022-11-14 18:16
 
 
 

6788

Posts

2

Resources
14
 
QWE4562009 Published on 2022-11-14 16:15 Collect data every 100ms, store 20 bytes per second and clear the EEPROM stored data three times a week, which one is the number of erase and write times? ? 100,000...

Filling up the file with all contents and then erasing it all counts as one time.

This post is from Discrete Device

Comments

So this is three times a week?  Details Published on 2022-11-28 16:25
 
 
 

4771

Posts

12

Resources
15
 
QWE4562009 Published on 2022-11-14 16:10 How is the number of erases and writes calculated here?
[The actual use of clearing the EEPROM stored data is three times a week], 13 times a month, 156 times a year. 100,000 times can be used for 641 years.

Flash is erased in blocks. Is it the bit line or the word line? I don't know. It can be erased 100,000 times, with a guaranteed 30% discount. If you calculate how many years it will take for 70,000 times, it will take at least 10 years.

This post is from Discrete Device
 
 
 

7462

Posts

2

Resources
16
 

Refer to the device manual, they give conservative data.

This post is from Discrete Device
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

6069

Posts

4

Resources
17
 
This post was last edited by damiaa on 2022-11-23 15:58

14400 times a day 288000 bytes

2,016,000 bytes per week

One week divided by three 672,000 bytes

Three times a week for 10 years is 1560 times.

The space required is very large. Check out the SPI flash plug-in.

A 2M byte W25Q16 costs about 2 yuan. If you want a CPU with 2M flash, it will be very expensive. Do you really think that CPU flash is cheap?

This post is from Discrete Device

Comments

Data is collected every 100ms, 20 bytes are stored per second, and the EEPROM data is cleared three times a week. Which one is the number of erases and writes? How many years can a lifespan of 100,000 times last? Should it be calculated based on three times a week? After all, only one erase counts.  Details Published on 2022-11-28 16:27
 
 
 

6069

Posts

4

Resources
18
 
QWE4562009 posted on 2022-11-14 16:08 How to understand the EEPROM erase and write frequency? Who can guide this work?

It's the number of erase and write times. If you use it too much, it's useless.

This post is from Discrete Device
 
 
 

3255

Posts

0

Resources
19
 
wangerxian posted on 2022-11-14 16:25 Fill up all the content and then erase it all, which counts as one time.

So this is three times a week?

This post is from Discrete Device

Comments

Yes, so three times a week, it can be used for a long time.  Details Published on 2022-11-28 18:50
 
 
 

3255

Posts

0

Resources
20
 
damiaa posted on 2022-11-23 15:41 14400 times a day 288000 bytes a week 2,016,000 bytes a week divided by three 672,000 bytes ...

Data is collected every 100ms, 20 bytes are stored per second, and the EEPROM data is cleared three times a week. Which is the number of erase and write times? How many years can a lifespan of 100,000 times last?

Should it be counted as three times a week? After all, erasing once only counts as one.

This post is from Discrete Device
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list