Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

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

Back Button AN4276 Datasheet HTML 7Page - STMicroelectronics AN4276 Datasheet HTML 8Page - STMicroelectronics AN4276 Datasheet HTML 9Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 21 page
background image
DocID024408 Rev 2
11/21
AN4276
ECC exception handling
4
ECC exception handling
As seen above, microcontroller always generates one of the exceptions for non-correctable
ECC errors depending on the EE and ME bits setting in the MSR register. Proper software
handlers should be placed on IVOR2, IVOR3 and IVOR1 exception vectors.
Z0 core used on SPC560x microcontrollers adds additional complexity to the exception
handling mixing several different exception causes to one vector, which means that software
handler has to find the reason of the interrupt first. IVOR2 and IVOR3 exceptions merge
following causes
•
ECC non-correctable errors (IVOR2 and IVOR3)
•
MPU access faults (IVOR2 and IVOR3)
•
Register protection violation (IVOR2)
General software flow of the exception handler IVOR2 and IVOR3 with focus on ECC
processing is shown in Figure 4. IVOR1 can differ in a way that having this exception
(machine check) means that system recovery is hardly possible and system should safely
terminate.
Figure 4. General IVOR2/3 handler software flow
IVOR 2/3 handler start
Read ECSM.ESR register
RNCE or FNCE
Return back and continue
to check other exception
reasons
RAM or Flash memory
Read ECSM.FEAR register
Code or Data flash
Return back and finish
exception handler.
Clear ECSM.FNCE flag
Clear ECSM.RNCE flag
NO
YES
FLASH
RAM
CODE
DATA
Take appropriate Code flash
ECC error action
(Most probably safe system
termination)
Take appropriate Data flash
ECC error action.
(Most probably report this
error and continue in system
operations)
Take appropriate RAM ECC
error action.
(Most probably safe system
termination in case of fault in
used RAM area)



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