English
Language : 

SAM7X128_14 Datasheet, PDF (115/662 Pages) ATMEL Corporation – ARM-based Flash MCU
Table 20-3. Command Bit Coding (Continued)
DATA[15:0]
Symbol
Command Executed
0x0042
EWPL
Erase Page and Write Page then Lock
0x0013
EA
Erase All
0x0014
SLB
Set Lock Bit
0x0024
CLB
Clear Lock Bit
0x0015
GLB
Get Lock Bit
0x0034
SGPB
Set General Purpose NVM bit
0x0044
CGPB
Clear General Purpose NVM bit
0x0025
GGPB
Get General Purpose NVM bit
0x0054
SSE
Set Security Bit
0x0035
GSE
Get Security Bit
0x001F
WRAM
Write Memory
0x0016
SEFC
Select EFC Controller(1)
0x001E
GVE
Note: 1. Applies to AT91SAM7X512.
Get Version
20.2.3 Entering Programming Mode
The following algorithm puts the device in Parallel Programming Mode:
 Apply GND, VDDIO, VDDCORE, VDDFLASH and VDDPLL.
 Apply XIN clock within TPOR_RESET if an external clock is available.
 Wait for TPOR_RESET
 Start a read or write handshaking.
Note:
After reset, the device is clocked by the internal RC oscillator. Before clearing RDY signal, if an external clock ( >
32 kHz) is connected to XIN, then the device switches on the external clock. Else, XIN input is not considered. A
higher frequency on XIN speeds up the programmer handshake.
20.2.4 Programmer Handshaking
An handshake is defined for read and write operations. When the device is ready to start a new operation (RDY signal
set), the programmer starts the handshake by clearing the NCMD signal. The handshaking is achieved once NCMD
signal is high and RDY is high.
20.2.4.1 Write Handshaking
For details on the write handshaking sequence, refer to Figure 20-2and Table 20-4.
SAM7X Series [DATASHEET]
6120K–ATARM–11-Feb-14
115