59
6174B–ATARM–07-Nov-05
AT91FR40162S Preliminary
Figure 11-5. Toggle Bit Algorithm (Configuration Register = 01)
Note:
The system should recheck the toggle bit even if I/O5 = “1” because the toggle bit may stop tog-
gling as I/O5 changes to “1”.
START
Read I/O7 - I/O0
Read I/O7 - I/O0
Toggle Bit =
Toggle?
I/O3, I/O5 = 1?
Read I/O7 - I/O0
Twice
Toggle Bit =
Toggle?
Program/Erase
Operation Not
Successful, Write
Product ID
Exit Command
Program/Erase
Operation
Successful,
Write Product ID
Exit Command
NO
NO
NO
YES
YES
YES