Technical information
8
Section 5 Notes on Emulation
This user system interface cable supports the SH7018F. The following settings must be made prior
to emulation.
5.1 Setting Internal ROM
Set 32 kbytes for internal ROM size. Even when 32 kbytes is set for this emulator, a 256-kbytes
area is effective. However, since the flash memory capacity of the SH7018 is 160 kbytes,
programming must be performed so that the 160-kbytes capacity is not exceeded.
5.2 Setting Pin Function Controller
Since the initial register values when the emulator is used differ from those of the SH7018F, as
shown in table 4, the initial settings must be made by the user program.
Table 4 Pin Function Controller Settings
Register name Symbol Address Initial Value when
Emulator is Used
Initial Value for
SH7018F
Port A control
register L2
PACRL2 H’FFFF838E
H’FFFF838F
H’0140 H’0000
Port B control
register 1
PBCR1 H’FFFF8398
H’FFFF8399
H’000A H’0000
Port B control
register 2
PBCR2 H’FFFF839A
H’FFFF839B
H’A000 H’0000
Note that the initial values of the pin function for the emulator differ from those of the SH7018F,
as shown in table 5 (initial values are shaded).
Table 4 Pin Function Controller Settings
Pin No. Emulator SH7018F
28 PB6/IRQ4/
A18/BACK PB6/A18
29 PB7/IRQ5/A19/BREQ PB7/A19
31 PB9/IRQ7/A21/ADTRQ PB9/IRQ7/A21
46 PB8/IRQ6/A20/WAIT PB8/IRQ6/A20/WAIT
48 PA4/ TXD1 PA4/TXD1
49 PA3/ RXD1 PA3/RXD1