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

X  

AN2540 датащи(PDF) 14 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) 14 Page - STMicroelectronics

Back Button 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 AN2540 Datasheet HTML 16Page - STMicroelectronics AN2540 Datasheet HTML 17Page - STMicroelectronics AN2540 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 25 page
background image
Implementing the EEPROM emulation
AN2540 - Application note
14/25
At the beginning, the function determines the active sector which is the sector to be
transferred from. The new sector header field is defined and written (new sector status is
RECEIVE_DATA given that it is in the process of receiving data). When the data transfer is
complete, the new sector header is marked VALID_SECTOR and the old one
TRANSFER_COMPLETE. At the end, the old sector is erased.
3.2.2.2 Key features of the 1st method
– User-configured emulated EEPROM size.
– The number of Flash program/erase cycles used can be minimized by permanently
allocating a large memory space to the most frequently updated non-volatile data
variables.
– ReadVariable and WriteVariable functions to access variables.
– The whole available memory space is used to store data: no need for virtual
addresses.
– Fast read access to any variable since this simply implies going to the corresponding
allocated memory space.
– Interrupt servicing during program/erase is possible.
Table 7.
EepromSectorTransfer
Function Name
EepromSectorTransfer
Function Prototype
u8 EepromSectorTransfer(u8 index, u32 *T, u16 data);
Behavior Description
It transfers the most recent data (Last variable updates) plus the new
data from a full sector to an empty one.
Input Parameter
– index: variable identifier (0, 1, 2...)
– T: variable array
– data: 16-bit data to be written
Return Parameter
Returns 1 on success or error code on failure
Called functions
FindValidSector,FMI_WriteHalfWord, WriteVerifyVariableFull,
ReadVariable, FMI_EraseSector.



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