52
6174B–ATARM–07-Nov-05
AT91FR40162S Preliminary
11.2.7
Program/Erase Status
The device provides several bits to determine the status of a program or erase operation: I/O2,
I/O3, I/O5, I/O6 and I/O7. The
and the following four sections
describe the function of these bits. To provide greater flexibility for system designers, the Flash
Memory contains a programmable configuration register. The configuration register allows the
user to specify the status bit operation. The configuration register can be set to one of two differ-
ent values, “00” or “01”. If the configuration register is set to “00”, the part will automatically
return to the read mode after a successful program or erase operation. If the configuration regis-
ter is set to a “01”, a Product ID Exit command must be given after a successful program or
erase operation before the part will return to the read mode. It is important to note that whether
the configuration register is set to a “00” or to a “01”, any unsuccessful program or erase opera-
tion requires using the Product ID Exit command to return the device to read mode. The default
value (after power-up) for the configuration register is “00”. Using the four-bus cycle Set Config-
uration Register command as shown in
Table 11-2, “Command Definition Table,” on page 61
the value of the configuration register can be changed. Voltages applied to the RESET pin will
not alter the value of the configuration register. The value of the configuration register will affect
the operation of the I/O7 status bit as described below.
11.2.8
DATA Polling
The Flash Memory features Data Polling to indicate the end of a program cycle. If the status
configuration register is set to a “00”, during a program cycle an attempted read of the last
byte/word loaded will result in the complement of the loaded data on I/O7. Once the program
cycle has been completed, true data is valid on all outputs and the next cycle may begin. During
a chip or sector erase operation, an attempt to read the device will give a “0” on I/O7. Once the
program or erase cycle has completed, true data will be read from the device. Data Polling may
begin at any time during the program cycle. Please see
for more details.
If the status bit configuration register is set to a “01”, the I/O7 status bit will be low while the
device is actively programming or erasing data. I/O7 will go high when the device has completed
a program or erase operation. Once I/O7 has gone high, status information on the other pins can
be checked.
The Data Polling status bit must be used in conjunction with the erase/program and V
PP
status
bit as shown in the algorithm in
11.2.9
Toggle Bit
In addition to Data Polling the Flash Memory provides another method for determining the end of
a program or erase cycle. During a program or erase operation, successive attempts to read
data from the memory will result in I/O6 toggling between one and zero. Once the program cycle
has completed, I/O6 will stop toggling and valid data will be read. Examining the toggle bit may
begin at any time during a program cycle. Please see
for more
details.
The toggle bit status bit should be used in conjunction with the erase/program and V
PP
status bit
as shown in the algorithm in
.
Содержание 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...