( 13 / 52 )
IMPORTANT
Notes on Software Breaks and Hardware Breaks:
The software break is a debugging function which breaks a program immediately before the system
executes an instruction at a specified address. The instruction at the preset address will not be
executed.
The hardware break 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.
The software break generates BRK interrupts by substituting the proper instruction to the BRK
instruction. Therefore, when referencing the result of a trace in bus mode, "00h" is displayed for
the instruction fetch address where a software break is set, and when referencing in disassemble
mode, "BRK" instruction is displayed.
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 Accessing Address 00000h:
•With the M16C/10 Series MCUs, when a maskable interrupt is generated, the interrupt data
(interrupt No. and interrupt request level) stored in address 00000h is read out. Also, the interrupt
request bit is cleared when address 00000h is read out. Consequently, when the address 00000h
readout instruction is executed or when address 00000h is read out in the cause of a program
runaway, a malfunction occurs in that the interrupt is not executed despite the interrupt request,
because the request bit of the highest priority interrupt factor enabled is cleared.
For this malfunction, when the reading out to the 00000h address is generated excluding the interrupt,
the yellow LED lights up to alarm. When this LED lights, there is a possibility of wrong access,
therefore check the program. This LED is turned off by the RESET switch of the emulator main unit.
Notes on Watchdog Function:
The MCU's watchdog timer can be used only while programs are being executed. To use it
otherwise, disable the timer.
If the reset circuit of the target system has a watchdog timer, disable it when using the emulator.
Note on Stop and Wait Modes:
•Do not perform step execution at addresses in the stop or wait mode. It may cause communication
errors.