Temporarily Stopping And Restarting Sector Erase - Fujitsu MB91150 Series Hardware Manual

32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 21 FLASH MEMORY

21.6.4 Temporarily Stopping and Restarting Sector Erase

This section describes how to temporarily stop flash memory sector erase by issuing
the Sector Erase Temporary Stop command and how to restart the temporarily
stopped flash memory sector erase by issuing the Sector Erase Restart command.
During this operation, data can still be read from sectors not erased.
I Stopping sector erase temporarily
Flash memory sector erase can be stopped temporarily by continuously issuing the Sector
Erase Temporary Stop command (see Table 21.4-1 "Command sequence") to flash memory.
The Sector Erase Temporary Stop command stops sector erase temporarily to enable data read
from unerased sectors. In this status, data can be read but cannot be written. This command is
valid only during a sector erase operation (including the erase wait time); it is ignored during
chip erase or write operations.
Sector erase temporary stop is executed by writing the erase temporary stop code (B0H) but the
address at this time must be specified in such a way that it indicates any address in flash
memory. Reissuance of the Sector Erase Temporary Stop command during erase temporary
stop is ignored.
When the Sector Erase Temporary Stop command is entered during the sector erase wait
period, flash memory releases sector erase wait immediately, interrupts the erase operation,
and enters the erase stop status. If the Sector Erase Temporary Stop command is entered
during sector erase processing after the sector erase wait period has elapsed, the flash memory
waits for up to 15µs before entering the erase temporary stop status.
I Restarting sector erase
The temporarily stopped sector erase can be restarted by continuously transmitting the Sector
Erase Restart command (see Table 21.4-1 "Command sequence") to flash memory.
The Sector Erase Restart command restarts sector erase from the sector erase temporary stop
status set by the Sector Erase Temporary Stop command. This command is executed by writing
the erase restart code (30H), but the address at this time must be specified in such a way that it
indicates any address in flash memory.
Any issued Sector Erase Restart commands during sector erase are ignored.
438

Advertisement

Table of Contents
loading

Table of Contents