Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

AN2540 Scheda tecnica(PDF) 11 Page - STMicroelectronics

Il numero della parte AN2540
Spiegazioni elettronici  EEPROM emulation in STR91xFxx devices
PDF  25 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2540 Scheda tecnica(HTML) 11 Page - STMicroelectronics

Back Button 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 AN2540 Datasheet HTML 12Page - STMicroelectronics AN2540 Datasheet HTML 13Page - STMicroelectronics AN2540 Datasheet HTML 14Page - STMicroelectronics AN2540 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 25 page
background image
AN2540 - Application note
Implementing the EEPROM emulation
11/25
Figure 3.
Sector swap scheme: Sector0 erased
3.2.2
EEPROM software description
This section describes the driver implemented for EEPROM emulation using the
STR91xFxx Flash library provided by STMicroelectronics.
A demonstration program is also supplied to demonstrate and test the EEPROM Emulation
driver using the three variables A, B and C already defined.
The project contains three source files in addition to the FMI library source files:
●
eeprom.c: containing C code for the following routines:
EepromFormat()
WriteVariable()
ReadVariable()
FindValidSector()
WriteVerifyVariableFull()
EepromSectorTransfer()
●
eeprom.h: Containing the routines’ prototypes and some declarations.
●
main.c: This application program is an example using the routines described in
eeprom.c.
A(t) values
B(t) values
C(t) values
0x0000 0000
0x0000 1FFF
A(t0)
B(t0)
C(t0)
Sector0 Erased
Sector1 Header
A(t) values
B(t) values
C(t) values
0x0000 2000
0x0000 3FFF
Sector1
Update
Update
Update
Sector swap
(Erase one when using the other)
A(t0 + tA)
A(t0 + n × tA)
B(t0 + m × tB)
C(t0 + p × tC)
Sector0 Header
0
A(t
+ (n + 1) × tA)
B(t0 + m × tB)
0
C(t + p × tC)
ai14087



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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