Avr_reset ($c), Prog_enable ($4), Atmega128(l) – Rainbow Electronics ATmega128L User Manual

Page 298

Advertising
background image

298

ATmega128(L)

2467B–09/01

Figure 146. State Machine Sequence for Changing the Instruction Word

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.

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

1

1

1

0

0

0

0

1

1

1

0

1

1

0

1

0

0

1

0

1

1

0

1

0

0

0

0

1

1

Advertising