EMBEDDED FLASH MEMORY INTERFACE S3F80P5_UM_ REV1.00
User Program Mode
This mode supports sector erase, byte programming, byte read and one protection mode (Hard Lock Protection).
The S3F80P5 has the internal pumping circuit to generate high voltage. Therefore, 12.5V into Vpp (TEST) pin is
not needed. To program a flash memory in this mode several control registers will be used.
There are four kind functions in user program mode – programming, reading, sector erase, and one protection
mode (Hard lock protection).
ISPTM (ON-BOARD PROGRAMMING) SECTOR
ISPTM sectors located in program memory area can store On Board Program Software (Boot program code for
upgrading application code by interfacing with I/O port pin). The ISPTM sectors can’t be erased or programmed by
‘LDC’ instruction for the safety of On Board Program Software.
The ISP sectors are available only when the ISP enable/disable bit is set 0, that is, enable ISP at the Smart
Option. If you don’t like to use ISP sector, this area can be used as a normal program memory (can be erased or
programmed by ‘LDC’ instruction) by setting ISP disable bit (“1”) at the Smart Option. Even if ISP sector is
selected, ISP sector can be erased or programmed in the tool program mode by serial programming tools.
The size of ISP sector can be varied by settings of smart option (Refer to Figure 2-2 and Table 14-1). You can
choose appropriate ISP sector size according to the size of On Board Program Software.
Internal
Program
Memory
(Flash)
1Kbyte
Internal RAM
Interrupt Vector Area
ISP Sector
Smart Option Rom Cell
65,536
255
000H
0FFH
FC00H
FFFFH
01FFH, 02FFH, 04FFH or 08FFH
03CH
03FH
(Decimal) (HEX)
S3F8 0P5( 18K byte)
Note 1
47FFH
16,383
Figure 14-1. Program Memory Address Space
14-2