SAM3SD8C Atmel Corporation, SAM3SD8C Datasheet - Page 325

no-image

SAM3SD8C

Manufacturer Part Number
SAM3SD8C
Description
Manufacturer
Atmel Corporation
Datasheets
19.3.5.4
19.3.5.5
11090A–ATARM–10-Feb-12
11090A–ATARM–10-Feb-12
Flash Lock Commands
Flash General-purpose NVM Commands
Lock bits can be set using WPL or EWPL commands. They can also be set by using the Set
Lock command (SLB). With this command, several lock bits can be activated. A Bit Mask is pro-
vided as argument to the command. When bit 0 of the bit mask is set, then the first lock bit is
activated.
Likewise, the Clear Lock command (CLB) is used to clear lock bits.
Table 19-9.
Lock bits can be read using Get Lock Bit command (GLB). The n
n of the bit mask is set..
Table 19-10. Get Lock Bit Command
General-purpose NVM bits (GP NVM bits) can be set using the Set GPNVM command (SGPB).
This command also activates GP NVM bits. A bit mask is provided as argument to the com-
mand. When bit 0 of the bit mask is set, then the first GP NVM bit is activated.
In the same way, the Clear GPNVM command (CGPB) is used to clear general-purpose NVM
bits. The general-purpose NVM bit is deactivated when the corresponding bit in the pattern value
is set to 1.
Table 19-11. Set/Clear GP NVM Command
General-purpose NVM bits can be read using the Get GPNVM Bit command (GGPB). The n
GP NVM bit is active when bit n of the bit mask is set..
Table 19-12. Get GP NVM Bit Command
Step
1
2
Step
1
2
Step
1
2
Step
1
2
Handshake Sequence
Write handshaking
Write handshaking
Handshake Sequence
Write handshaking
Read handshaking
Handshake Sequence
Write handshaking
Write handshaking
Handshake Sequence
Write handshaking
Read handshaking
Set and Clear Lock Bit Command
MODE[3:0]
CMDE
DATA
MODE[3:0]
CMDE
DATA
MODE[3:0]
CMDE
DATA
MODE[3:0]
CMDE
DATA
DATA[15:0]
SLB or CLB
DATA[15:0]
GLB
Lock Bit Mask Status
0 = Lock bit is cleared
1 = Lock bit is set
DATA[15:0]
GP NVM bit pattern value
DATA[15:0]
GGPB
GP NVM Bit Mask Status
0 = GP NVM bit is cleared
1 = GP NVM bit is set
Bit Mask
SGPB or CGPB
th
lock bit is active when the bit
SAM3S8/SD8
SAM3S8/SD8
325
325
th

Related parts for SAM3SD8C