
427
CHAPTER 21 FLASH MEMORY
21.5 Checking the Automatic Algorithm Execution Status
The flash memory uses hardware for notifying the user of the internal operation status
of flash memory and operation completion so as to perform the operation sequence
for write/erase via the automatic algorithm. This automatic algorithm can use the
following hardware sequence flags to check the operation status of flash memory:
■
Ready/Busy signal (RDY/BUSYX)
Besides the hardware sequence flags, the flash memory has the Ready/Busy signal as a means
of notifying the user whether the automatic algorithm is being executed or has terminated. This
Ready/Busy signal is connected to the flash memory interface circuit and can be read as the
RDY bit of the flash memory status register (FLCR). At the rising edge of this signal, an interrupt
request can also be issued to the CPU.
When the read value of the RDY bit is 0, data is being written to, or read from the flash memory.
At this time, flash memory does not accept Write and Erase commands. When the read value of
the RDY bit is 1, the flash memory is in read/write status or in erase operation wait status.
■
Hardware sequence flags
The value of the hardware sequence flag can be obtained as a data item by reading the
respective flash memory address (an odd address during byte access) during execution of the
automatic algorithm. In this data item, five bits are effective, each is used to indicate the status
of the automatic algorithm.
These flags are meaningless in FR-CPU ROM mode. Be sure to execute half word or byte read
only in FR-CPU programming mode.
(Undefined)
15
8
Hardware sequence flag
Hardware sequence flag
7
0
At halfword read
7
0
At byte read (odd address only)
Note: Word read is inhibited (use only the FR-CPU programming mode).
6
7
5
4
2
3
1
0
TOGGLE
DPOLL
TLOVER
(Undefined)
(Undefined) (Undefined)
TOGGL2
SETIMR
bit
(At halfword or byte access)
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: ......