53
6174B–ATARM–07-Nov-05
AT91FR40162S Preliminary
11.2.10
Erase/Program Status Bit
The device offers a status bit on I/O5, which indicates whether the program or erase operation
has exceeded a specified internal pulse count limit. If the status bit is a “1”, the device is unable
to verify that an erase or a byte/word program operation has been successfully performed. If a
program (Sector Erase) command is issued to a protected sector, the protected sector will not
be programmed (erased). The device will go to a status read mode and the I/O5 status bit will be
set high, indicating the program (erase) operation did not complete as requested. Once the
erase/program status bit has been set to a “1”, the system must write the Product ID Exit com-
mand to return to the read mode. The erase/program status bit is a “0” while the erase or
program operation is still in progress. Please see
for more details.
11.2.11
V
PP
Status Bit
The Flashprovides a status bit on I/O3, which provides information regarding the voltage level of
the VPP pin. During a program or erase operation, if the voltage on the VPP pin is not high
enough to perform the desired operation successfully, the I/O3 status bit will be a “1”. Once the
V
PP
status bit has been set to a “1”, the system must write the Product ID Exit command to return
to the read mode. On the other hand, if the voltage level is high enough to perform a program or
erase operation successfully, the V
PP
status bit will output a “0”. Please see
for more details.
11.3
Sector Lockdown
Each sector has a programming lockdown feature. This feature prevents programming of data in
the designated sectors once the feature has been enabled. These sectors can contain secure
code that is used to bring up the system. Enabling the lockdown feature will allow the boot code
to stay in the device while data in the rest of the device is updated. This feature does not have to
be activated; any sector’s usage as a write-protected region is optional to the user.
At power-up or reset, all sectors are unlocked. To activate the lockdown for a specific sector, the
six-bus cycle Sector Lockdown command must be issued. Once a sector has been locked down,
the contents of the sector is read-only and cannot be erased or programmed.
11.3.1
Sector Lockdown Detection
A software method is available to determine if programming of a sector is locked down. When
the device is in the software product identification mode (see
Section 11.8 ”Software Product
and
Section 11.9 ”Software Product Identification Exit”, on page 64
), a read
from address location 00002H within a sector will show if programming the sector is locked
down. If the data on I/O0 is low, the sector can be programmed; if the data on I/O0 is high, the
program lockdown feature has been enabled and the sector cannot be programmed. The soft-
ware product identification exit code should be used to return to standard operation.
11.3.2
Sector Lockdown Override
The only way to unlock a sector that is locked down is through reset or power-up cycles. After
power-up or reset, the content of a sector that is locked down can be erased and reprogrammed.
11.3.3
Erase Suspend/Erase Resume
The Erase Suspend command allows the system to interrupt a sector or chip erase operation
and then program or read data from a different sector within the memory. After the Erase Sus-
pend command is given, the device requires a maximum time of 15 µs to suspend the erase
Содержание AT91FR40162S
Страница 180: ...180 6174B ATARM 07 Nov 05 AT91FR40162S Preliminary Figure 19 2 MCKO Relative to NRST NRST tD MCKO...
Страница 195: ...195 6174B ATARM 07 Nov 05 AT91FR40162S Preliminary 20 5 2 CE Controlled Figure 20 15 CE Controlled...
Страница 204: ...204 6174B ATARM 07 Nov 05 AT91FR40162S Preliminary 23 AT91FR40162S Errata There is no known errata for the AT91FR40162S...