5 Using the KD
5.4 Peripheral Function Related Limitations
1) UART pins (TxDi, RxDi)
The UARTi transmit and receive interrupts are used for communication between the
USB Monitor Board and host computer (PC). Make sure that UARTi is not used in the
User Program. Do not connect the UART pins with other pins.
UART1 use prohibition MCUs
R8C/10 Group, R8C/11 Group, R8C/12 Group, R8C/13 Group, M32C/80 Series
M16C/80 Group, M16C/Tiny Series, M16C/24(M30245) Group, M16C/62A(M) Group
M16C/62P Group, M16C/62N(M3062GF8) Group, M16C/6N Group
UART0 use prohibition MCUs
M16C/10 Group, M16C/1N Group
2) Set up "0FF900h" or ”0FFF900h” in the UARTi receive with User Program because
UARTi is being used for the communication with KD30 and KD3083. The interruption of
relocatable vector table (variable vecter table) except for UARTi can be used with User
Program.
UART1 receive interrupt setting required MCUs (0FF900h address)
M16C/62A(M) Group, M16C/6N(M306NAFG, M306NBFC only) Group
M16C/24(M30245) Group
UART0 receive interrupt setting required MCUs (0FF900h address)
M16C/10 Group, M16C/1N Group
UART1 receive interrupt setting required MCUs (0FFF900h address)
M16C/80 Group
Note: Setting the UARTi receive interrupt is not necessary for MCUs other than the
above MCU.
5.5 FoUSB Debugger Principle
FoUSB debug formula is a monitor program formula. The monitor program debugs by
communicating with FoUSB. A use program is interrupted at the time of command
execution, and a monitor program is executed. A monitor program is written in flash
memory user ROM area when a debugger (KD30 and KD3083) is started.
The monitor program has the following functions.
1) A function which communicates with FoUSB.
2) A function which executes command.
Next, the differences between the realization method of these functions and CPU
operation are described.
66