English
Language : 

AT91SAM9XE128_1 Datasheet, PDF (151/866 Pages) ATMEL Corporation – AT91 ARM Thumb Microcontrollers
AT91SAM9XE128/256/512 Preliminary
Figure 20-6. Command State Chart
Read Status: MC_FSR
No
Check if FRDY flag Set
Yes
Write FCMD and PAGENB in Flash Command Register
Read Status: MC_FSR
No
Check if FRDY flag Set
Yes
Yes
Check if FLOCKE flag Set
Locking region violation
No
Yes
Check if FCMDE flag Set
Bad keyword violation
No
Command Successfull
20.3.3.1
Getting Embedded Flash Descriptor
This command allows the system to learn about the Flash organization. The system can take full
advantage of this information. For instance, a device could be replaced by one with more Flash
capacity, and so the software is able to adapt itself to the new configuration.
To get the embedded Flash descriptor, the application writes the GETD command in the
EEFC_FCR register. The first word of the descriptor can be read by the software application in
the EEFC_FRR register as soon as the FRDY flag in the EEFC_FSR register rises. The next
reads of the EEFC_FRR register provide the following word of the descriptor. If extra read oper-
6254B–ATARM–29-Apr-09
151