Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2244 Datasheet(PDF) 14 Page - STMicroelectronics

Part # AN2244
Description  The ST10F27x MCUs provide 0.18關m embedded true Flash technology
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2244 Datasheet(HTML) 14 Page - STMicroelectronics

Back Button AN2244 Datasheet HTML 9Page - STMicroelectronics AN2244 Datasheet HTML 10Page - STMicroelectronics AN2244 Datasheet HTML 11Page - STMicroelectronics AN2244 Datasheet HTML 12Page - STMicroelectronics AN2244 Datasheet HTML 13Page - STMicroelectronics AN2244 Datasheet HTML 14Page - STMicroelectronics AN2244 Datasheet HTML 15Page - STMicroelectronics AN2244 Datasheet HTML 16Page - STMicroelectronics AN2244 Datasheet HTML 17Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 14 / 17 page
background image
4 Software limitations
AN2244
14/17
4
Software limitations
Data or sector headers corruption is possible in the case of power loss during variables
update or sectors erase or transfer.
To detect this corruption and recover it, a routine EEPROM_INIT( ) must be written and
called immediately after power on.
This routine is not implemented in this version of this application note. This section is limited
to the description of its principle.
The routine must use the sector status to check integrity and to perform repair if necessary.
After power loss, the EEPROM_INIT( ) routine is used to check sector header status. There
are 16 possible status combinations, half of which are invalid. The following table shows the
actions that should be taken based on the sectors states upon power up.
Table 1.
Status combinations and actions to be taken
ERASED
RECEIVE_DATA
VALID_DATA
TRANSFER
COMPLETE
ERASED
Invalid state: erase
both sectors and
format sector 1
Invalid state: erase
both sectors and
format sector 1
Use sector 1 as
valid sector and
erase
sector 2
Invalid state:
erase both sectors
and format sector 1
RECEIVE_DATA
Invalid state: erase
both sectors and
format sector 1
Invalid state: erase
both sectors and
format sector 1
Use sector 1 as
valid sector and
erase sector 2 and
transfer data from 1
to 2
Use sector 2 as
valid sector and
erase sector 1
VALID_DATA
Use sector 2 as
valid sector and
erase sector 1
Use sector 2 as
valid sector and
erase sector 1 and
transfer data from 2
to 1
Invalid state:
erase both sectors
and format sector 1
Use sector 2 as
valid sector and
erase sector 1
TRANSFER
COMPLETE
Invalid state: erase
both sectors and
format sector 1
Use sector 1 as
valid sector and
erase
sector 2
Use sector 1 as
valid sector and
erase
sector 2
Invalid state:
erase both sectors
and format sector 1
Sector 1
Sector 2



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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