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

X  

AN2540 데이터시트(PDF) 11 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) 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


데이터시트 다운로드

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