ATTIny2313-16MI ATMEL Corporation, ATTIny2313-16MI Datasheet - Page 175

no-image

ATTIny2313-16MI

Manufacturer Part Number
ATTIny2313-16MI
Description
8-bit AVR Microcontroller with 2K Bytes In-System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Table 79. Serial Programming Instruction Set
Note:
2543C–AVR–12/03
Instruction
Load Program Memory Page
Write Program Memory Page
Read EEPROM Memory
Write EEPROM Memory
Load EEPROM Memory
Page (page access)
Write EEPROM Memory
Page (page access)
Read Lock bits
Write Lock bits
Read Signature Byte
Write Fuse bits
Write Fuse High bits
Write Extended Fuse Bits
Read Fuse bits
Read Fuse High bits
Read Extended Fuse Bits
Read Calibration Byte
Poll RDY/BSY
a = address high bits, b = address low bits, H = 0 - Low byte, 1 - High Byte, o = data out, i = data in, x = don’t care
0100 H000
0100 1100
1010 0000
1100 0000
1100 0001
1100 0010
0101 1000
1010 1100
0011 0000
1010 1100
1010 1100
1010 1100
0101 0000
0101 1000
0101 0000
0011 1000
1111 0000
Byte 1
000x xxxx
0000 00aa
000x xxxx
000x xxxx
0000 0000
00xx xxxx
0000 0000
111x xxxx
000x xxxx
1010 0000
1010 1000
1010 0100
0000 0000
0000 1000
0000 1000
000x xxxx
0000 0000
Byte 2
Instruction Format
xxbb bbbb
bbxx xxxx
xbbb bbbb
xbbb bbbb
0000 00bb
xbbb bb00
xxxx xxxx
xxxx xxxx
xxxx xxbb
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
0000 0000
xxxx xxxx
Byte 3
iiii iiii
xxxx xxxx
oooo oooo
iiii iiii
iiii iiii
xxxx xxxx
xxoo oooo
11ii iiii
oooo oooo
iiii iiii
iiii iiii
xxxx xxxi
oooo oooo
oooo oooo
oooo oooo
oooo oooo
xxxx xxxo
Byte4
Operation
Write H (high or low) data i to Program
Memory page at word address b. Data
low byte must be loaded before Data
high byte is applied within the same
address.
Write Program Memory Page at
address a:b.
Read data o from EEPROM memory at
address a:b.
Write data i to EEPROM memory at
address a:b.
Load data i to EEPROM memory page
buffer. After data is loaded, program
EEPROM page.
Write EEPROM page at address a:b.
Read Lock bits. “0” = programmed, “1”
= unprogrammed. See Table 65 on
page 159 for details.
Write Lock bits. Set bits = “0” to
program Lock bits. See Table 65 on
page 159 for details.
Read Signature Byte o at address b.
Set bits = “0” to program, “1” to
unprogram.
Set bits = “0” to program, “1” to
unprogram.
Set bits = “0” to program, “1” to
unprogram.
Read Fuse bits. “0” = programmed, “1”
= unprogrammed.
Read Fuse High bits. “0” = pro-
grammed, “1” = unprogrammed.
Read Extended Fuse bits. “0” = pro-
grammed, “1” = unprogrammed.
Read Calibration Byte
If o = “1”, a programming operation is
still busy. Wait until this bit returns to
“0” before applying another command.
ATtiny2313/V
175

Related parts for ATTIny2313-16MI