beautypg.com

FUJITSU F2MCTM-16LX User Manual

Page 556

background image

540

CHAPTER 24 512K-BIT FLASH MEMORY

To determine whether automatic writing or chip erase is being executed, the hardware sequence flags can

be checked or the status can be determined from the RDY bit of the flash memory control status register

(FMCS) that indicates whether writing has been completed. After writing/erasing has terminated, the state

returns to the read/reset state. When creating a program, use one of the flags to confirm that automatic

writing/erasing has terminated. Then, perform the next processing operation, such as data read. The

following sections describe each hardware sequence flag separately. Table 24.6-2 lists the functions of the

hardware sequence flags.

Table 24.6-2 Hardware Sequence Flag Function

State

DQ7 DQ6 DQ5

State change for
normal operation

Write

→ Write completed

(write address specified)

DQ7

DATA:7

Toggle

DATA:6

0

DATA:5

Chip/selector erase

→ Erase completed

0

→ 1

Toggle

Stop

0

→ 1

Abnormal operation

Write

DQ7 Toggle

1

Chip erase

0

Toggle

1