EMBEDDED FLASH MEMORY INTERFACE S3F80P5_UM_ REV1.00
NOTES
1. By setting ISP Reset Vector Change Selection Bit (3EH.7) to ‘0’, user can have the available ISP
area.
If ISP Reset Vector Change Selection Bit (3EH .7) is ‘1’, 3EH.6 and 3EH.5 are meaningless.
2. If ISP Reset Vector Change Selection Bit (3EH.7) is ‘0’, user must change ISP reset vector address
from 0100H to some address which user w ant to set reset address (0200H, 0300H, 0500H or
0900H).
If the reset vector address is 0200H, the ISP ar ea can be assigned from 0100H to 01FFH (256bytes).
If 0300H, the ISP area can be assigned from 0100H to 02FFH (512bytes). If 0500H, the ISP area can
be from 0100H to 04FFH (1024bytes). If 0900H, the ISP area can be from 0100H to 08FFH
(2048bytes).
3. If ISP Protection Enable/Disable Bit is ‘0’, user can’t erase or program the ISP area selected by
3EH.1 and 3EH.0 in flash memory.
4. User can select suitable ISP protection size by 3EH.1 and 3EH.0. If ISP Protection Enable/Disable Bit
(3EH.2) is ‘1’, 3EH.1 and 3EH.0 are meaningless.
Table 14-1. ISP Sector Size
Smart Option (003EH) ISP Size Selection Bit
Bit 2 Bit 1 Bit 0 Area of ISP Sector ISP Sector Size
1 x x 0 0
0 0 0 100H – 1FFH (256 Bytes) 256 Bytes
0 0 1 100H – 2FFH (512 Bytes) 512 Bytes
0 1 0 100H – 4FFH (1024 Bytes) 1024 Bytes
0 1 1 100H – 8FFH (2048 Bytes) 2048 Bytes
NOTE: The area of the ISP sector selected by smart option bit (3EH.2 – 3EH.0) can’t be erased and programmed by ‘LDC’
instruction in user program mode.
ISP RESET VECTOR AND ISP SECTOR SIZE
If you use ISP sectors by setting the ISP enable/disable bit to “0” and the reset vector selection bit to “0” at the
smart option, you can choose the reset vector address of CPU as shown in Table 14-2 by setting the ISP reset
vector address selection bits. (Refer to Figure 2-2 Smart Option).
Table 14-2. Reset Vector Address
Smart Option (003EH)
ISP Reset Vector Address Selection Bit
Bit 7 Bit 6 Bit 5
Reset Vector
Address after POR Usable Area for
ISP Sector ISP Sector Size
1 x x 0100H 0 0
0 0 0 0200H 100H – 1FFH 256 Bytes
0 0 1 0300H 100H – 2FFH 512 Bytes
0 1 0 0500H 100H – 4FFH 1024 Bytes
0 1 1 0900H 100H – 8FFH 2048 Bytes
NOTE: The selection of the ISP reset vector address by Smart Option (003EH.7 – 003EH.5) is not dependent of the
selection of ISP sector size by Smart Option (003EH.2 – 003EH.0).
14-4