sm59128 SyncMOS Technologies,Inc, sm59128 Datasheet - Page 13

no-image

sm59128

Manufacturer Part Number
sm59128
Description
8-bits Micro-controller Embedded 128kb Flash & 1kb Ram & Iic & Spwm
Manufacturer
SyncMOS Technologies,Inc
Datasheet
Hardware setting to enter/execute ISP service program:
User can initiate general 8052 UART function to initiate the ISP service program. After ISP service program executed,
user needs to reset the SM59128, either by hardware reset or by WDT, or jump to the address $0000 to re-start the
firmware program.
3.5 ISP Registers - System Control Register (SCONF, $BF)
The bit 2 (ISPE) of SCONF is the bit for ISP enable. User can enable overall ISP function by setting ISPE bit to ‘1’,
setting ISPE to ‘0’ will disable overall ISP function.
The function of ISPE is like a security key. User can disable overall ISP function to prevent user’s software program be
erased accidentally.
3.6 ISP Registers: ISPFAH, ISPFAL, ISPFD and ISPC registers
The ISPFAH & ISPFAL provide the 16-bit flash memory addressing for ISP function. The flash memory address should
not include the ISP service program space address. If the address of ISPFAH & ISPFAL registers overlay the ISP
service program space that is under protection, the ISP function of flash program/page erase can not be executed
effectively. When performing byte program ISP function, the content of ISPFD register will be programmed to the flash
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M027Ver: B SM59128
(2) ‘JUMP’ instruction: Load the starting address of the ISP service program to PC and execute.
(3) Hardware setting: User can force SM59128 to enter/execute ISP service program by setting P2.6, P2.7 as “low”
Read / Write:
Reset value:
or setting P4.3 as “low” during hardware reset period. User must be careful on setting of P2.6, P2.7 and P4.3
during reset period to prevent SM59128 from accidentally entering ISP service program.
SyncMOS Technologies International, Inc.
WDTE
bit-7
R/W
0
Unused
*
-
Unused
*
-
Unused
13
Embedded 128KB flash & 1KB RAM & IIC & SPWM
*
-
BANK
R/W
0
ISPE
R/W
0
8-Bits Micro-controller
OME
R/W
0
SM59128
06/2009
ALEI
bit-0
R/W
0

Related parts for sm59128