データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

AN4417 データシート(PDF) 9 Page - STMicroelectronics

部品番号 AN4417
部品情報  This document provides an overview
PDF  22 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4417 データシート(HTML) 9 Page - STMicroelectronics

Back Button AN4417 Datasheet HTML 5Page - STMicroelectronics AN4417 Datasheet HTML 6Page - STMicroelectronics AN4417 Datasheet HTML 7Page - STMicroelectronics AN4417 Datasheet HTML 8Page - STMicroelectronics AN4417 Datasheet HTML 9Page - STMicroelectronics AN4417 Datasheet HTML 10Page - STMicroelectronics AN4417 Datasheet HTML 11Page - STMicroelectronics AN4417 Datasheet HTML 12Page - STMicroelectronics AN4417 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 22 page
background image
DocID025623 Rev 2
9/22
AN4417
Machine check handler
21
2.1.1
Start phase
In the first step the hardware (Core) carries out checks, when the machine occurs
exception. The hardware stores content of the MSR register and address of the current
instruction pointer if it is possible (precise exception), low level driver immediately starts
processing.The machine executes several steps like check status register saving, context of
the interrupted process saving and others. This part stores some additional information as
they are used by higher layer user handler to analyze the root cause of the exception later.
In the Z4 Core User Manual documentation is described a detailed description of the
machine check resources, their meaning and proper handling in case of interrupt. Low level
handler follows rules and recommendation described in the User Manual (see
Section Appendix B: Reference documents).
2.1.2
Final phase
Here the handler should restore the saved context of the interrupted process and return with
the mcrfi instruction.
Before mcrfi instruction is executed, which fills instruction pointer with MCSRR0 content and
MSR register with MCSRR1 content, MCSRR0 modification might be needed.
There are two cases which determine if the manipulation is needed or not. This information
is useful in the user handler to pass down to the low level driver.
1.
User handler finds the cause of the machine check exception and fix it in a way, that
the program can re-execute the same instruction that caused the machine check
exception.
2.
User is able to find the cause of the exception, but the problem remains and re-
executing the same instruction lead to the machine check exception again =>
Modification of the MCSRR0 is needed.
2.1.3
Modification of the MCSRR0 register
In case that the cause of the exception cannot be removed, MCSRR0 register value is
modified in a way that it takes the address of the following instruction. This prevents re-
execution of the faulty instruction and retriggering the machine check exception.
Modification has to consider VLE instruction coding in case the interrupted process is
implemented in VLE coding and increment the value accordingly of the length of the faulty
instruction pointed by the current MCSRR0 register content, see Figure 2.



Html Pages

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


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
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