Chapter 18. On-Chip Debugger - Renesas M16C Series Hardware Manual

16-bit microcopmuter
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

R8C/11 Group
18. On-chip debugger
The microcomputer has functions to execute the on-chip debugger. Refer to "Appendix 2 Connecting
examples for serial writer and on-chip debugging emulator". Refer to the respective on-chip debugger
manual for the details of the on-chip debugger. Next, here are some explanations for the respective
functions. Debugging the user system which uses these functions is not available. When using the on-
chip debugger, design the system without using these functions in advance. Additionally, the on-chip
debugger uses the address 0C000
system.
18.1 Address match interrupt
The interrupt request is generated right before the arbitrary address instruction is executed. The
debugger break function uses the address match interrupt. Refer to "10.4 Address match interrupt" for
the details of the address match interrupt. Also, avoid setting the address match interrupt (the registers of
AIER, RMAD0, RMAD1 and the fixed vector tables) with using the user system when using the on-chip
debugger.
18.2 Single step interrupt
The interrupt request is generated every time one instruction is executed. The debugger single step
function uses the single step interrupt. The other interrupt is not generated when using the single step
interrupt. The single step interrupt is only for the developed support tool.
18.3 UART1
The UART1 is used for the communication with the debugger (or the personal computer). Refer to "13.
Serial Interface" for the details of UART1. Also, avoid using the UART1 and the functions (P0
P3
) which share the UART1 pins.
7
18.4 BRK instruction
The BRK interrupt request is generated. Refer to "10.1 Interrupt overview" and "R8C/Tiny series soft-
ware manual". Also, avoid using the BRK instruction with using the user system when using the on-chip
debugger.
Rev.1.20
Jan 27, 2006
REJ09B0062-0120
to 0C7FF
16
page 185 of 204
of the flash memory, thus avoid using for the user
16
18. On-chip Debugger
/AN
and
0
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c/11 seriesR8c/tiny series

Table of Contents