beautypg.com

1 differences between the mcu and the emulator – Renesas SuperH HS0720KCU01HE User Manual

Page 21

background image

15

Section 2 Software Specifications when Using the

SH2A_custom_SoC

2.1

Differences between the MCU and the Emulator

1. When the emulator system is initiated, it initializes the general registers and part of the control

registers as shown in table 2.1. The initial values of the MCU are undefined. When the
emulator is initiated from the workspace, a value to be entered is saved in a session.

Table 2.1 Register Initial Values at Emulator Link Up

Register

Emulator at Link Up

R0 to R14

H'00000000

R15 (SP)

Value of the SP in the power-on reset vector table

PC

Value of the PC in the power-on reset vector table

SR H'000000F0

GBR H'00000000

VBR H'00000000

TBR H'00000000

MACH H'00000000

MACL H'00000000

PR H'00000000

FPSCR* H'00040001

FPUL* H'00000000

FPR0-15* H'00000000

Note: If the MCU does not incorporate the floating-point unit (FPU), these registers are not

displayed.

Note: When a value of the interrupt mask bit in the SR register is changed in the [Registers]

window, it is actually reflected in that register immediately before execution of the user
program is started. It also applies when the value is changed by the REGISTER_SET
command.

2. The emulator uses the H-UDI; do not access the H-UDI.