Datasheet

Table Of Contents
329
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
2549Q–AVR–02/2014
Figure 30-1. Parallel Programming
(1)
Note: 1. Unused Pins should be left floating.
Table 30-9. Pin Name Mapping
Signal Name in
Programming Mode Pin Name I/O Function
RDY/BSY
PD1 O 0: Device is busy programming, 1: Device is ready for new command
OE
PD2 I Output Enable (Active low)
WR
PD3 I Write Pulse (Active low)
BS1 PD4 I Byte Select 1
XA0 PD5 I XTAL Action Bit 0
XA1 PD6 I XTAL Action Bit 1
PAGEL PD7 I Program Memory and EEPROM data Page Load
BS2 PA0 I Byte Select 2
DATA PB7-0 I/O Bi-directional Data bus (Output when OE is low)
Table 30-10. BS2 and BS1 Encoding
BS2 BS1
Flash / EEPROM
Address
Flash Data Loading /
Reading Fuse Programming
Reading Fuse and Lock
Bits
0 0 Low Byte Low Byte Low Byte Fuse Low Byte
0 1 High Byte High Byte High Byte Lockbits
10
Extended High
Byte
Reserved Extended Byte Extended Fuse Byte
1 1 Reserved Reserved Reserved Fuse High Byte
VCC
+5V
GND
XT AL1
PD1
PD2
PD3
PD4
PD5
PD6
PB7 - PB0 DATA
RESET
PD7
+12V
BS1
XA0
XA1
OE
RD Y / BSY
PAGEL
PA0
WR
BS2
AVCC
+5V