6 Troubleshooting
e. Interrupt
Interrupts shown below are the resources of the Monitor Program. Do not use these
interrupts.
Also, some microcomputers do not support the DBC interrupt (Note). In microcomputers
which do not support the DBC interrupt (ex.: M16C/62A group), the UARTi receive
interrupt is used. Therefore, when using (relocation) the Relocatable Vector Table
(Variable Vector Table) in the User Program, it is necessary to set the UARTi receive
interrupt routine (FF900h or FFF900h) on the Monitor Program to the vector address of
the UARTi receive interrupt.
<Hardware Interrupt>
Vector Address
Interrupt
R8C/Tiny M16C/10, 20, 60, Tiny M16C/80, M32C/80
BRK Instruction
FFE4h to FFE7h FFFE4h to FFFE7h FFFFE4h to FFFFE7h
Address Match
FFE8h to FFEBh FFFE8h to FFFEBh FFFFE8h to FFFFEBh
Single Step
FFECh to FFEFh FFFECh to FFFEFh FFFFECh to FFFFEFh
DBC
FFF4h to FFF7h FFFF4h to FFFF7h FFFFF4h to FFFFF7h
<Software Interrup>
UART0 transmit/receive interrupt: M16C/10 series
UART1 transmit/receive interrupt: MCUs other than M16C/10 series
Note: Whether the DBC interrupt is applicable or not and the UART channel are shown
below. Users cannot use the UARTi transmit/receive interrupt even if the DBC
interrupt is applicable.
Group DBC UARTi Group DBC UARTi
M16C/10 N/A 0 M16C/80 N/A 1
M16C/1N N/A 0 M32C/83 Applicable 1
M16C/24 N/A 1 M32C/84, 85, 86, 87 Applicable 1
M16C/26, 26A, 28, 29 Applicable 1 R8C/10, 11, 12, 13 Applicable 1
M16C/62A (M), 62N N/A 1
M16C/6N
(M306NAFG, M306NBFC)
N/A 1
M16C/6N
(M306N4FC, M306N4FG,
M306N5FC)
Applicable 1
M16C/62P Applicable 1
Related section: [5.2.2 A limitation item about the C language] (2)
[5.4 Peripheral Function Related Limitations] 2)
77