English
Language : 

SM5953 Datasheet, PDF (40/43 Pages) SyncMOS Technologies,Inc – Six interrupt sources with two priority levels
SM5953
8-Bit Micro-controller
15KB with ISP Flash
& 256B RAM embedded
12.3 Program the ISP Service Program
After Lock Bit N is set and ISP service program been programmed, the ISP service program memory will be
protected (locked) automatically. The lock bit N has its own program/erase timing. It is different from the flash
memory program/erase timing so the locked ISP service program can not be erased by flash erase function. If user
needs to erase the locked ISP service program, he can do it by writer only. User can not change ISP service
program when SM5953 was in system.
12.4 Initiate ISP Service Program
To initiate the ISP service program is to load the program counter (PC) with start address of ISP service program
and execute it. There are four ways to do so:
(1) Blank reset. Hardware reset with first flash address blank ($0000=#FFH) will load the PC with start
address of ISP service program.
(2) Execute jump instruction can load the start address of the ISP service program to PC.
(3) RESET is asserted with P2.6 and P2.7 both at low state. User can change enable or disable by writer.
During the strobe window, the hardware will detect the status of P2.6 and P2.7. If they meet one of above
conditions, chip will switch to ISP mode automatically. After ISP service program executed, user need to reset the
SM5953, either by hardware reset or by WDT, or jump to the address $0000 to re-start the firmware program.
12.5 ISP register – ISPFAH, ISPFAL, ISPFD and ISPC
Mnemonic
Description
ISPFAH
ISPFAL
ISPFD
ISPC
ISP Flash
Address – High
register
ISP Flash
Address - Low
register
ISP Flash Data
register
ISP Control
register
Dir. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RST
ISP function
F4h
ISPFAH [7:0]
00H
F5h
ISPFAL [7:0]
F6h
ISPFD [7:0]
F7h START
-
-
-
-
-
00H
00H
ISPF[1:0]
00H
Mnemonic: ISPFAH
7
6
5
ISPFAH7 ISPFAH6 ISPFAH5
4
ISPFAH4
3
ISPFAH3
2
ISPFAH2
1
ISPFAH1
Address: F4H
0
Reset
ISPFAH0 00H
ISPFAH [7:0]: Flash address-high for ISP function
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M074
Ver D SM5953 04/16/2015
- 39 -