| Moteur de recherche de fiches techniques de composants électroniques |
|
AN2540 Fiches technique(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2540 Fiches technique(HTML) 20 Page - STMicroelectronics |
|
20 / 25 page ![]() Embedded application aspects AN2540 - Application note 20/25 Figure 9. Sector swap scheme with four sectors The previous algorithm can be implemented in the FindValidSector(...) function. 4.3 Sector header recovery in case of power loss Data or sector header corruption is possible in case of a power loss during a variable update, a sector erase or a transfer. To detect this corruption and recover it, an initialization routine should be called immediately after power-up. After power loss, this routine is used to check the sector header status and to perform repair if necessary. There are 16 possible status combinations, half of which are invalid. The following table shows the actions that should be taken based on the sector states upon power-up. 12 32 DD AA FF FF FF FF FF FF FF FF FF FF Active sector FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Erased Erased Erased Sector0 Sector1 Sector2 Sector3 ai14092 |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants All Rights Reserved©Alldatasheet.com |
| 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 |