Flash Memory Sector Address Registers - Samsung S3F80P5X User Manual

S3f80p5 microcontrollers
Table of Contents

Advertisement

EMBEDDED FLASH MEMORY INTERFACE

FLASH MEMORY SECTOR ADDRESS REGISTERS

There are two sector address registers for the erase or programming flash memory. The FMSECL (Flash Memory
Sector Address Register Low Byte) indicates the low byte of sector address and FMSECH (Flash Memory
Address Sector Register High Byte) indicates the high byte of sector address.
One sector consists of 128-bytes. Each sector's address starts XX00H or XX80H, that is, a base address of
sector is XX00H or XX80H. So bit .6-.0 of FMSECL don't mean whether the value is '1' or '0'. We recommend that
it is the simplest way to load the sector base address into FMSECH and FMSECL register. When programming
the flash memory, user should program after loading a sector base address, which is located in the destination
address to write data into FMSECH and FMSECL register. If the next operation is also to write one byte data,
user should check whether next destination address is located in the same sector or not. In case of other sectors,
user should load sector address to FMSECH and FMSECL Register according to the sector. (Refer to page 14-14
PROGRAMMING TIP — Programming)
14-6
Flash Memory Sector Address Register (FMSECH)
MSB
.7
.6
Flash Memory Sector Address(High Byte)
NOTE:
The High- Byte flash memory sector address pointer value is the
higher eight bits of the 16-bit pointer address.
Figure 14-5. Flash Memory Sector Address Register (FMSECH)
Flash Memory Sector Address Register (FMSECL)
MSB
.7
.6
Flash Memory Sector Address(Low Byte)
NOTE:
The Low- Byte flash memory sector address pointer value is the
lower eight bits of the 16-bit pointer address.
Figure 14-6. Flash Memory Sector Address Register (FMSECL)
ECH, Set1, Bank 1, R/W
.5
.4
.3
.2
EDH, Set1, Bank 1, R/W
.5
.4
.3
.2
Don't Care
S3F80P5_UM_ REV1.00
.1
.0
LSB
.1
.0
LSB

Advertisement

Table of Contents
loading

Table of Contents