EM78P813
8-bit OTP Micro-controller
MAX 2M Byte Expand ROM
(FLASH ROM)
64K Program ROM
Expand Data ROM start address
RF PAGE2
128K word Program ROM
(PAGE0~PAGE127)
IOCB
B7 b7
b0
b7
Unused
RF PAGE1
b0
0 0 0 X X X X X X X X X X X X X X X X X 0
ROM
Address
17
ROM
Address
9
ROM
Address
0
256K byte
Data ROM
ExpandData ROM
EM78P813
(EXSEL pin pull high)
Fig5(b) : EXSEL = 1, only external program are used.
How to set start address for expanding Data ROM?
EM78815 support maximum 2M Byte expanding data memory, but user must fix the start address of external
program at 0x00000 and set start address of expanding Data ROM by user. By this way, MCU will get data from external
memory if the data ROM is over 256K.
The width of an instruction is 13 bit and the data bus for external memory is 8bit, so an instruction will captured two
address size and the LSB address of start address at external ROM will be 0. Besides, EM78815 only support MAX 128K
program, so the start address of Data ROM will smaller than 256K-2 andA20, A19 and A18 will be 0 also.
User only has to
according to write Data ROM address A17~A1 to IOCB PAGE2 bi7,RF PAGE3 and RF PAGE2.
EM78P813 writer pin
OTP writer PIN NAME
1.VDD
2.VPP
3.DINCK
4.ACLK
5.PGM
6.OE
7.DATA
8.GND
9.ROMSEL
MASK ROM PIN NAME
VDD,AVDD
/RESET
P77
P76
P75
P74
P73
VSS,AVSS,TEST
P72
P.S.
High : Data ROM
Low : Program ROM
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
12
2004/8/19 (V1.6)