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

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 16: DEBUGGER
16.4.5 [Register] Window
Operation
272
Watch memory data
The debugger allows you to specify four memory addresses and monitor the contents of those memory
locations. The contents of these four watch data addresses (4 bytes each from a specified address) are
displayed in the [Register] window. The default watch data addresses set at startup time are addresses 0, 4,
8, and C. The data is displayed in the endian format specified by the parameter file. If watch data addresses
are specified using symbols (w command), symbol names also are displayed after data.
ICE CPU status (in ICE mode)
In the ICE mode, the CPU status in the S5U1C33104H is displayed on the right side of the PC display data.
The display contents are listed below. The CPU status is not displayed in other modes.
SLP
HLT
OSC3
OSC1
RESET
NO VCC
NO CLK
WAIT
Updating display contents
The contents displayed in the [Register] window are updated automatically in the following cases:
The numeric value display part is left blank during continuous program execution (g command) in any
mode other than on-the-fly mode or when single-stepping the program (s or n command) in the final step
mode. If the program is executed (g command) after turning the on-the-fly function on in the ICE mode, the
display contents of the PC, PSR flag, and watch data are updated in real time every one to 0.1 second. All
other contents are left blank until program execution breaks.
Opening and closing the window
When db33 starts, the [Register] window opens at the same position in the same size as when the debugger
was last terminated. However, this window is not opened automatically if you specify the -w option at
startup. The [Register] window can be opened by using the [Register] command on the [Window] menu,
and can be closed by clicking on the close box of the window.
Rewriting the register data
The contents of the general-purpose registers (R0–R15), special registers (PC, SP, PSR, AHR, ALR), and
PSR can be altered directly. Move the cursor to the position immediately preceding the data to be changed
by clicking on the window or using the arrow keys. Then enter hexadecimal data (or the binary 1 or 0 for
PSR flags). The backspace and delete keys cannot be used.
When register contents are dumped (rd command)
When the CPU is reset (rstc or rsth command)
When register values are changed (rs command)
When watch data addresses are set (w command)
When the execution counter display mode is changed (md command)
When option data or flash memory contents are loaded (lo or lfl command)
After program execution is completed (g, s or n command)
Indicates that the CPU is in the SLEEP mode.
Indicates that the CPU is in the HALT mode.
Indicates that the CPU is operating with the high-speed clock (OSC3).
Indicates that the CPU is operating with the low-speed clock (OSC1).
Indicates that the CPU is in a reset state.
Indicates that no supply voltage is fed to the CPU.
Indicates that no operating clock is fed to the CPU.
Indicates that the CPU is in a wait state.
Contents displayed
The [Register] window displays the following contents:
Register contents
The contents of general-purpose registers (R0 to R15) and special registers (PC,
SP, PSR, AHR, and ALR) are displayed. The contents of the PSR register are
displayed individually for each flag.
Execution counter
The total number of cycles executed and a total execution time since the
execution counter is actuated after a reset are displayed by adding up the count
values. For details about the execution counter, refer to Section 16.9.5,
"Executing Program".
EPSON
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
S5U1C33000C MANUAL

Related parts for s5u1c33000c