ATMEGA325-16AJ ATMEL [ATMEL Corporation], ATMEGA325-16AJ Datasheet - Page 277

no-image

ATMEGA325-16AJ

Manufacturer Part Number
ATMEGA325-16AJ
Description
8-bit Microcontroller with In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Reset Register
Programming Enable Register The Programming Enable Register is a 16-bit register. The contents of this register is
Programming Command
Register
2570A–AVR–09/04
The Reset Register is a Test Data Register used to reset the part during programming. It
is required to reset the part before entering Programming mode.
A high value in the Reset Register corresponds to pulling the external reset low. The
part is reset as long as there is a high value present in the Reset Register. Depending
on the Fuse settings for the clock options, the part will remain reset for a Reset Time-out
period (refer to “Clock Sources” on page 26) after releasing the Reset Register. The out-
put from this Data Register is not latched, so the reset will take place immediately, as
shown in Figure 100 on page 218.
c o m p a r e d
0b1010_0011_0111_0000. When the contents of the register is equal to the program-
ming enable signature, programming via the JTAG port is enabled. The register is reset
to 0 on Power-on Reset, and should always be reset when leaving Programming mode.
Figure 123. Programming Enable Register
The Programming Command Register is a 15-bit register. This register is used to seri-
ally shift in programming commands, and to serially shift out the result of the previous
command, if any. The JTAG Programming Instruction Set is shown in Table 122. The
state sequence when shifting in the programming commands is illustrated in Figure 125.
Figure 124. Programming Command Register
t o
TDO
TDI
t h e
D
A
T
A
p r o g r a m m i n g
0xA370
=
TDO
TDI
R
O
D
D
R
D
S
T
B
E
S
A
E
S
S
A
T
A
/
ClockDR & PROG_ENABLE
ATmega325/3250/645/6450
EEPROM
D
Lock Bits
e n a b l e
Fuses
Flash
Q
Programming Enable
s i g n a t u r e ,
b i n a r y
c o d e
277

Related parts for ATMEGA325-16AJ