sm59d04g2 SyncMOS Technologies,Inc, sm59d04g2 Datasheet - Page 35

no-image

sm59d04g2

Manufacturer Part Number
sm59d04g2
Description
8-bits Micro-controller 16kb+ Isp Flash & 1kb Ram Embedded
Manufacturer
SyncMOS Technologies,Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sm59d04g2C25JP
0
To perform byte program or page erase ISP function, the user needs to first specify the Flash
address. When performing the page erase function, the SM59D04G2 will erase the entire page
indicated by the Flash address in the ISPFAH register located within the page.
To perform chip erase ISP function, the SM59D04G2 will erase all the Flash program memory and
data Flash memory except the ISP program space. Also, the SM59D04G2 will unprotect the Flash
memory automatically if it has been protected by setting the information block bit LOCK=0. If
LOCK is 0, all the Flash memory will be read all zeros.
The following example is to show how the ISP service program does byte program – to program
data of #22h to the address of the $1005h
MOV ISPFD, #055h
MOV ISPFD, #0AAh
MOV ISPFD, #055h
MOV SCONF, #04h
MOV ISPFAH, #10h
MOV ISPFAL, #05h
MOV ISPFD, #22h
MOV ISPFC, #80h
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M031
Ex: Open ISP function:
Any attempt to set START bit will not be allowed without procedure above.
After the START bit set to 1, the SM59D04G2 hardware circuit will latch
the address and data bus and hold the program counter until the START
bit resets to 0 when the ISP function finished. The user does not need to
check the START bit status by software method.
; Open ISP function
; enable ISP function
; Set Flash address high byte
; Set Flash address low byte
; Set Flash data to be programmed
; Start to program data of 22h to the Flash address of the $1005h
; After byte program finished, START bit of ISPC will reset to 0 automatically
; and program counter then point to the next instruction.
MOV ISPFD,#055h
MOV ISPFD,#0AAh
MOV ISPFD,#055h
35
16KB+ ISP Flash & 1KB RAM embedded
Ver.C SM59D04G2 07/2009
8-Bits Micro-controller
SM59D04G2

Related parts for sm59d04g2