English
Language : 

SM39R08A5 Datasheet, PDF (53/58 Pages) SyncMOS Technologies,Inc – Additional Baud Rate Generator
SM39R08A5
8-Bit Micro-controller
with 8KB Flash
& 256B RAM embedded
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 EEPROM function.
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 byte programming function.
Mnemonic: ISPFC
Address: E4H
7
6
5
4
3
2
1
0
Reset
-
-
-
-
-
ISPF[2] ISPF[1] ISPF[0] 00H
ISPF [2:0]: ISP function select bit.
ISPF[2:0]
ISP function
000
Byte program
010
Page erase
One page of flash memory is 128 byte
The choice EEPROM function will start to execute once the software write data to ISPFC register.
To perform byte program/page erases function, user need to specify flash address at first. When performing
page erase function, SM39R08A5 will erase entire page which flash address indicated by ISPFAH & ISPFAL
registers located within the page.
e.g. flash address: $XYMN
page erase function will erase from $XY00 to $XY7F or $XY80 to $XYFF
e.g. ISP service program to do the byte program - to program #22H to the address $1005H
MOV TAKEY, #55h
MOV TAKEY, #0AAh
MOV TAKEY, #5Ah
ORL IFCON, #01H
MOV ISPFAH, #10H
MOV ISPFAL, #05H
MOV ISPFD, #22H
MOV ISPFC, #00H
MOV TAKEY, #55h
MOV TAKEY, #0AAh
MOV TAKEY, #5Ah
ANL IFCON, #0FEH
; enable ISPE write attribute
; enable SM39R08A5 EEPROM function
; set flash address-high, 10H
; set flash address-low, 05H
; set flash data to be programmed, data = 22H
; start to program #22H to the flash address $1005H
; enable ISPE write attribute
; disable SM39R08A5 EEPROM function
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M067
Ver E SM39R08A5 06/30/2015
- 53 -