поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN2540 датащи(PDF) 17 Page - STMicroelectronics

номер детали AN2540
подробное описание детали  EEPROM emulation in STR91xFxx devices
PDF  25 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2540 датащи(HTML) 17 Page - STMicroelectronics

Back Button AN2540 Datasheet HTML 13Page - STMicroelectronics AN2540 Datasheet HTML 14Page - STMicroelectronics AN2540 Datasheet HTML 15Page - STMicroelectronics AN2540 Datasheet HTML 16Page - STMicroelectronics AN2540 Datasheet HTML 17Page - STMicroelectronics AN2540 Datasheet HTML 18Page - STMicroelectronics AN2540 Datasheet HTML 19Page - STMicroelectronics AN2540 Datasheet HTML 20Page - STMicroelectronics AN2540 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 25 page
background image
AN2540 - Application note
Implementing the EEPROM emulation
17/25
Figure 7.
2nd method: WriteVariable flowchart
3.3.2.1 Key features of the 2nd method
– User-configured emulated EEPROM size.
– Increased Flash memory endurance: Sector erased only once it is full.
– Non-volatile data variables can be updated infrequently
– No need to perform a write operation if the updated value is the same.
– Interrupt servicing during program/erase is possible.
3.4
Program execution
Independently of the implementation scheme, the STR91xFxx internal Flash memory offers
the ability to update a bank while code is executed from the other bank. Therefore, there is
no need to transfer Flash memory operations (Program/Erase) to RAM. However when the
CPU frequency is higher then 25 MHZ it is recommended to copy some routines into RAM
This means that before erasing and programming, a few software routines have to be copied
from the Flash memory into the on-chip RAM. Should be copied at least the routines used
for the erase and program operations, and the routines that run while the erase or program
operation is ongoing.
Add element request
full
current active
sector
Add new element at
the 1st empty element
place in the current
active sector
Erase previous active sector
End
End
Change the active sector
Find Valid sector
Yes
No
FindValidSector()
WriteVerifyVariableFull()
Copy all current elements by
reading the active sector
from the bottom, taking
into account the new
updated element.
EepromSectorTransfer()
ReadVariable()
Function call
ai14091
Check
value
same
different
End



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


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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