English
Language : 

R0E417250MCU00 Datasheet, PDF (201/228 Pages) Renesas Technology Corp – E100 Emulator MCU Unit for H8SX/1700 Series
R0E417250MCU00 User’s Manual
5. Debugging Functions
5.15.4 Limitations of the Start/Stop Function
The start/stop function is subject to the following limitations.
- The debugging functions listed below are not to be used while the start/stop function is in use.
(a) Memory setting and downloading into the program area of a routine specified as a start/stop function.
(b) Breakpoint setting in the program area of a specified routine
- While either of the specified routines is running, the 4 bytes of memory pointed to by the stack are in use by the emulator.
- The general-purpose registers and flags used in a specified routine are subject to the following limitations.
Table 5.44 Limitations to the registers and flags
Register/flag Name
Limitations
ER7 register
When a specified routine has ended, the value of this register must be restored to one that
it had when the specified routine started.
CCR register, I flag
Interrupts are disabled while a specified routine is executed.
- When either of the specified routines is running, the debugging functions listed below have no effect.
(a) Tracing
(b) Break-related facilities
(c) RAM monitoring
- While either of the specified routines is running, interrupts other than WDT are always disabled.
- The table below shows which state the MCU will be in when the user program starts running after execution of a routine
specified as a start function.
Table 5.45 MCU status at start of the user program
MCU Resource
Status
MCU general-purpose These registers are in the same state as when the user program last stopped or in states
registers
determined by user settings in the Register window. Changes made to the contents of
registers by the specified routine are not reflected.
Memory in MCU space Access to memory after execution of the specified routine is reflected.
MCU peripheral
functions
Operation of the MCU peripheral functions after execution of the specified routine is
continued.
5.15.5 Limitations on Statements within Specified Routines
Statements within specified routines are subject to the limitations described below.
- If a specified routine uses a stack, the stack must always be the user stack.
- The processing of a specified routine must end with a return-from-subroutine instruction.
- Ensure that a round of processing by a specified routine is complete within 10 ms. If, for example, the clock is turned off and
left inactive within a specified routine, the emulator may become unable to control program execution.
- The values stored in the registers at the time a specified routine starts running are undefined. Ensure that each specified
routine initializes the register values.
REJ10J1831-0200 Rev.2.00 Jun.1, 2009
Page 201 of 228