Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4276 Datasheet(PDF) 18 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) 18 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
 18 / 21 page
background image
Application software notes
AN4276
18/21
DocID024408 Rev 2
Disadvantage
Any read access with ECC error generates low level exception that runs on background so
many times as there are items in the loop. It can have impact on time needed for initial read
of a sector with many corrupted cells.
5.3.3
Low level exception handler link to the driver ECC check
Figure 11. Example of Low level link to the driver ECC check
Advantage
In case of an ECC error during read access, code execution of Read function immediately
moves to ECC check part, which should find that the data are corrupted. There is the same
performance during errorless operation as well as with ECC errors.
Disadvantage
Because of using exported symbol in the low level exception handler, this symbol should be
unique in the whole application. It means that there is only one place in the application and
the driver that read from the Flash memory.
ReadBuffer ()
error = 0;
for (i=0; i < length ; ++i)
{
buffer [i] = *( mem_ptr + i);
}
ECC_check :
if (MCR.EER)
{
DoErrorAction ();
end funciton ;
}
...
IVOR 2 Handler
if (ECSM.FNCE)
{
if (DataFlash
== TRUE)
{
SRR 0 <= change address to ECC _check symbol ;
return from Handler
;
}
}
1x time



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