s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 373

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
(6) HALT and SLEEP states and interrupts
S5U1C33000C MANUAL
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
(5) Window display during single-stepping
(7) Execution counter
Notes
The number of steps in Format 2 must be specified within the range of 0 to 65535. An error results if this limit
is exceeded.
If the current PC is a boot address (0x80000 or 0xc00000), the CPU is cold reset immediately before the db33
starts executing the program.
When an infinity-loop such as "jp 0x0" is executed in source-level stepping, the step operation will not be
terminated. Also, if contentless for statement of a C source are single-stepped, the program cannot be
controlled until it finishes processing the for statement. In such cases, run the step command in mix or
disassemble display mode.
In the initial debugger settings, the display is updated every step as follows:
When the [Source] window is open, the underline designating the next address to be executed moves every
step as the program is stepped through. The display contents of the [Register] window are also updated
every step. This default display mode (all steps display mode) can be switched over by the md command so
that the display contents are updated at only the last step in a specified number of steps (last step display
mode).
Unlike in successive executions (g command), the [Register] window is not blanked even if the execution is
not terminated immediately.
If the [Memory] window is open, the display contents are updated every step.
If the [Trace] window is open in ICE/ICD mode, the display contents are cleared as the program is
executed. To update this display, use the td or the ts command after the specified steps are executed.
If the [Trace] window is open with the trace mode turned on in simulator mode, the trace results are
successively displayed as the program is executed. If the [Trace] window is closed, the trace results are
displayed in the [Command] window. No trace results are displayed if the trace mode is turned off or when
the trace information is being saved to a file.
In the S5U1C33104H, interrupts are disabled during single-stepping.
The halt and slp instructions are executed even during single-stepping, in which case the CPU is placed in a
standby mode. The CPU can be released from the standby mode by generating an external interrupt or by
pressing the [Key break] button.
The execution counter displayed in the [Register] window indicates the number of cycles/instructions
executed or the execution time (only in ICE/ICD mode) of the target program. (See Section 16.9.5 for
details.)
In the initial debugger settings, the execution counter is set to an integration mode. If this mode is changed
to a reset mode by the md command, the execution counter is cleared to 0 each time the s command is
executed. The counter is also reset simultaneously when execution is restarted by hitting the [Enter] key.
Error: Step range (0-65535).
EPSON
CHAPTER 16: DEBUGGER
357

Related parts for s5u1c33000c