Datasheet

Table Of Contents
267
ATmega32A [DATASHEET]
Atmel-8155D-AVR-ATmega32A-Datasheet_02/2014
Figure 27-12. State Machine Sequence for Changing the Instruction Word
27.10.2 AVR_RESET ($C)
The AVR specific public JTAG instruction for setting the AVR device in the Reset mode or taking the device out
from the Reset Mode. The TAP controller is not reset by this instruction. The one bit Reset Register is selected as
Data Register. Note that the Reset will be active as long as there is a logic “one” in the Reset Chain. The output
from this chain is not latched.
The active states are:
Shift-DR: The Reset Register is shifted by the TCK input.
27.10.3 PROG_ENABLE ($4)
The AVR specific public JTAG instruction for enabling programming via the JTAG port. The 16-bit Programming
Enable Register is selected as Data Register. The active states are the following:
Shift-DR: The programming enable signature is shifted into the Data Register.
Update-DR: The programming enable signature is compared to the correct value, and Programming mode is
entered if the signature is valid.
Test-Logic-Reset
Run-Test/Idle
Shift-DR
Exit1-DR
Pause-DR
Exit2-DR
Update-DR
Select-IR Scan
Capture-IR
Shift-IR
Exit1-IR
Pause-IR
Exit2-IR
Update-IR
Select-DR Scan
Capture-DR
0
1
0
11 1
00
00
11
1
0
1
1
0
1
0
0
1
0
1
1
0
1
0
0
00
11