Renesas M30240T-RPD-E Switch User Manual


 
( 11 / 58 )
IMPORTANT
Notes on Stack Area:
With this product, a maximum 8 bytes of the user stack is consumed as a work area.
If the user stack does not have enough area, do not use areas which cannot be used as stack (SFR
area, RAM area which stores data, or ROM area) as work area. Using areas like this is a cause of
user program crashes and destabilized emulator control. Therefore, ensure the +8 bytes maximum
capacity used by the user program as the user stack area.
Note on Address 0 Access:
•With the M16C/20 Series MCUs, when a maskable interrupt is generated, the interrupt data
(interrupt No. and interrupt request level) stored in address 0 is read out. Also, the interrupt request
bit is cleared when address 0 is read out. Consequently, when the address 0 readout instruction is
executed or when address 0 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 0 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.
Note on Changing the Settings of Memory Area:
When debugging the MCU whose memory capacity is different, be sure to change the setting of
memory area. For the memory map of each MCU, refer to the user's manual of MCU.
Notes on S/W Breaks:
S/W breaks generate BRK interrupts by substituting the proper instruction to the BRK instruction
"00h". 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.
In the area where the MAP setting is EXTERNAL, S/W breaks cannot be used.
Note on BRK Instruction:
BRK instruction cannot be used.
Note on S/W Breaks and H/W Breaks:
It is not possible to use a S/W break and a H/W break at the same time. If doing so, it may not operate
normally.