English
Language : 

HD404639R Datasheet, PDF (111/135 Pages) Renesas Technology Corp – 4-Bit Single-Chip Microcomputer
HD404639R Series
MCU Mode
PROM Mode
MCU Mode
PROM Mode
Pin No. Pin Name
I/O Pin Name
I/O Pin No. Pin Name
I/O Pin Name I/O
51
R60
I/O A1
I 66
R93
I/O O1
I/O
52
R61
I/O A2
I 67
RA0
I/O O0
I/O
53
R62
I/O A3
I 68
RA1
I/O VCC
54
R63
I/O A4
I 69
RA2
I/O
55
R70
I/O O0
I/O 70
RA3
I/O
56
R71
I/O O1
I/O 71
RB0
I/O
57
R72
I/O O2
I/O 72
RB1
I/O
58
R73
I/O O3
I/O 73
RB2
I/O
59
R80
I/O O4
I/O 74
RB3
I/O
60
R81
I/O O5
I/O 75
RC0
I/O
61
R82
I/O O6
I/O 76
SEL
I
62
R83
I/O O7
I/O 77
TONEC
O
63
R90
I/O O4
I/O 78
TONER
O
64
R91
I/O O3
I/O 79
VCC
VCC
65
R92
I/O O2
I/O 80
VT ref
VCC
Notes: 1. I/O: Input/output pin, I: Input pin, O: Output pin
2. Each of O0–O4 has two pins; before using, each pair must be connected together.
Programming the Built-In PROM
The MCU’s built-in PROM is programmed in PROM mode. PROM mode is set by pulling TEST, M0, and
M1 low, and RESET high as shown in figure 93. In PROM mode, the MCU does not operate, but it can be
programmed in the same way as any other commercial 27256-type EPROM using a standard PROM
programmer and an 80-to-28-pin socket adapter. Recommended PROM programmers and socket adapters
of the HD407A4639 are listed in table 30.
Since an HMCS400-series instruction is ten bits long, the HMCS400-series MCU has a built-in conversion
circuit to enable the use of a general-purpose PROM programmer. This circuit splits each instruction into
five lower bits and five upper bits that are read from or written to consecutive addresses. This means that
if, for example, 16 kwords of built-in PROM are to be programmed by a general-purpose PROM
programmer, a 32-kbyte address space ($0000–$7FFF) must be specified.
Warnings
1. Always specify addresses $0000 to $7FFF when programming with a PROM programmer. If address
$8000 or higher is accessed, the PROM may not be programmed or verified correctly. Set all data in
unused addresses to $FF.
Note that the plastic-package version cannot be erased or reprogrammed.
109