Differences From The Actual Ic; Register Initialization - Epson S5U1C33001H1400 Manual

In-circuit debugger for s1c33 series microcomputers
Table of Contents

Advertisement

10.2 Differences from the actual IC

The S5U1C33001H is different from the actual IC in the way specified below. If this difference is not
taken into consideration in an application, the program may not operate normally in the actual IC.
10.2.1

Register initialization

When the actual IC is powered on, the contents of all registers except the PC (program
counter) and PSR (processor status register) are indeterminate and retain the immediately
preceding values after a reset, whereas in the S5U1C33001H all registers are initialized
when the debugger on the host computer is invoked.
At this time, the registers are initialized with the following data:
(For all cores)
PSR (processor status register):
AHR, ALR (arithmetic operation high/low registers):
R0 through R15 (general-purpose registers):
(For C33 STD, Mini and PE cores)
PC (program counter):
SP (stack pointer):
(For C33 ADV core)
PC (program counter):
LCO (loop count register):
LSA (loop start address register):
LEA (loop end address register):
SOR (shift out register):
TTBR (trap table base register):
DP (data pointer):
USP (user stack pointer):
SSP (supervisor stack pointer):
For this reason, never create a program that depends on the initialized value. However, for
reset input from the target system when the target program is being executed, the
S5U1C33001H retains the immediately preceding values, as with the actual IC. For details
on each register, refer to the C33 Core Manual.
Note: The PC initial value is decided according to the setting value of the trap table base
S1C33 Family In-Circuit Debugger
S5U1C33001H1400 Manual (Rev. 0.20)
register (boot address). Refer to the "S1C33xxx Technical Manual" for details on the
trap table base register (TTBR).
EPSON
10. PRECAUTIONS
0x00000000
0xAAAAAAAA
0xAAAAAAAA
0x00C00000 (Note)
0x0AAAAAA8
0x20000000 (Note)
0x00000000
0x00000000
0x00000000
0x00000000
0x20000000
0x00000000
0x00000000
0x00000000
37

Advertisement

Table of Contents
loading

Table of Contents