Samsung F8278X Computer Hardware User Manual


 
EMBEDDED FLASH MEMORY INTERFACE S3F8275X
16-4
Flash Memory Sector Address Registers
There are two sector address registers for addressing a sector to be erased. The FMSECL (Flash Memory Sector
Address Register Low Byte) indicates the low byte of sector address and FMSECH (Flash Memory Sector
Address Register High Byte) indicates the high byte of sector address.
The FMSECH is needed for S3F8275X because it has 128 sectors, respectively. One sector consist of 128-bytes.
Each sector's address starts XX00H or XX80H, that is, a base address of sector is XX00H or XX80H. So FMSECL
register 6-0 don't mean whether the value is ‘1' or '0'. We recommend that the simplest way is to load sector base
address into FMSECH and FMSECL register.
When programming the flash memory, you should write data after loading sector base address located in the
target address to write data into FMSECH and FMSECL register. If the next operation is also to write data, you
should check whether next address is located in the same sector or not. It case of other sectors, you must load
sector address to FMSECH and FMSECL register according to the sector.
Flash Memory Sector Address Register, High Byte (FMSECH)
F2H, Set 1, Bank 1, R/W
.7 .6 .5 .4 .3 .2 .1 .0MSB LSB
Flash Memory Setor 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 16-3. Flash Memory Sector Address Register, High Byte (FMSECH)
Flash Memory Sector Address Register, Low Byte (FMSECL)
F3H, Set 1, Bank 1, R/W
.7 .6 .5 .4 .3 .2 .1 .0MSB LSB
Don't care
NOTE:
The low-byte flash memory sector address pointer
value is the lower eight bits of the 16-bit pointer address.
Flash Memory Sector Address (Low Byte)
Figure 16-4. Flash Memory Sector Address Register, Low Byte (FMSECL)