XC2200 Derivatives
System Units (Vol. 1 of 2)
Memory Organization
User’s Manual
3-31
V2.1, 2008-08
MemoryX2K, V1.3
Read accesses to the busy flash module are not possible. Read accesses to the not busy
flash module are especially supported. Reading a busy flash module stalls until the flash
module becomes ready again.
If write protection is installed for the sector to be erased, the Erase Sector command is
only accepted when write protection has before been disabled using the unlock
command sequence “
”. If global write protection is installed
with read protection, also the command “
” can be used if no
sector specific protection is installed. If write protection is not disabled when the “
” command is received, the command is not executed, and the protection error
flag PROER is set in the IMB_FSR.
This command must not be issued when the flash memory is in page mode. In this case
it is ignored and a sequence error is reported.
Erase Page
Arguments: PA
Definition:
MOV XXAA
H
, XX80
H
MOV XX54
H
, XXAA
H
MOV PA, XX03
H
Timing: 3-cycle command that sets BUSY for the whole erasing duration.
Description: The addressed page is erased. Following data reads deliver all-zero data
with correct ECC.
With the last cycle of the “
” command, the command mode is entered,
indicated by activation of the ERASE flag and after start of erase operation also by the
related BUSY flag in the status register IMB_FSR. BUSY is cleared automatically after
finishing the operation but ERASE stays set. It is cleared by a System Reset or the
“
” command.
Read accesses to the busy flash array are not possible. Read accesses to the not busy
flash modules are especially supported. Reading a busy flash module stalls until the
flash module becomes ready again.
If the page to be erased belongs to a sector which is write protected, the command is
only executed when write protection has before been disabled (see “
command).
In case of using the page erase care must be taken not to exceed the drain disturb limit
of the other pages of the same sector.
This command must not be issued when the flash memory is in page mode. In this case
it is ignored and a sequence error is reported.