8 skey - serial key signaling, 6 accessing the non-volatile memory controller – Rainbow Electronics ATtiny10 User Manual
Page 104

104
8127B–AVR–08/09
ATtiny4/5/9/10
14.5.6
SLDCS - Serial LoaD data from Control and Status space using direct addressing
The SLDCS instruction loads data byte from the TPI Control and Status Space to the TPI physi-
cal layer shift register for serial read-out. The SLDCS instruction uses direct addressing, the
direct address consisting of the 4 address bits of the instruction, as shown in
14.5.7
SSTCS - Serial STore data to Control and Status space using direct addressing
The SSTCS instruction stores the data byte that is shifted into the TPI physical layer shift regis-
ter to the TPI Control and Status Space. The SSTCS instruction uses direct addressing, the
direct address consisting of the 4 address bits of the instruction, as shown in
14.5.8
SKEY - Serial KEY signaling
The SKEY instruction is used to signal the activation key that enables NVM programming. The
SKEY instruction is followed by the 8 data bytes that includes the activation key, as shown in
14.6
Accessing the Non-Volatile Memory Controller
By default, NVM programming is not enabled. In order to access the NVM Controller and be able
to program the non-volatile memories, a unique key must be sent using the SKEY instruction.
The 64-bit key that will enable NVM programming is given in
After the key has been given, the Non-Volatile Memory Enable (NVMEN) bit in the TPI Status
Register (TPISR) must be polled until the Non-Volatile memory has been enabled.
NVM programming is disabled by writing a logical zero to the NVMEN bit in TPISR.
Table 14-7.
The Serial Load Data from Control and Status space (SLDCS) Instruction
Operation
Opcode
Remarks
data
←
CSS[a]
1000 aaaa
Bits marked ‘a’ form the direct, 4-bit addres
Table 14-8.
The Serial STore data to Control and Status space (SSTCS) Instruction
Operation
Opcode
Remarks
CSS[a]
←
data
1100 aaaa
Bits marked ‘a’ form the direct, 4-bit addres
Table 14-9.
The Serial KEY signaling (SKEY) Instruction
Operation
Opcode
Remarks
Key
←
{8[data}}
1110 0000
Data bytes follow after instruction
Table 14-10. Enable Key for Non-Volatile Memory Programming
Key
Value
NVM Program Enable
0x1289AB45CDD888FF