SM59264IHHK SYNCMOS [SyncMOS Technologies,Inc], SM59264IHHK Datasheet - Page 16

no-image

SM59264IHHK

Manufacturer Part Number
SM59264IHHK
Description
8 - Bit Micro-controller with 128KB flash & 1KB RAM embedded
Manufacturer
SYNCMOS [SyncMOS Technologies,Inc]
Datasheet
Specifications subject to change without notice,contact your sales representatives for the most recent information.
To perform byte program/page erase ISP function, user need to specify flash address at first. When performing page
erase function, SM59264 will erase entire page which flash address indicated by ISPFAH & ISPFAL registers located
within the page.
e.g. flash address: $XYMN
To perform the chip erase ISP function, SM59264 will erase all the flash program memory and data flash memory except
the ISP service program space if lock bit N been configured. Also, SM59264 will un-protect the flash memory automati-
cally. To perform chip protect ISP function, all the flash memory will be read #00H.
e.g. ISP service program to do the byte program - to program #22H to the address $1005H
4. Watch Dog Timer
The Watch Dog Timer (WDT) is a 16-bit free-running counter that generate reset signal if the counter overflows. The WDT
is useful for systems which are susceptible to noise, power glitches, or electronics discharge which causing software dead
loop or runaway. The WDT function can help user software recover from abnormal software condition. The WDT is differ-
ent from Timer0, Timer1 and Timer2 of general 8052. To prevent a WDT reset can be done by software periodically clear-
ing the WDT counter. User should check WDR bit of SCONF register whenever unpracticed reset happened
The purpose of the secure procedure is to prevent the WDTC value from being changed when system runaway.
There is a 250KHz RC oscillator embedded in chip. Set WDTE = “1” will enable the RC oscillator and the frequency is
independent to the system frequency.
To enable the WDT is done by setting 1 to the bit 7 (WDTE) of WDTC. After WDTE set to 1, the 16-bit counter starts to
count with the RC oscillator. It will generate a reset signal when overflows. The WDTE bit will be cleared to 0 automatically
when SM59264 been reset, either hardware reset or WDT reset.
To reset the WDT is done by setting 1 to the CLEAR bit of WDTC before the counter overflow. This will clear the content of
the 16-bit counter and let the counter re-start to count from the beginning.
page erase function will erase from $XY00 to $X(Y+1)FF (Y: even number), or
page erase function will erase from $X(Y-1)00 to $XYFF (Y: odd number)
MOV ISPFD, #55H
MOV ISPFD, #AAH
MOV ISPFD, #55H
MOV $BF, #04H
MOV $F4, #10H
MOV $F5, #05H
MOV $F6, #22H
MOV $F7, #80H
SyncMOS Technologies Inc.
May 2002
; enable SM59264 ISP function
; after byte program finished, START bit of FCR will be reset to 0 automatically
; program counter then point to the next instruction
; 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
16/32
Ver 1.0
PID 59264 05/02
SM59264

Related parts for SM59264IHHK