SM59A16U1
8-Bit Micro-controller
64KB with ISP Flash
& 6K+256B RAM embedded
21.7
Interface Control Register( IFCON )
Mnemonic: IFCON
Address: 8FH
7
ITS
6
5
4
3
2
1
0
Reset
00H
CDPR
F32K
F16K
ALEC[1] ALEC[0]
EMEN
ISPE
The bit 0 (ISPE) of IFCON is ISP enable bit. User can enable overall SM59A16U1 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.
21.8
ISP Flash Address Register( ISPFAH, ISPFAL )
Mnemonic: ISPFAH
Address: E1H
Reset
7
6
5
4
3
2
1
0
ISPFAH7 ISPFAH6 ISPFAH5 ISPFAH4 ISPFAH3 ISPFAH2 ISPFAH1 ISPFAH0 FFH
ISPFAH [7:0]: Flash address-high for ISP function
Mnemonic: ISPFAL
Address: E2H
7
6
5
4
3
2
1
0
Reset
FFH
ISPFAL7 ISPFAL6 ISPFAL5 ISPFAL4 ISPFAL3 ISPFAL2 ISPFAL1 ISPFAL0
ISPFAL [7:0]: Flash address-Low for ISP function
The ISPFAH & ISPFAL provide the 16-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.
21.9
ISP Flash Data Register( ISPFD )
Mnemonic: ISPFD
Address: E3H
7
6
5
4
3
2
1
0
Reset
FFH
ISPFD7
ISPFD6
ISPFD5
ISPFD4
ISPFD3
ISPFD2
ISPFD1
ISPFD0
ISPFD [7:0]: Flash data for ISP function.
The ISPFD provide the 8-bit data register for ISP function.
21.10 ISP Flash Control Register( ISPFC )
Mnemonic: ISPFC
Address: E4H
7
6
5
4
3
-
2
1
0
Reset
00H
EMF1
EMF2
EMF3
EMF4
ISPF[2]
ISPF[1]
ISPF[0]
EMF1: Entry mechaniOB (1) flag, clear by reset. (Read only)
EMF3: Entry mechaniOB (3) flag, clear by reset. (Read only)
EMF4: Entry mechaniOB (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-M071 Ver A SM59A16U1 04/12/2013
- 137 -