전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

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



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