Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN2244 Datasheet(PDF) 7 Page - STMicroelectronics

Part # AN2244
Description  The ST10F27x MCUs provide 0.18關m embedded true Flash technology
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2244 Datasheet(HTML) 7 Page - STMicroelectronics

Back Button AN2244 Datasheet HTML 3Page - STMicroelectronics AN2244 Datasheet HTML 4Page - STMicroelectronics AN2244 Datasheet HTML 5Page - STMicroelectronics AN2244 Datasheet HTML 6Page - STMicroelectronics AN2244 Datasheet HTML 7Page - STMicroelectronics AN2244 Datasheet HTML 8Page - STMicroelectronics AN2244 Datasheet HTML 9Page - STMicroelectronics AN2244 Datasheet HTML 10Page - STMicroelectronics AN2244 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 17 page
background image
AN2244
3 Application example: EEPROM emulation using ST10F27x Flash library
7/17
Figure 2.
Variable transfer when sector 1 is full
After the transfer of all variables is complete, sector 1 is erased.
Variables are then stored and updated in sector 2 in the same way described for sector 1.
When there is not enough memory space left for one of these variables in sector 2, we
switch back to sector 1 (now empty) in the same way and so on.
3.3
ST10F27x embedded Flash vs. EEPROM: program/erase
cycles
One program/erase cycle is composed of one or several write accesses and one sector
erase operation.
When 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 Flash is used, the minimum erase size is a sector and the number of
Program/Erase cycles applied to a sector is the number of erase cycles. The ST10F27x
electrical characteristics guarantee 100,000 Program/Erase cycles per sector.
In our example, two 8 kbyte sectors are used and programming is done with 32-bit words.
If we consider that the memory space allocated to variable A is always filled up before
spaces allocated to variables B and C, the expected number of erase cycles is driven by
variable A. As 4092 bytes are allocated to A, it can be updated 1023 times before switching
and erasing sectors. Two sectors are used that can be erased 100,000 times so the total
number of cycles we can expect for A is: 1023 x 2 x 100,000 = 204,600,000 cycles.
The number of cycles (common to all variables) is the number of cycles taken for the 1st
variable to fill all of its allocated memory space (variable A in our example).
A( t0 )
A(t0 + tA)
A(t0 + 2 * tA)
A(t0 + 3 * tA)
A(t0 + n * tA)
.......
.......
.......
sector 1 header
sector 2 header
B( t1 )
B(t1 + tB)
B(t1 + 2 * tB)
B(t1 + 3 * tB)
C( t2 )
C(t2 + tC)
sector 1
sector 2
B(t1 + m * tB)
C(t2 + tC)
A(t0 + (n + 1 ) * tA)
store
x(t0 + (n + 1) * tx)
but there isn’t enough
memory space allocated
for variable A
.......
.......
.......
B(t1 + m * tB)
.......
.......
0x2000
0x2004
0x3FFF
0x2008
0x200C
0x2010
0x2014
0x3004
0x3008
0x300C
0x3000
0x3010
0x3FEC
0x3FF0
0x4000
0x5FFF
0x5FEC
0x5000



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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