User Program Mode; Isp Tm (On-Board Programming) Sector - Samsung S3F80P5X User Manual

S3f80p5 microcontrollers
Table of Contents

Advertisement

EMBEDDED FLASH MEMORY INTERFACE

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).
ISP
TM
(ON-BOARD PROGRAMMING) SECTOR
TM
ISP
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 ISP
'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.
(Decimal)
65,536
16,383
Note 1
255
14-2
1 Kbyte
Internal RAM
Internal
Program
Memory
(Flash)
ISP Sector
Interrupt Vector Area
Smart Option Rom Cell
0
Figure 14-1. Program Memory Address Space
TM
sectors can't be erased or programmed by
(HEX)
FFFFH
FC00H
47FFH
01FFH, 02FFH, 04FFH or 08FFH
0FFH
03FH
03CH
00H
S3F80P5_UM_ REV1.00
S3F80P5(18Kbyte)

Advertisement

Table of Contents
loading

Table of Contents