Electronic Components Datasheet Search
  English  ▼

X  

ATMEGA640 Datasheet(PDF) 301 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) 301 Page - Microchip Technology

Back Button ATMEGA640 Datasheet HTML 297Page - Microchip Technology ATMEGA640 Datasheet HTML 298Page - Microchip Technology ATMEGA640 Datasheet HTML 299Page - Microchip Technology ATMEGA640 Datasheet HTML 300Page - Microchip Technology ATMEGA640 Datasheet HTML 301Page - Microchip Technology ATMEGA640 Datasheet HTML 302Page - Microchip Technology ATMEGA640 Datasheet HTML 303Page - Microchip Technology ATMEGA640 Datasheet HTML 304Page - Microchip Technology ATMEGA640 Datasheet HTML 305Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 301 / 436 page
background image
301
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
DS40002211A
28.6 Boundary-scan Related Register in I/O Memory
28.6.1
MCUCR – MCU Control Register
The MCU Control Register contains control bits for general MCU functions.
• Bits 7 – JTD: JTAG Interface Disable
When this bit is zero, the JTAG interface is enabled if the JTAGEN Fuse is programmed. If this bit is one, the JTAG
interface is disabled. In order to avoid unintentional disabling or enabling of the JTAG interface, a timed sequence
must be followed when changing this bit: The application software must write this bit to the desired value twice
within four cycles to change its value. Note that this bit must not be altered when using the On-chip Debug system.
28.6.2
MCUSR – MCU Status Register
The MCU Status Register provides information on which reset source caused an MCU reset.
• Bit 4 – JTRF: JTAG Reset Flag
This bit is set if a reset is being caused by a logic one in the JTAG Reset Register selected by the JTAG instruction
AVR_RESET. This bit is reset by a Power-on Reset, or by writing a logic zero to the flag.
28.7 ATmega640/1280/1281/2560/2561 Boundary-scan Order
Table 28-1 on page 302 shows the Scan order between TDI and TDO when the Boundary-scan chain is selected
as data path. Bit 0 is the LSB; the first bit scanned in, and the first bit scanned out. The scan order follows the pin-
out order as far as possible. Therefore, the bits of Port A and Port K is scanned in the opposite bit order of the other
ports. Exceptions from the rules are the Scan chains for the analog circuits, which constitute the most significant
bits of the scan chain regardless of which physical pin they are connected to. In Figure 28-3 on page 299, PXn.
Data corresponds to FF0, PXn. Control corresponds to FF1, PXn. Bit 4, bit 5, bit 6 and bit 7 of Port F is not in the
scan chain, since these pins constitute the TAP pins when the JTAG is enabled.
28.8 Boundary-scan Description Language Files
Boundary-scan Description Language (BSDL) files describe Boundary-scan capable devices in a standard format
used by automated test-generation software. The order and function of bits in the Boundary-scan Data Register
are included in this description. BSDL files are available for ATmega1281/2561 and ATmega640/1280/2560.
Bit
7
6
543
21
0
0x35 (0x55)
JTD
–
–
PUD
–
–
IVSEL
IVCE
MCUCR
Read/Write
R/W
R
R
R/W
R
R
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
543
21
0
0x34 (0x54)
–
–
–JTRF
WDRF
BORF
EXTRF
PORF
MCUSR
Read/Write
R
R
R
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
See Bit Description



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