Electronic Components Datasheet Search
  English  ▼

X  

ATMEGA16 Datasheet(PDF) 274 Page - ATMEL Corporation

Part # ATMEGA16
Description  8-bit AVR Microcontroller with 16K Bytes In-System Programmable Flash
PDF  315 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATMEGA16 Datasheet(HTML) 274 Page - ATMEL Corporation

Back Button ATMEGA16 Datasheet HTML 270Page - ATMEL Corporation ATMEGA16 Datasheet HTML 271Page - ATMEL Corporation ATMEGA16 Datasheet HTML 272Page - ATMEL Corporation ATMEGA16 Datasheet HTML 273Page - ATMEL Corporation ATMEGA16 Datasheet HTML 274Page - ATMEL Corporation ATMEGA16 Datasheet HTML 275Page - ATMEL Corporation ATMEGA16 Datasheet HTML 276Page - ATMEL Corporation ATMEGA16 Datasheet HTML 277Page - ATMEL Corporation ATMEGA16 Datasheet HTML 278Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 274 / 315 page
background image
274
ATmega16(L)
2466E–AVR–10/02
PROG_COMMANDS ($5)
The AVR specific public JTAG instruction for entering programming commands via the
JTAG port. The 15-bit Programming 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 (not
always required, see Table 116 below).
PROG_PAGELOAD ($6)
The AVR specific public JTAG instruction to directly load the Flash data page via the
JTAG port. The 1024 bit Virtual Flash Page Load Register is selected as Data Register.
This is a virtual scan chain with length equal to the number of bits in one Flash page.
Internally the Shift Register is 8-bit. Unlike most JTAG instructions, the Update-DR state
is not used to transfer data from the Shift Register. The data are automatically trans-
ferred to the Flash page buffer byte by byte in the Shift-DR state by an internal state
machine. This is the only active state:
•
Shift-DR: Flash page data are shifted in from TDI by the TCK input, and
automatically loaded into the Flash page one byte at a time.
PROG_PAGEREAD ($7)
The AVR specific public JTAG instruction to read one full Flash data page via the JTAG
port. The 1032 bit Virtual Flash Page Read Register is selected as Data Register. This is
a virtual scan chain with length equal to the number of bits in one Flash page plus 8.
Internally the Shift Register is 8-bit. Unlike most JTAG instructions, the Capture-DR
state is not used to transfer data to the Shift Register. The data are automatically trans-
ferred from the Flash page buffer byte by byte in the Shift-DR state by an internal state
machine. This is the only active state:
•
Shift-DR: Flash data are automatically read one byte at a time and shifted out on
TDO by the TCK input. The TDI input is ignored.
Note:
The JTAG instructions PROG_PAGELOAD and PROG_PAGEREAD can only be used if
the AVR devce is the first decive in JTAG scan chain. If the AVR cannot be the first
device in the scan chain, the byte-wise programming algorithm must be used.
Data Registers
The Data Registers are selected by the JTAG instruction registers described in section
“Programming Specific JTAG Instructions” on page 272. The data registers relevant for
programming operations are:
•
Reset Register
•
Programming Enable Register
•
Programming Command Register
•
Virtual Flash Page Load Register
•
Virtual Flash Page Read Register
Reset Register
The Reset Register is a Test Data Register used to reset the part during programming. It
is required to reset the part before entering programming mode.
A high value in the Reset Register corresponds to pulling the external Reset low. The
part is reset as long as there is a high value present in the Reset Register. Depending
on the Fuse settings for the clock options, the part will remain reset for a Reset Time-out
Period (refer to “Clock Sources” on page 23) after releasing the Reset Register. The
output from this Data Register is not latched, so the reset will take place immediately, as
shown in Figure 115 on page 224.



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