Applications Engineering
SKP16C62P User’s Manual Rev. 1.0
10 / 22
December 2003
6.0 System Operation & Limitations
The SKP16C62P provides sophisticated debugging features at a low cost but it does have some
limitations when used with the KD30 Debugger and ICD. Section 6.1 introduces the kernel (ROM
monitor) program and what it is for. The limitations when this kernel is running with the user
program are listed in table 6-1.
Table 6-1 Systems Limitations (when used with KD30)
Item
Please Refer To
6.2 Pin and Peripheral Limitations
6.3 Memory Map
6.4 Status After Reset
6.5 Register Operation Limitations
User Limitations
6.6 Limitations on Interrupts
6.7 Stop or Wait Mode Limitations
Debugger Limitations
6.8 User Program’s Real-time Capability
6.1 Kernel (ROM Monitor) Introduction
During debug (used with the KD30 debugger), a small program, called a kernel, is downloaded to
the M16C/62P. The kernel communicates with the KD30 Debugger through the ICD about MCU
status during user code debugging operations.
There are no special steps required in the user program to make use of the ICD. The operation of
the kernel is transparent to the user but there are some limitations and these are discussed from
section 6.2.
After starting KD30, the ICD downloads the kernel to the M16C/62P if it does not exist (e.g. blank
device or programmed with FoUSB Programmer). After downloading the kernel, KD30 opens the
Program Window and the M16C/62P is ready for downloading code.
Connecting the ICD without starting KD30 will not affect the lines connected between the ICD and
the M16C/62P – the ICD keeps the lines in high-impedance state. The ICD only drives the pins
after KD30 or FoUSB Programmer is started.
After program debug and verification, you can then create and download a binary, Intel (.hex) or
Motorola (.mot), file to the M16C/62P. This operation erases the kernel and only leaves the user
program.
6.2 Pin and Peripheral Limitations
SIO/UART1 pins are used for communication between the SKP16C62P board kernel and KD30
Debugger through the ICD. Do not connect these pins to any other circuit, as UART1 cannot be
used in the user program. For details, please see ICD (RTA-FoUSB-MON) User Manual on
Target M16C ROM Monitor Resources or related ICD application notes.
electronic components distributor