SAK-C167CS-LM Hardware Trap Summary - Infineon Technologies AG

no-image

SAK-C167CS-LM

Manufacturer Part Number
SAK-C167CS-LM
Description
16-Bit Single-Chip Microcontroller
Manufacturer
Infineon Technologies AG
Datasheet
The C167CS also provides an excellent mechanism to identify and to process
exceptions or error conditions that arise during run-time, so-called ‘Hardware Traps’.
Hardware traps cause immediate non-maskable system reaction which is similar to a
standard interrupt service (branching to a dedicated vector table location). The
occurrence of a hardware trap is additionally signified by an individual bit in the trap flag
register (TFR). Except when another higher prioritized trap service is in progress, a
hardware trap will interrupt any actual program execution. In turn, hardware trap services
can normally not be interrupted by standard or PEC interrupts.
Table 4
shows all of the possible exceptions or error conditions that can arise during run-
time:
Table 4

Hardware Trap Summary

Exception Condition
Reset Functions:
– Hardware Reset
– Software Reset
– W-dog Timer Overflow
Class A Hardware Traps:
– Non-Maskable Interrupt
– Stack Overflow
– Stack Underflow
Class B Hardware Traps:
– Undefined Opcode
– Protected Instruction
Fault
– Illegal Word Operand
Access
– Illegal Instruction
Access
– Illegal External Bus
Access
Reserved
Software Traps
– TRAP Instruction
Data Sheet
Trap
Trap
Vector
Flag
Vector
Location
RESET
00’0000
RESET
00’0000
RESET
00’0000
NMI
NMITRAP
00’0008
STKOF
STOTRAP
00’0010
STKUF
STUTRAP
00’0018
UNDOPC
BTRAP
00’0028
PRTFLT
BTRAP
00’0028
ILLOPA
BTRAP
00’0028
ILLINA
BTRAP
00’0028
ILLBUS
BTRAP
00’0028
[2C
3C
Any
[00’0000
00’01FC
in steps
of 4
22
C167CS-4R
C167CS-L
Trap
Trap
Number
Priority
00
III
H
H
00
III
H
H
00
III
H
H
02
II
H
H
04
II
H
H
06
II
H
H
0A
I
H
H
0A
I
H
H
0A
I
H
H
0A
I
H
H
0A
I
H
H
[0B
H
H
]
0F
]
H
H
Any
Current
[00
CPU
H
H
]
7F
]
Priority
H
H
H
V2.2, 2001-08

Related parts for SAK-C167CS-LM