English
Language : 

SM5964A Datasheet, PDF (23/30 Pages) SyncMOS Technologies,Inc – 8-Bit Micro-controller With 64KB ISP Flash & TWSI & PWM & 1KB RAM embedded
SyncMOS Technologies International, Inc.
SM5964A
8-Bit Micro-controller
With 64KB ISP Flash & TWSI & PWM & 1KB RAM embedded
ISPFAH ($F4H)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
FA15
FA14
FA13
FA12
FA11
FA10
FA9
FA8
FA15 ~ FA8: flash address-high for ISP function
ISPFAL ($F5H)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
FA7
FA6
FA5
FA4
FA3
FA2
FA1
FA0
FA7 ~ FA0: flash address-low for ISP function
The ISPFAH & ISPFAL provide the 16-bits 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.
ISPFD ($F6H)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
FD7
FD6
FD5
FD4
FD3
FD2
FD1
FD0
FD7 ~ FD0: flash data for ISP function
The ISPFD provide the 8-bits data for ISP function.
ISPC ($F7H)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
START
ISPF[1: 0]: ISP function select bit
START: ISP function start bit
= 1: start ISP function which indicated by bit 1, bit 0 (ISPF1, ISPF0)
= 0: no operation
Bit1
ISPF1
Bit0
ISPF0
The START bit is read-only by default, software must write three specific values 55H, AAH and 55H sequentially to the
ISPFD register to enable the START bit write attribute. That is:
Ex:Open ISP function:
MOV ISPFD, #55H
MOV ISPFD, #0AAH
MOV ISPFD, #55H
Any attempt to set START bit will not be allowed without the procedure above.
After START bit set to 1 then the SM5964A hardware circuit will latch address and data bus and hold the program counter
until the START bit reset to 0 when ISP function finished. User does not need to check START bit status by software
method
ISPF [1:0]
ISP function
00
Byte Program
01
Chip Protect
10
Page erase (512 Bytes)
11
Chip Erase
ISPF[1:0]: ISP function select bits
One page of flash memory is 512 bytes.
To perform byte program / page erase ISP function, user need to specify flash address at first. When performing page
erase function, SM5964A will erase entire page which flash address indicated by ISPFAH registers located within the
page.
To perform chip erase ISP function, SM5964A will erase all the flash program memory and data flash memory except the
Specifications subject to change without notice contact your sales representatives for the most recent information.
23
Ver 2.3 SM5964A 10/2006