Datasheet

184
8246B–AVR–09/11
ATtiny2313A/4313
21. External Programming
This section describes how to program and verify Flash memory, EEPROM, lock bits, and fuse
bits in ATtiny2313A/4313.
21.1 Memory Parametrics
Flash memory parametrics are summarised in Table 21-1, below.
Note: 1. See Table 19-1 on page 174.
EEPROM parametrics are summarised in Table 21-2, below.
Note: 1. See Table 19-1 on page 174.
21.2 Parallel Programming
Parallel programming signals and connections are illustrated in Figure 21-1, below.
Figure 21-1. Parallel Programming
Table 21-1. No. of Words in a Page and No. of Pages in the Flash
Device Flash Size Page Size PCWORD
(1)
Pages PCPAGE PCMSB
ATtiny2313A
1K word
(2K bytes)
16 words PC[3:0] 64 PC[9:4] 9
ATtiny4313
2K words
(4K bytes)
32 words PC[4:0] 64 PC[10:5] 10
Table 21-2. No. of Words in a Page and No. of Pages in the EEPROM
Device
EEPROM
Size Page Size PCWORD
(1)
Pages PCPAGE
(1)
EEAMSB
ATtiny2313A 128 bytes 4 bytes EEA[1:0] 32 EEA[6:2] 6
ATtiny4313 256 bytes 4 bytes EEA[1:0] 64 EEA[7:2] 7
VCC
+5V
GND
XTAL1
PD1
PD2
PD3
PD4
PD5
PD6
PB7 - PB0
DATA I/O
RESET
+12 V
BS1/PAGEL
XA0
XA1/BS2
OE
RDY/BSY
WR