English
Language : 

HD6437020 Datasheet, PDF (432/507 Pages) Hitachi Semiconductor – SuperH™ RISC engine
Table 16.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
Mode Setting Pin
MD2 MD1 MD0
0
0
0
0
0
1
0
1
0
1
1
1
Area 0
On-chip ROM invalid, external 8-bit space
On-chip ROM invalid, external 16-bit space
On-chip ROM valid
—
When the SH7021 is set to PROM mode, the PROM version can write programs exactly like
ordinary EPROM using a general purpose EPROM writer.
16.2 PROM Mode
16.2.1 Setting the PROM Mode
To program the on-chip PROM, set the pins as shown in figure 16.2 and use the chip in PROM
mode.
16.2.2 Socket Adapter Pin Correspondence and Memory Map
Mount the socket adapter to the SH7021 as shown in figure 16.2. This allows the on-chip PROM
to be programmed in exactly the same way as ordinary 32-pin EPROMs (HN27C101). Figure 16.2
shows the correspondence of SH7021 pins and HN27C101 pins. Figure 16.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 (34
kbytes) is not found in H'08000–H'1FFFF.
When programming with a PROM writer, the program address range must be set to H'00000–
H'07FFF. The data for the H'08000–H'1FFFF address area should all be H'FF. Set byte mode, not
page mode.
HITACHI 421