Samsung S3F80JB User Manual

Page 286

Advertising
background image

S3F80JB

EMBEDDED FLASH MEMORY INTERFACE

15-7

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. The FMSECH is needed for
S3F80JB because it has 512 sectors.

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 15-16
PROGRAMMING TIP — Programming)

Flash Memory Sector Address Register (FMSECH)

ECH, Set1, Bank 1, R/W

.7

.6

.5

.4

.3

.2

.1

.0

MSB

LSB

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 15-5. Flash Memory Sector Address Register (FMSECH)

Flash Memory Sector Address Register (FMSECL)

EDH, Set1, Bank 1, R/W

.7

.6

.5

.4

.3

.2

.1

.0

MSB

LSB

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.

Don't Care

Figure 15-6. Flash Memory Sector Address Register (FMSECL)

Advertising