M306NKT3-RPD-E User’s Manual
4. Hardware Specifications
REJ10J0326-0400 Rev.4.00 Sep. 01, 2006
Page 94 of 104
IMPORTANT
Note on Stack Area:
With this product, a maximum 7 bytes of the user stack is consumed. Therefore, ensure the +7 bytes
maximum capacity used by the user program as the user stack 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 a work area. Using areas like this is a cause of user program crashes and destabilized emulator control.
Note on Operation When Not Executing the User Program:
With this product, bit 7 of processor mode register 1 (wait bit PM17) is forcibly set to "1" (with wait) when
the user program is not executed (e.g. when the program is stopped or when run-time debugging is being
performed). Therefore, if the external area set to 0 wait is accessed by other than the user program (such as
debugging operation), one wait is inserted. However, when wait bit PM17 is referenced by the dump window
etc. the value set during user program execution is displayed.
Note on Stop and Wait Modes:
Do not single step an instruction shifting to stop or wait mode. It may cause communication errors.
Note on Watchdog Function:
The MCU's watchdog timer can be used only while programs are being executed. To use it otherwise, disable
the watchdog timer.
Note on Reading Internal Resources of the MCU:
When the registers listed in Table 4.12 are read with an emulator, those results will be the following (the data
in the MCU are not effected).
(1) Results of real-time trace
The data values of the cycles read are not displayed correctly.
(2) Real-time RAM monitor
The data values read are not displayed correctly.
Table 4.12 Resisters and symbols not displayed normally
Resister Symbol
DMA source pointers 0, 1
SAR0, SAR1
DMA destination pointers 0, 1
DAR0, DAR1
DMA transfer counters 0, 1
TCR0, TCR1
DMA control resisters 0, 1
DM0CON, DM1CON
Note on Protect Register:
The protect is not canceled when bit 2 of protect register PRCR (PRC2), which enables writing into the ports
P7, P9 direction registers and the SI/Oi control register, is changed with the below procedure.
(1) Step execution of the "instruction for setting ("1") PRC2"
(2) Execution from the instruction setting "1" to PRC2 where a software breakpoint is set
(3) Setting the break point from the "instruction for setting ("1") PRC2" to when the "setting the ports P7, P9
direction registers and the SI/Oi control register"
(4) Setting ("1") PRC2 from the Memory Window or Script Window
Note on Debugging in Flash Memory Area in CPU Rewrite Mode:
With this product, an internal flash memory area of an MCU is emulated by high-speed SRAM. Therefore,
you cannot perform debugging operations in CPU rewrite mode.