Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

AN2540 Fiches technique(PDF) 7 Page - STMicroelectronics

No de pièce AN2540
Description  EEPROM emulation in STR91xFxx devices
PDF  25 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  STMICROELECTRONICS [STMicroelectronics]
Site Internet  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2540 Fiches technique(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


Fiches technique Télécharger

Go To PDF Page


Lien URL



ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Lien vers la fiche technique    |   Echange de liens   |   Fabricants
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