State Machine Sequence For Changing The Instruction Word - Atmel ATmega128 Manual

8-bit avr microcontroller with 128k bytes in-system programmable flash
Hide thumbs Also See for ATmega128:
Table of Contents

Advertisement

AVR_RESET ($C)
PROG_ENABLE ($4)
ATmega128
306
Figure 146. State Machine Sequence for Changing the Instruction Word
1
Test-Logic-Reset
0
0
Run-Test/Idle
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.
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.
1
Select-DR Scan
0
1
Capture-DR
0
Shift-DR
1
Exit1-DR
0
Pause-DR
1
0
Exit2-DR
1
Update-DR
1
1
Select-IR Scan
1
Capture-IR
0
Shift-IR
1
Exit1-IR
0
Pause-IR
0
Exit2-IR
Update-IR
1
0
1
0
0
0
1
1
0
0
1
1
0
2467S–AVR–07/09

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ATmega128 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Atmega128l

Table of Contents

Save PDF