Hardware Errors and Exception Handling
4-62
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
An excepting instruction may or may not commit before the exception
event is taken, depending on if it is a service type or an error type
exception.
An instruction causing a service type event will commit, and the address
written to the
RETX
register will be the next instruction after the excepting
one. An example of a service type exception is the single step.
An instruction causing an error type event cannot commit, so the address
written to the
RETX
register will be the address of the offending instruc-
tion. An example of an error type event is a CPLB miss.
L
Usually the
RETX
register contains the correct address to return to.
To skip over an excepting instruction, take care in case the next
address is not simply the next linear address. This could happen
when the excepting instruction is a loop end. In that case, the
proper next address would be the loop top.
The
EXCAUSE[5:0]
field in the Sequencer Status register (
SEQSTAT
) is writ-
ten whenever an exception is taken, and indicates to the exception handler
which type of exception occurred. Refer to
Table 4-11
for a list of events
that cause exceptions.
[
If an exception occurs in an event handler that is already servicing
an Exception,
NMI
, Reset, or Emulation event, this will trigger a
double fault condition, and the address of the excepting instruction
will be written to
RETX
.
Содержание ADSP-BF53x Blackfin
Страница 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 780: ...Product Identification Register 21 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 994: ...Instructions Listed By Operation Code C 194 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...