Table 17.1 Operating Modes and ROM
Operating Mode
Mode 0 (MCU mode 0)
Mode 1 (MCU mode 1)
Mode 2 (MCU mode 2)
Mode 7 (PROM mode)
0: Low
1: High
When the SH7034 is set to PROM mode, programs can be written in the PROM version in the
same way as with ordinary EPROM, using a general-purpose EPROM programmer.
17.2
PROM Mode
17.2.1
Setting PROM Mode
To program the on-chip PROM, set the pins as shown in figure 17.2 and use the chip in PROM
mode.
17.2.2
Socket Adapter Pin Correspondence and Memory Map
Mount the socket adapter on the SH7034 as shown in figure 17.2. This allows the on-chip PROM
to be programmed in exactly the same way as ordinary 32-pin EPROMs (HN27C101). Figure 17.2
shows the correspondence between SH7034 pins and HN27C101 pins. Figure 17.3 shows the
memory map of the on-chip ROM.
The address range of the HN27C101 (128 kbytes) is H'00000–H'1FFFF. The on-chip PROM (64
kbytes) is not found in the latter half (H'10000–H'1FFFF).
When programming with a PROM programmer, the program address range must be set to H'0000–
H'FFFF. The data for the H'10000–H'1FFFF address area should all be H'FF. Set byte mode, not
page mode.
448
Mode Setting Pins
MD2
MD1
MD0
0
0
0
0
0
1
0
1
0
1
1
1
Area 0
On-chip ROM disabled, external 8-bit space
On-chip ROM disabled, external 16-bit
space
On-chip ROM enabled
—