Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4276 Datasheet(PDF) 17 Page - STMicroelectronics

Part # AN4276
Description  ECC management on SPC560x
PDF  21 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4276 Datasheet(HTML) 17 Page - STMicroelectronics

Back Button AN4276 Datasheet HTML 13Page - STMicroelectronics AN4276 Datasheet HTML 14Page - STMicroelectronics AN4276 Datasheet HTML 15Page - STMicroelectronics AN4276 Datasheet HTML 16Page - STMicroelectronics AN4276 Datasheet HTML 17Page - STMicroelectronics AN4276 Datasheet HTML 18Page - STMicroelectronics AN4276 Datasheet HTML 19Page - STMicroelectronics AN4276 Datasheet HTML 20Page - STMicroelectronics AN4276 Datasheet HTML 21Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 17 / 21 page
background image
DocID024408 Rev 2
17/21
AN4276
Application software notes
5.3.1
Check ECC immediately after each read access
Figure 9. Example of Immediate ECC check during read function
Advantage
Recognition of corrupted data in the Flash memory is immediate after the first read access.
It can help to decrease time in the case where a lot of memory words are corrupted, like
power drop during sector erase operation.
Disadvantage
ECC check needs some processing time for each read access. This increases processing
time of read operation in general.
5.3.2
Check ECC after whole data buffer is read
Figure 10. Example of ECC check after whole buffer is read
Advantage
Standard read buffer operation is not delayed with ECC check after each read access. This
gives the standard performance in case of good memory sector.
ReadBuffer ()
error = 0;
for (i=0; i < length ; ++i)
{
buffer [i] = *( mem_ptr + i);
if (MCR.EER == 1)
{
error
= 1;
break ;
}
}
if (error )
{
DoErrorAction ();
end funciton ;
}
...
IVOR 2 Handler
if (ECSM.FNCE)
{
if (DataFlash
== TRUE)
{
SRR 0 <= change to next instruction
;
return from Handler
;
}
}
1x time
ReadBuffer ()
error = 0;
for (i=0; i < length ; ++i)
{
buffer [i] = *( mem_ptr + i);
}
if (MCR.EER)
{
DoErrorAction ();
end funciton ;
}
...
IVOR 2 Handler
if (ECSM.FNCE)
{
if (DataFlash
== TRUE)
{
SRR 0 <= change to next instruction
;
return from Handler
;
}
}
i times



Html Pages

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


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