saf-xc2287-96fxxl Infineon Technologies Corporation, saf-xc2287-96fxxl Datasheet - Page 51

no-image

saf-xc2287-96fxxl

Manufacturer Part Number
saf-xc2287-96fxxl
Description
16/32-bit Single-chip Microcontroller With 32-bit Performance
Manufacturer
Infineon Technologies Corporation
Datasheet
The XC228x includes an excellent mechanism to identify and process exceptions or
error conditions that arise during run-time, the so-called ‘Hardware Traps’. A hardware
trap causes an immediate non-maskable system reaction similar to a standard interrupt
service (branching to a dedicated vector table location). The occurrence of a hardware
trap is also indicated by a single bit in the trap flag register (TFR). Unless another higher-
priority trap service is in progress, a hardware trap will interrupt any ongoing program
execution. In turn, hardware trap services can normally not be interrupted by standard
or PEC interrupts.
Table 7
Table 7
Exception Condition
Reset Functions
Class A Hardware Traps:
Class B Hardware Traps:
Reserved
Software Traps:
1) Register VECSEG defines the segment where the vector table is located to.
Data Sheet
Bitfield VECSC in register CPUCON1 defines the distance between two adjacent vectors. This table
represents the default setting, with a distance of 4 (two words) between two vectors.
System Request 0
Stack Overflow
Stack Underflow
Software Break
System Request 1
Undefined Opcode
Memory Access Error
Protected Instruction
Fault
Illegal Word Operand
Access
TRAP Instruction
shows all possible exceptions or error conditions that can arise during runtime:
Trap Summary
Trap
Flag
SR0
STKOF
STKUF
SOFTBRK
SR1
UNDOPC
ACER
PRTFLT
ILLOPA
Trap
Vector
RESET
SR0TRAP
STOTRAP
STUTRAP
SBRKTRAP
BTRAP
BTRAP
BTRAP
BTRAP
BTRAP
49
XC2000 Family Derivatives
Vector
Location
xx’0000
xx’0008
xx’0010
xx’0018
xx’0020
xx’0028
xx’0028
xx’0028
xx’0028
xx’0028
[2C
Any
[xx’0000
xx’01FC
in steps of
4
XC2287 / XC2286 / XC2285
H
H
- 3C
Functional Description
H
H
H
H
H
H
H
H
H
H
H
H
1)
]
H
-
] [0B
Trap
Number
00
02
04
06
08
0A
0A
0A
0A
0A
0F
Any
[00
7F
H
H
H
H
H
H
H
H
H
H
H
H
H
H
]
]
-
-
V2.1, 2008-08
Trap
Priority
III
II
II
II
II
I
I
I
I
I
Current
CPU
Priority

Related parts for saf-xc2287-96fxxl