Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

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

Back Button AN4276 Datasheet HTML 10Page - STMicroelectronics AN4276 Datasheet HTML 11Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 21 page
background image
ECC exception handling
AN4276
14/21
DocID024408 Rev 2
Figure 7. Pseudo Code for known address jump
An advantage of this approach is that ECC error is immediately found and possible read
accesses stopped. This can save some time and exception load when reading long buffers
without immediate error check.
The disadvantage is that there must be only one function that can cause ECC error. It
means that in whole application there is just one place where data Flash is read. It is
strongly dependent on software implementation.
4.4
Clearing error flags
ECC error flags in the ECSM module should be cleared for recoverable scenarios in order to
enable proper exception handling for other causes, like register protection etc. Other reason
for clearing ECSM status bits is the property of the ECSM behavior where new ECC error
overwrites the old information, because there is only one set of registers storing extended
information. The recommendation is to clear these flags always, even in the case of non-
recoverable situations.
Application function FCE1()
Value = ReadDataFlashWord(addr)
Buffer[i] = StoreValue
EndOfFunction
Z0 core stores SRR0/SRR1
Start of handler execution
Reason found
Move ECC_error_check symbol to
SRR0 register
Clear the ECC error flag
Finish handler (rfi)
Z0 core restores MSR (SRR1) and
load PC counter with value of SRR0
IVOR2 exception (ECC on data flash access)
ECC_error_check:



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