beautypg.com

3 restrictions on the start/stop function, Restrictions on the start/stop function – Renesas Emulator System E8 User Manual

Page 109

background image

5.6.3

Restrictions on the Start/Stop Function

The start/stop function has the following restrictions.

• Do not change the SFR used by the firmware.

• When the watchdog timer is used, refresh the watchdog timer in the specified routine.

• Do not set any breakpoints in the specified routine.

• When a stack is used in the specified routine, be sure to use the user stack.

• A register value is undefined when execution of the specified routine is started. It is possible

to change the register value in the specified routine, however, the following register and flags
have restrictions.

Register and Flag Names

Restrictions

ISP register

When execution of the specified routine is ended, put the
value back to the one at the start of that routine.

Flag U

Be sure to set the flag value as 0 when execution of the
specified routine is ended.

Flag B

Do not set the flag value as 1 in the specified routine.

Flag I

No interrupts are allowed during execution of the specified
routine. Do not set the flag value as 1 in the specified routine.

• When the content of the [Start/Stop Function Setting] dialog box is changed, the flash

memory will be reprogrammed in the block which the firmware has been allocated at user
program execution.

• The specified routine is also executed when the following operations are performed:

⎯ Step operations
⎯ Watching or changing memory during user program execution
⎯ Setting an event break during user program execution

91