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

X  

AN2540 数据表(PDF) 2 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) 2 Page - STMicroelectronics

  AN2540 Datasheet HTML 1Page - STMicroelectronics AN2540 Datasheet HTML 2Page - STMicroelectronics AN2540 Datasheet HTML 3Page - STMicroelectronics AN2540 Datasheet HTML 4Page - STMicroelectronics AN2540 Datasheet HTML 5Page - STMicroelectronics AN2540 Datasheet HTML 6Page - STMicroelectronics AN2540 Datasheet HTML 7Page - STMicroelectronics AN2540 Datasheet HTML 8Page - STMicroelectronics AN2540 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 2 / 25 page
background image
Contents
AN2540 - Application note
2/25
Contents
1
Embedded Flash memory vs. EEPROM: main differences . . . . . . . . . . 5
1.1
Difference in write access time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2
Difference in writing method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3
Difference in erase time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2
Appropriate solution for Emulated EEPROM in the STR91xFxx . . . . . . 7
2.1
STR91xFxx on-chip Flash memory features . . . . . . . . . . . . . . . . . . . . . . . 7
2.2
STR91xFxx Flash memory library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3
Implementing the EEPROM emulation . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.1
Principle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2
1st method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2.1
Application example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2.2
EEPROM software description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.3
2nd method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3.1
Application example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3.2
EEPROM software description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.4
Program execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4
Embedded application aspects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1
Data granularity management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1.1
Programming on a word-by-word basis . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1.2
Programming on a byte-by-byte basis . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.2
Wear-leveling: Flash endurance improvement . . . . . . . . . . . . . . . . . . . . . 19
4.2.1
Application example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.3
Sector header recovery in case of power loss . . . . . . . . . . . . . . . . . . . . . 20
4.4
Emulated EEPROM parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.4.1
Program/Erase parameter cycling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.4.2
Program timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5
Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24



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