công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN2540 bảng dữ liệu(PDF) 11 Page - STMicroelectronics

tên linh kiện AN2540
Giải thích chi tiết về linh kiện  EEPROM emulation in STR91xFxx devices
PDF  25 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2540 bảng dữ liệu(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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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