Renesas Single-Chip Microcomputer M306NKT3 User Manual page 97

Emulation pod for m16c/6n group m16c/6n4, 6n5, 6nk, 6nl, 6nm and 6nn
Table of Contents

Advertisement

M306NKT3-RPD-E User's Manual
Note on Breaks:
The area displaying break points in the program window of the emulator debugger shows the following
breaks.
(1) Software break
This is a debugging function which generates a BRK interruption by changing an instruction at a
specified address to a BRK instruction (00h) to break a program immediately before the system executes
an instruction at a specified address. The instruction at the preset address will not be executed.
(2) Hardware break
This is a debugging function which breaks a program by setting the detection of an execution of an
instruction at a specified address as a break event. The program will break after the instruction at the
specified address is executed.
Notes on Software Breaks:
Software breaks change the instruction at a specified address to a BRK (00h). Therefore, take note that when
you reference the result of a trace in bus mode, "00h" is displayed.
The BRK instruction can be used for the emulator only. You cannot use it in a user program.
It is not possible to use a software break and a hardware break at the same time. If doing so, it may not
operate normally.
In the area where the MAP setting is EXTERNAL, software breaks cannot be used.
Note on Power Supply to the User System:
Pins Vcc1 and Vcc2 are connected to the user system to observe the voltage. Therefore, the power is not
supplied to the user system from the emulator, design your system so that the user system is powered
separately.
(1) The voltage of the user system should be within the operating range of the evaluation MCU.
(2) Do not change the voltage of the user system after turning on the power.
Notes on Address-Match Interrupts:
To debug address-match interrupts, set a software break or hardware break at the top address of the
address-match interrupt process. If you set a software break or hardware break at an address where an
address-match interrupt occurs, the program may run out of control.
When an address at which an address-match interrupt occurs is executed in single-step mode, the program
stops after executing the first instruction after returning from the address-match interrupt processing.
Note on Accessing Addresses 00000h and 00001h:
With this product, the yellow LED lights when address 00000h is read out by a process other than an
interrupt. However, because the LED is turned off by other than the reset switch of the emulator main unit,
accessing address 00000h can not be detected properly.
Therefore, to detect that address 00000h is read out by a process other than an interrupt, enable a hardware
breakpoint, and using an event, check the program with the following settings.
- Event type: DATA ACCESS
- Address: Range: (addr) == Address1, Address1:00000h
- Data: Range: Not Specify, Access :READ
Note on Debugging Operations After Releasing a Reset from the Target:
Do not execute debugging operations such as setting a software or hardware break, runtime debugging after
releasing a reset from the user system until an interrupt stack pointer (ISP) is set in the user program.
REJ10J0326-0400 Rev.4.00 Sep. 01, 2006
IMPORTANT
4. Hardware Specifications
Page 95 of 104

Advertisement

Table of Contents
loading

This manual is also suitable for:

M306nkt3-rpd-e

Table of Contents