English
Language : 

SM59D03G2 Datasheet, PDF (33/67 Pages) SyncMOS Technologies,Inc – 8-Bits Micro-controller
SM59D03G2
8-Bits Micro-controller
8KB+ ISP Flash & 1KB RAM embedded
9 ISP (In-System Programming)
The SM59D03G2 can perform ISP or In-Application Programming (IAP) function by putting the ISP
service code into the assigned ISP code area as shown in Table 9-1. One page of Flash memory is
512bytes.
Table 9-1: ISP code area
SM59D03G2
Lock-bit number
ISP code area
1
512 bytes (from $3E00h to $3FFF)
2
1K bytes (from $3C00h to $3FFF)
3
1.5K bytes (from $3A00h to $3FFF)
4
2K bytes (from $3800h to $3FFF)
5
2.5K bytes (from $3600h to $3FFF)
6
3K bytes (from $3400h to $3FFF)
7
3.5K bytes (from $3200h to $3FFF)
8
4K bytes (from $3000h to $3FFF)
There are three ways to enter the ISP code area. They are
(1) Blank first data:If the first Flash data is blank (data in address 0000h is FFh), the controller will
read it after power on and after identifying it as blank, the program counter will go to the ISP code
area.
(2) Execute the “LJMP” instruction in the program as IAP function.
(3) By hardware setting: After power on reset, if the hardware finds both Port2[6] and Port2[7] are
tied low, or Port4[3] is low, then the program counter will go to the ISP code area. This is shown in
Fig. 9-1.
Fig 9-1:ISP entering by hardware setting
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M030
33
Ver.C SM59D03G2 07/2009