Atmel Evaluation Kit for AT32uC3A0512, 32-Bit AVR Microcontroller Atmel ATEVK1105 ATEVK1105 Data Sheet

Product codes
ATEVK1105
Page of 826
125
AT32UC3A
18.8.3
Flash Command Register (FCMD)
Offset: 0x4
The FCMD can not be written if the flash is in the process of performing a flash command.
Doing so will cause the FCR write to be ignored, and the PROGE bit to be set.
CMD: Command
This field defines the flash command. Issuing any unused command will cause the Program-
ming Error flag to be set, and the corresponding interrupt to be requested if the PROGE bit in
FCR is set.
31
30
29
28
27
26
25
24
KEY
23
22
21
20
19
18
17
16
PAGEN [15:8]
15
14
13
12
11
10
9
8
PAGEN [7:0]
7
6
5
4
3
2
1
0
-
-
CMD
Table 18-5.
Set of commands
Command
Value
Mnemonic
No operation
0
NOP
Write Page
1
WP
Erase Page
2
EP
Clear Page Buffer
3
CPB
Lock region containing given Page
4
LP
Unlock region containing given Page
5
UP
Erase All
6
EA
Write General-Purpose Fuse Bit
7
WGPB
Erase General-Purpose Fuse Bit
8
EGPB
Set Security Bit
9
SSB
Program GP Fuse Byte
10
PGPFB
Erase All GPFuses
11
EAGPF
Quick Page Read
12
QPR
Write User Page
13
WUP
Erase User Page
14
EUP
Quick Page Read User Page
15
QPRUP
32058K
AVR32-01/12