12.07.2015 Views

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>ATmega32A</strong>Figure 23-2.TAP Controller State Diagram1Test-Logic-Reset00 Run-Test/Idle1Select-DR Scan1Select-IR Scan1001Capture-DR1Capture-IR00Shift-DR0 Shift-IR 01Exit1-DR1 1Exit1-IR100Pause-DR0 Pause-IR 0110Exit2-DR0Exit2-IR11Update-DRUpdate-IR1 01 023.4 TAP ControllerThe TAP controller is a 16-state finite state machine that controls the operation of the Boundaryscancircuitry, JTAG programming circuitry, or On-chip Debug system. The state transitionsdepicted in Figure 23-2 depend on the signal present on TMS (shown adjacent to each statetransition) at the time of the rising edge at TCK. The initial state after a Power-On Reset is Test-Logic-Reset.As a definition in this document, the LSB is shifted in and out first for all Shift Registers.Assuming Run-Test/Idle is the present state, a typical scenario for using the JTAG interface is:• At the TMS input, apply the sequence 1, 1, 0, 0 at the rising edges of TCK to enter the ShiftInstruction Register – Shift-IR state. While in this state, shift the four bits of the JTAGinstructions into the JTAG Instruction Register from the TDI input at the rising edge of TCK.8155C–AVR–02/11230

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!