Electronic Components Datasheet Search
  English  ▼

X  

ATMEGA640 Datasheet(PDF) 344 Page - Microchip Technology

Part # ATMEGA640
Description  8-bit Microcontroller with 16/32/64KB In-System Programmable Flash
PDF  436 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATMEGA640 Datasheet(HTML) 344 Page - Microchip Technology

Back Button ATMEGA640 Datasheet HTML 340Page - Microchip Technology ATMEGA640 Datasheet HTML 341Page - Microchip Technology ATMEGA640 Datasheet HTML 342Page - Microchip Technology ATMEGA640 Datasheet HTML 343Page - Microchip Technology ATMEGA640 Datasheet HTML 344Page - Microchip Technology ATMEGA640 Datasheet HTML 345Page - Microchip Technology ATMEGA640 Datasheet HTML 346Page - Microchip Technology ATMEGA640 Datasheet HTML 347Page - Microchip Technology ATMEGA640 Datasheet HTML 348Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 344 / 436 page
background image
344
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
DS40002211A
30.9.2
AVR_RESET (0xC)
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
30.9.3
PROG_ENABLE (0x4)
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
30.9.4
PROG_COMMANDS (0x5)
The AVR specific public JTAG instruction for entering programming commands via the JTAG port. The 15-bit Pro-
gramming Command Register is selected as Data Register. The active states are the following:
•
Capture-DR: The result of the previous command is loaded into the Data Register
•
Shift-DR: The Data Register is shifted by the TCK input, shifting out the result of the previous command and
shifting in the new command
•
Update-DR: The programming command is applied to the Flash inputs
•
Run-Test/Idle: One clock cycle is generated, executing the applied command
30.9.5
PROG_PAGELOAD (0x6)
The AVR specific public JTAG instruction to directly load the Flash data page via the JTAG port. An 8-bit Flash
Data Byte Register is selected as the Data Register. This is physically the 8 LSBs of the Programming Command
Register. The active states are the following:
•
Shift-DR: The Flash Data Byte Register is shifted by the TCK input.
•
Update-DR: The content of the Flash Data Byte Register is copied into a temporary register. A write sequence
is initiated that within 11 TCK cycles loads the content of the temporary register into the Flash page buffer. The
AVR automatically alternates between writing the low and the high byte for each new Update-DR state, starting
with the low byte for the first Update-DR encountered after entering the PROG_PAGELOAD command. The
Program Counter is pre-incremented before writing the low byte, except for the first written byte. This ensures
that the first data is written to the address set up by PROG_COMMANDS, and loading the last location in the
page buffer does not make the program counter increment into the next page.
30.9.6
PROG_PAGEREAD (0x7)
The AVR specific public JTAG instruction to directly capture the Flash content via the JTAG port. An 8-bit Flash
Data Byte Register is selected as the Data Register. This is physically the 8 LSBs of the Programming Command
Register. The active states are the following:
•
Capture-DR: The content of the selected Flash byte is captured into the Flash Data Byte Register. The AVR
automatically alternates between reading the low and the high byte for each new Capture-DR state, starting
with the low byte for the first Capture-DR encountered after entering the PROG_PAGEREAD command. The
Program Counter is post-incremented after reading each high byte, including the first read byte. This ensures
that the first data is captured from the first address set up by PROG_COMMANDS, and reading the last
location in the page makes the program counter increment into the next page.
•
Shift-DR: The Flash Data Byte Register is shifted by the TCK input.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com