364
CHAPTER 16 FLASH MEMORY
16.7 Execution Status of the Automatic Algorithm
This flash memory has two hardware components for performing a Write or Erase
sequence in the automatic algorithm. These components indicate the internal
operation status of flash memory and the completion of operations to external
components. One is a Ready/Busy signal and the other is a hardware sequence flag.
■
Ready/Busy Signal (RDY/BUSYX)
The flash memory uses the Ready/Busy signal in addition to the hardware sequence flag to
indicate whether the internal automatic algorithm is running. The Ready/Busy signal is
transmitted to the flash memory interface circuit, where it can be read via the "RDY" bit of the
flash memory status register. An interrupt signal can also be generated for the CPU at the
rising edge of this Ready/Busy signal (see Section 16.1, "Outline of Flash Memory").
When the value of the "RDY" bit is "0", the flash memory is executing a write or erase operation,
where new Write and Erase commands are not accepted.
When the value of the "RDY" bit is "1", the flash memory is in read/write or erase operation wait
state.
■
Hardware Sequence Flag
For obtaining the hardware sequence flag as data, read an arbitrary address (an odd address in
byte access) from flash memory when the automatic algorithm is executed. The data contains
five validity bits which indicate the status of the automatic algorithm.
Figure 16.7-1 shows the structure of the hardware sequence flag.
Reading in units of words is inhibited.
Figure 16.7-1 Structure of the Hardware Sequence Flag
The hardware sequence flag becomes invalid in FR-CPU ROM mode. Always use FR-CPU
programming mode and write only in half-words or bytes.
15
8
0
7
0
SETIMR TOGGL2
DPOLL TOGGLE TLOVER
7
7
3
4
5
6
0
1
2
bit
During half-word read
Hardware sequence flag
During byte read (from odd address only)
Hardware sequence flag
(In half-word and byte access)
Undefined
Undefined
Undefined
(Undefined)
Summary of Contents for MB91F109
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...
Page 4: ......
Page 10: ...vi ...
Page 24: ...xx ...
Page 96: ...72 CHAPTER 2 CPU ...
Page 224: ...200 CHAPTER 4 BUS INTERFACE ...
Page 234: ...210 CHAPTER 5 I O PORTS ...
Page 268: ...244 CHAPTER 9 U TIMER ...
Page 290: ...266 CHAPTER 10 UART ...
Page 314: ...290 CHAPTER 12 16 BIT RELOAD TIMER ...
Page 322: ...298 CHAPTER 13 BIT SEARCH MODULE ...
Page 392: ...368 CHAPTER 16 FLASH MEMORY ...
Page 432: ...408 APPENDIX E Instructions F Table E 2 Instruction Formats OP rel11 5 11 ...
Page 448: ...424 APPENDIX E Instructions ...
Page 449: ...425 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 458: ...434 INDEX ...
Page 460: ......
Page 461: ...FUJITSU SEMICONDUCTOR FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...