数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN2540 数据表(PDF) 21 Page - STMicroelectronics

部件名 AN2540
功能描述  EEPROM emulation in STR91xFxx devices
PDF  25 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2540 数据表(HTML) 21 Page - STMicroelectronics

Back Button AN2540 Datasheet HTML 17Page - STMicroelectronics AN2540 Datasheet HTML 18Page - STMicroelectronics AN2540 Datasheet HTML 19Page - STMicroelectronics AN2540 Datasheet HTML 20Page - STMicroelectronics AN2540 Datasheet HTML 21Page - STMicroelectronics AN2540 Datasheet HTML 22Page - STMicroelectronics AN2540 Datasheet HTML 23Page - STMicroelectronics AN2540 Datasheet HTML 24Page - STMicroelectronics AN2540 Datasheet HTML 25Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 21 / 25 page
background image
AN2540 - Application note
Embedded application aspects
21/25
4.4
Emulated EEPROM parameters
4.4.1
Program/Erase parameter cycling
One program/erase cycle consists of one or more write accesses and one sector erase
operation.
When the EEPROM technology is used, each byte can be programmed and erased a finite
number of times, typically in the range of 10 000 to 100 000.
However, when the Flash memory is used, the minimum erase size is the sector and the
number of Program/Erase cycles applied to a sector is the number of erase cycles. The
STR91xFxx electrical characteristics guarantee 100 000 Program/Erase cycles per sector.
Generally the maximum life of the EEPROM is thereby limited to the update rate of the most
frequently written parameter.
In the 1st scheme application example, two sectors of 8 Kbytes are used and programming
is done on a 16-bit half-word basis. If we consider that the memory space allocated to
variable C is always filled before the memory spaces allocated to variables A and B, the
expected number of erase cycles depends on variable C. As 6896 bytes are allocated to C,
the variable can be updated 3448 times before it is switched to the other sector and the first
sector is erased. Two sectors are used that can be erased 100 000 times so the total
number of cycles we can expect for C is:
3448 × 2 × 100 000 = 689 600 000 cycles.
Table 8.
Status combinations and actions to be taken
Sector 1
Sector 0
ERASED
RECEIVE_DATA
VALID_DATA
TRANSFER
COMPLETE
ERASED
Invalid state so
erase both
sectors and
format sector 0
Invalid state so
erase both
sectors and
format sector 0
Use sector 0 as
valid sector and
erase sector 1
Invalid state: erase
both sectors and
format sector 0
RECEIVE_DATA
Invalid state:
erase both
sectors and
format sector 0
Invalid state:
erase both
sectors and
format sector 0
Use sector 0 as
valid sector &
erase sector1 &
transfer data from
sector0 to sector1
Use sector 1 as valid
sector & erase sector 0
VALID_DATA
Use sector 1 as
valid sector and
erase sector 0
Use sector 1 as
valid sector &
erase sector 0 &
transfer data from
sector1 to sector0
Invalid state:
erase both sectors
and format
sector0
Use sector 1 as valid
sector and erase
sector 0
TRANSFER
COMPLETE
Invalid state:
erase both
sectors and
format sector 0
Use sector 0 as
valid sector and
erase sector 1
Use sector 0 as
valid sector and
erase sector 1
Invalid state: erase
both sectors and
format sector 0



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com