Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4276 Datasheet(PDF) 16 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) 16 Page - STMicroelectronics

Back Button AN4276 Datasheet HTML 12Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 21 page
background image
Application software notes
AN4276
16/21
DocID024408 Rev 2
Figure 8. OS exception handling with user hook
5.3
Flash memory drivers
Flash driver can easily find if data read from the memory are correct or there was a non-
correctable ECC error by reading Flash module control register MCR. There are two status
bits linked to ECC events, MCR.EDC bit signaling single bit correction and MCR.EER bit
signaling presence of non-correctable EC error during read operation. It is up to the driver
and application how it processes these events.
In any case, low level exception events are enabled and activated whenever there is a non-
correctable EC error during read access. It can have impact on processing time needed to
read the data from Flash memory by the driver.
Driver should not rely on ECSM ECC status bits that are used and controlled in low level
exception handlers and which are completely independent from the Flash driver.
There are several methods to read multiple data with ECC checking where each method
has its pros and cons.
•
Check ECC immediately after each read access
•
Check ECC after whole data buffer is read
•
Low level exception handler linked to the driver ECC check
IVOR2 exception ie.
-ECC
-MPU
- Register protection
OS IVOR2 Handler()
User IVOR2 Handler()
ECC errors
Try to correct the
ECC issue
User IVOR2
Handler() call
Shutdown
Return
UserSolved value
Shutdown
Other reason of
user interest
Return
UserNotSolved value
YES
NO
NO
UserSolved
Continue with
standard OS
handler
YES
NO
YES
NO



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