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

X  

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

Back Button 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 AN2540 Datasheet HTML 10Page - STMicroelectronics AN2540 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 25 page
background image
AN2540 - Application note
Appropriate solution for Emulated EEPROM in the STR91xFxx
7/25
2
Appropriate solution for Emulated EEPROM in the
STR91xFxx
The STR91xFxx microcontrollers support the hardware and software architecture necessary
to emulate EEPROM memory using the on-chip Flash memory.
2.1
STR91xFxx on-chip Flash memory features
■ The STR91x internal Flash memory consists of two banks: Main Flash memory (Bank 0)
and Secondary Flash memory (Bank 1). The Main Flash memory is up to 512 Kbytes in
size and includes up to eight 64-Kbyte sectors. The Secondary Flash memory is 32
Kbytes in size and consists of four 8-Kbyte sectors, it can be useful for the wear-leveling
feature (refer to Section 4.2).
■ One of the STR9 embedded Flash memory features is Read-while-Write (RWW) Dual
Bank operations. This means that the Main Flash memory (Bank0) can be used for code
storage and the smaller Secondary Flash memory, for data storage (EEPROM
emulation).
■ The Flash memory can be erased on a sector or bank basis, and programmed on a 16-
bit half-word basis.
■ Each bank can be programmed and erased over 100 000 cycles.
■ 20-year data retention.
■ Each sector can be individually protected and unprotected against program and erase
operations.
■ As the Flash memory has a shorter write access time, critical parameters can be stored
faster in the emulated EEPROM than in an external serial EEPROM.
■ Interrupt servicing during program/erase is possible.
■ CPU program does not need to be copied into RAM during program/erase: RAM less used
to perform EEPROM emulation.
■ Program/Erase Suspend and Resume commands supported. That is, Flash memory
sector erase may be suspended while data is read from other sectors in the same Flash
memory bank, and then resumed after reading.
2.2
STR91xFxx Flash memory library
The Flash memory programming library is a set of optimized C routines. It contains all that is
needed to program the Flash memory embedded in STR9 devices.
The Flash memory library contains the following source files:
■ 91x_fmi.c, that contains the function codes
■ 91x_fmi.h, that contains the function prototypes
To use the functions provided by the Flash memory library, these two files must be added to
the project. With the STR9 software (SW) library (FMI driver) it is easy to implement the
EEPROM emulation software.



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