English
Language : 

SM59R02G1 Datasheet, PDF (54/57 Pages) SyncMOS Technologies,Inc – Instruction-set compatible with MCS-51
SM59R02G1
8-Bit Micro-controller
8KB with ISP Flash
& 256B RAM embedded
Mnemonic: TAKEY
Address: F7H
7
6
5
4
3
2
1
0
Reset
TAKEY [7:0]
00H
ISP enable bit (ISPE) is read-only by default, software must write three specific values 55h, AAh and 5Ah
sequentially to the TAKEY register to enable the ISPE bit write attribute. That is:
MOV TAKEY, #55h
MOV TAKEY, #AAh
MOV TAKEY, #5Ah
Mnemonic: IFCON
Address: 8FH
7
6
5
4
3
2
1
0
Reset
ITS
CDPR
-
-
ALEC[1:0]
-
ISPE
00H
The bit 0 (ISPE) of IFCON is ISP enable bit. User can enable overall SM59R02G1 ISP function by setting ISPE
bit to 1, to disable overall ISP function by set ISPE to 0. The function of ISPE behaves like a security key. User
can disable overall ISP function to prevent software program be erased accidentally. ISP registers ISPFAH,
ISPFAL, ISPFD and ISPFC are read-only by default. Software must be set ISPE bit to 1 to enable these 4
registers write attribute.
Mnemonic: ISPFAH
Address: E1H
7
6
5
4
3
2
1
0
Reset
-
-
-
ISPFAH4 ISPFAH3 ISPFAH2 ISPFAH1 ISPFAH0 FFH
ISPFAH [4:0]: Flash address-high for ISP function
Mnemonic: ISPFAL
Address: E2H
7
6
5
4
3
2
1
0
Reset
ISPFAL7 ISPFAL6 ISPFAL5 ISPFAL4 ISPFAL3 ISPFAL2 ISPFAL1 ISPFAL0 FFH
ISPFAL [7:0]: Flash address-Low for ISP function
The ISPFAH & ISPFAL provide the 13-bit flash memory address for ISP function. The flash memory address
should not include the ISP service program space address. If the flash memory address indicated by ISPFAH
& ISPFAL registers overlay with the ISP service program space address, the flash program/page erase of ISP
function executed thereafter will have no effect.
Mnemonic: ISPFD
7
6
ISPFD7 ISPFD6
5
4
ISPFD5 ISPFD4
3
ISPFD3
2
ISPFD2
1
ISPFD1
Address: E3H
0
Reset
ISPFD0 FFH
ISPFD [7:0]: Flash data for ISP function.
The ISPFD provide the 8-bit data register for ISP function.
Mnemonic: ISPFC
Address: E4H
7
6
5
4
3
2
1
0
Reset
EMF1 EMF2 EMF3 EMF4
-
ISPF[2] ISPF[1] ISPF[0] 00H
EMF1: Entry mechanism (1) flag, clear by reset. (Read only)
EMF2: Entry mechanism (2) flag, clear by reset. (Read only)
EMF3: Entry mechanism (3) flag, clear by reset. (Read only)
EMF4: Entry mechanism (4) flag, clear by reset. (Read only)
ISPF [2:0]: ISP function select bit.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M061
54
Ver.G SM59R02G1 09/2015