
192
ATmega8515(L)
2512A–AVR–04/02
Note: a = address highbits
b = address lowbits
H = 0 -Lowbyte, 1 -HighByte
o =data out
i =data in
x=don’t care
Table 94. Serial Programming Instruction Set
Instruction
Instruction Format
OperationByte 1 Byte 2 Byte 3 Byte4
Programming Enable
1010 1100 0101 0011 xxxx xxxx xxxx xxxx Enable Serial Programming after
RESET
goeslow.
ChipErase 1010 1100 100x xxxx xxxx xxxx xxxx xxxx ChipErase EEPROM andFlash.
Read Program Memory
0010 H000 0000 aaaa bbbb bbbb oooo oooo Read H (high orlow) data o from
Program memory at word address
a:b.
Load Program Memory
Page
0100 H000 0000 xxxx xxxb bbbb iiii iiii Write H (high orlow) data i to
Program Memory page at word
address b. Data lowbyte must be
loadedbefore Data highbyte is
appliedwithin the same address.
Write Program Memory
Page
0100 1100 0000 aaaa bbbx xxxx xxxx xxxx Write Program Memory Page at
address a:b.
ReadEEPROM Memory
1010 0000 00xx xxxa bbbb bbbb oooo oooo Readdata o from EEPROM
memory at address a:b.
Write EEPROM Memory
1100 0000 00xx xxxa bbbb bbbb iiii iiii Write data i to EEPROM memory at
address a:b.
ReadLock Bits
0101 1000 0000 0000 xxxx xxxx xxoo oooo ReadLock bits.“0”=programmed,
“1” = unprogrammed. See
Table
81 on page 175
fordetails.
Write Lock Bits
1010 1100 111x xxxx xxxx xxxx 11ii iiii Write Lock bits. Set bits=“0” to
program Lock bits. See
Table81
on page 175
fordetails.
ReadSignature Byte
0011 0000 00xx xxxx xxxx xxbb oooo oooo ReadSignature Byte o at address
b.
Write Fuse Bits
1010 1100 1010 0000 xxxx xxxx iiii iiii Set bits=“0” to program, “1” to
unprogram. See
Table84on
page 177
fordetails.
Write Fuse HighBits
1010 1100 1010 1000 xxxx xxxx iiii iiii Set bits=“0” to program, “1” to
unprogram. See
Table83 on
page 176
fordetails.
ReadFuse Bits
0101 0000 0000 0000 xxxx xxxx oooo oooo ReadFuse bits.“0”=programmed,
“1” = unprogrammed. See
Table
84 on page 177
fordetails.
ReadFuse HighBits
0101 1000 0000 1000 xxxx xxxx oooo oooo ReadFuse highbits.“0”=pro-
grammed, “1” = unprogrammed.
See
Table83 on page 176 for
details.
ReadCalibration Byte 0011 1000 00xx xxxx 0000 0000 oooo oooo ReadCalibration Byte
Comentarios a estos manuales