367
16.7 Execution Status of the Automatic Algorithm
Suppose that the data polling and toggle bit functions indicate that the erase algorithm is
running. If this flag is "1" in this case, an internally controlled erase operation has started and
succeeding command entries are ignored until the data polling or toggle bit indicates the end of
the erase operation. (Only the input of a temporary erase stop code is accepted.)
When this flag is "1", flash memory accepts another sector erase code entry. In this case, it is
recommended to check the status of this flag by software before writing the succeeding sector
erase code. If this flag is "1" at the second time of status check, the additional sector erase
code may not be accepted.
When a read operation is performed during a temporary sector erase stop operation, flash
memory outputs "1" if the address indicated by the address signal is included in the sector that
is subject to the erase operation. If the address is not included in the sector that is subject to
the erase operation, flash memory outputs the data of bit 3 of the read value at the address
indicated by the address signal.
[bit 2] TOGGL2 (Toggle bit)
❍
Sector erase operation status
Together with toggle bit 6, this toggle bit is used to indicate whether flash memory is subject to
automatic erase operation or temporary erase stop operation. If data is read consecutively from
a sector that is subject to erasing during an automatic erase operation, bit 2 toggles. If data is
consecutively read from a sector that is subject to a temporary erase stop operation when flash
memory is in temporary erase stop and read mode, bit 2 toggles also.
If addresses are read consecutively from a sector not subject to a temporary erase stop
operation when flash memory is in temporary erase stop and write mode, bit 2 becomes "1".
Unlike bit 2, bit 6 toggles only in usual write and erase or temporary erase stop and write
operations.
For example, bit 2 and bit 6 are used together to detect a temporary erase stop and read mode
(bit 2 toggles but bit 6 does not). Bit 2 is also used to detect sectors that are subject to erase
operations. If data is read from a sector that is subject to an erase operation for the flash
memory, bit 2 toggles.
Содержание MB91F109
Страница 2: ......
Страница 3: ...FUJITSU LIMITED FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...
Страница 4: ......
Страница 10: ...vi ...
Страница 24: ...xx ...
Страница 95: ...71 2 10 Operation Mode MODR writing RSTX reset MD2 1 0 BW1 and BW0 of AMD0 to AMD5 Bus width specification ...
Страница 96: ...72 CHAPTER 2 CPU ...
Страница 224: ...200 CHAPTER 4 BUS INTERFACE ...
Страница 234: ...210 CHAPTER 5 I O PORTS ...
Страница 268: ...244 CHAPTER 9 U TIMER ...
Страница 290: ...266 CHAPTER 10 UART ...
Страница 314: ...290 CHAPTER 12 16 BIT RELOAD TIMER ...
Страница 322: ...298 CHAPTER 13 BIT SEARCH MODULE ...
Страница 392: ...368 CHAPTER 16 FLASH MEMORY ...
Страница 432: ...408 APPENDIX E Instructions F Table E 2 Instruction Formats OP rel11 5 11 ...
Страница 448: ...424 APPENDIX E Instructions ...
Страница 449: ...425 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 458: ...434 INDEX ...
Страница 460: ......
Страница 461: ...FUJITSU SEMICONDUCTOR FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...