SM5953
8-Bit Micro-controller
15KB with ISP Flash
& 256B RAM embedded
Mnemonic: ISPFAL
Address: F5H
7
6
5
4
3
2
1
0
Reset
00H
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.
Mnemonic: ISPFD
Address: F6H
7
6
5
4
3
2
1
0
Reset
00H
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.
Mnemonic: ISPC
Address: F7H
7
6
-
5
-
4
-
3
-
2
-
1
0
Reset
00H
START
ISPF[1:0]
START: ISP function start bit
= 1: start ISP function which indicated by bit 1, bit 0 (ISPF[1:0])
= 0: no operation
ISPF [1:0]: ISP function select bit.
ISPF[1:0]
ISP function
Byte program
Chip protect
Page erase
Chip erase
00
01
10
11
One page of flash memory is 128byte
The choice ISP function will start to execute once the software write data to ISPC register.
To perform byte program/page erases ISP function, user need to specify flash address at first. When
performing page erase function, SM5953 will erase entire page which flash address indicated by ISPFAH &
ISPFAL registers located within the page.
e.g. flash address: $ XY00
page erase function will erase from $XY00 to $XY7F
To perform the chip erase ISP function, SM5953 will erase all the flash program memory except the ISP
service program space. To perform chip protect ISP function, the SM5953 flash memory content will be read
#00H. The program will miss the interrupt if it happens during the ISP funtion.
e.g. ISP service program to do the byte program - to program #22H to the address $1005H
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M074
Ver B SM5953 12/27/2013
- 40 -