Datasheet
241
7728G–AVR–06/10
ATtiny87/ATtiny167
Notes: 1. Not all instructions are applicable for all parts.
2. a = address
3. Bits are programmed ‘0’, unprogrammed ‘1’.
4. To ensure future compatibility, unused Fuses and Lock bits should be unprogrammed (‘1’).
5. Refer to the corresponding section for Fuse and Lock bits, Calibration and Signature bytes
and Page size.
6. Instructions accessing program memory use a word address. This address may be random
within the page range.
7. See http://www.atmel.com/avr for Application Notes regarding programming and
programmers.
If the LSB in RDY/BSY data byte out is ‘1’, a programming operation is still pending. Wait until
this bit returns ‘0’ before the next instruction is carried out.
Within the same page, the low data byte must be loaded prior to the high data byte.
After data is loaded to the page buffer, program the EEPROM page, see Figure 21-8 on page
242.
Write EEPROM Memory 0xC0 0x00 00aa aaaa
b
data byte in
Write EEPROM Memory Page (page access) 0xC2 0x00 00aa aa00
b
0x00
Write Lock bits 0xAC 0xE0 0x00 data byte in
Write Fuse bits 0xAC 0xA0 0x00 data byte in
Write Fuse High bits 0xAC 0xA8 0x00 data byte in
Write Extended Fuse Bits 0xAC 0xA4 0x00 data byte in
Table 21-15. Serial Programming Instruction Set (Continued)
Instruction/Operation
Instruction Format
Byte 1 Byte 2 Byte 3 Byte4