
430
CHAPTER 21 FLASH MEMORY
[Bit 5]: TLOVER (timing limit excess flag)
The timing limit excess flag notifies the user that automatic algorithm execution exceeded
the time (internal pulse count) defined in the flash memory.
❍
At write/chip sector erase
If the defined time (time required for write/erase) is not exceeded when read access is
attempted after the automatic algorithm for write or chip sector erase has been activated, the
timing limit excess flag becomes 0.
If the defined time is exceeded, this flag becomes 1. This flag value has no relationship to
whether the automatic algorithm is being executed or has terminated; however, it allows to
determine whether write/erase has been successful or unsuccessful. That is, if the automatic
algorithm is still being executed by the data polling or toggle bit function when this flag
becomes 1, writing was obviously unsuccessful.
For example, if an attempt is made to write 1 at a flash memory address where 0 was
already written, a failure occurs. In this case, the flash memory becomes locked and the
automatic algorithm does not terminate. For this reason, the data polling indication is not
valid. Also, the toggle bit flag continues the toggle operation till the time limit is exceeded.
The timing limit excess flag outputs 1. This status indicates that the flash memory was not
used correctly; it does not indicate that the flash memory is faulty. If this status occurs,
execute the Reset command.
[Bit 3]: SETIMR (sector erase timer flag)
The sector erase timer flag notifies the user whether the sector erase wait period has been
exceeded after the Sector Erase command has been activated.
❍
During sector erase operation
If the sector erase wait period is not exceeded when read access is attempted after the
Sector Erase command has been activated, the flash memory outputs 0. If the sector erase
wait period has been exceeded, the flash memory outputs 1. This output, however, does not
depend on the address of the sector for which the command was issued.
If this flag is 1 when the erase algorithm is being executed by the data polling or toggle bit
function, the erase processing to be controlled internally has already started. Writing of
subsequent sector erase codes or commands other than the Erase Temporary Stop
command are ignored until erase is terminated. If this flag is 0, the flash memory accepts
writing commands for additional sector erase codes. To check this, the status of this flag
should be checked before writing the subsequent sector erase codes. If this flag is set to 1
as a result of the second status check, additional sector erase codes may have not been
accepted.
❍
When a sector erase operation is stopped temporarily
If the indicated address belongs to the sector being erased when read access is attempted
during a sector erase temporary stop, the flash memory outputs 1. If the indicated address
does not belong to the sector being erased, the flash memory outputs bit 3 (DATA: 3) of the
read value at the indicated address.
[Bit 2]: TOGGL2 (toggle bit flag 2)
In addition to the toggle bit (bit 6), toggle bit flag 2 notifies the user with the toggle bit function
whether the flash memory is in the process of the automatic erase operation or in erase
temporary stop status.
❍
At write/chip sector erase
The toggle operation of this bit is the same as that of toggle bit 2.
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......