Renesas M16C/30P Manual de usuario Pagina 14

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 29
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 13
E8a Emulator Section 6 Notes on Using the E8a Emulator
2. When the system is launched, the E8a emulator initializes the general registers and some of the flag registers as
shown in Table 6.2.
Table 6.2 E8a Emulator Register Initial Values
Status Register Initial Value
PC Reset vector value in the vector address table
R0 to R3 (bank 0, 1) 0000h
A0, A1 (bank 0, 1) 0000h
FB (bank 0, 1) 0000h
INTB 0000h
USP 0000h
ISP Work RAM Address for the E8a emulator + 80h [*1]
SB 0000h
E8a
Emulator
Activation
FLG 0000h
Note:
1. The Work RAM address for the E8a emulator is specified in the [Firmware Location]
tab of the [Emulator Setting] dialog box.
3. The E8a emulator controls the MCUs by using the P50, P55, P64, P65, P66, P67, RESET and CNVss pins.
4. The E8a emulator uses up to 14 bytes of the stack pointer (ISP) during a user program break. Therefore, set aside 14
bytes for the stack area.
5. SFRs used by the E8a emulator program
As the SFRs listed in Table 6.3 are used by the E8a emulator program, do not change any of these values. If these
values are changed, the E8a emulator cannot control the MCU. Note that UART1 transmit interrupt control register
S1TIC and UART1 receive interrupt control register S1RIC always read out values used by the emulator. These
registers are not initialized by selecting [Debug] -> [Reset CPU] or by using the RESET command. If register
contents are referred to, a value that has been set in the E8a emulator program will be read out.
Table 6.3 SFRs Used by the E8a Emulator Program
Address Register Symbol Bit
Notes on using
the E8a emulator
0009h Address match interrupt enable register AIER All bits [*1]
0010h - 0012h Address match interrupt register 0 RMAD0 All bits [*1]
0014h - 0016h Address match interrupt register 1 RMAD1 All bits [*1]
03A8h UART1 transmit/receive mode register U1MR All bits [*1]
03AAh, 03ABh UART1 transmit buffer register U1TB All bits [*1]
03ACh UART1 transmit/receive control register 0 U1C0 All bits [*1]
03ADh UART1 transmit/receive control register 1 U1C1 All bits [*1]
03AEh, 03AFh UART1 receive buffer register U1RB All bits [*1]
03B0h UART transmit/receive control register 2 UCON Bits 1, 3, 4, 5 and 6 [*2]
03ECh Port P6 register P6 Bits 4, 5, 6 and 7 [*2]
03EEh Port P6 direction register PD6 Bits 4, 5, 6 and 7 [*2]
Notes:
1. Do not change this register value.
REJ10J1639-0500
Rev.5.00 Page 11 of 23
2. Do not change the value of the bits listed in the column to the left. When operating this register, make changes using the
bit operation instructions to avoid changing the bit values.
Apr.30.10
Vista de pagina 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 28 29

Comentarios a estos manuales

Sin comentarios