欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA2560 参数 Datasheet PDF下载

ATMEGA2560图片预览
型号: ATMEGA2560
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器与256K字节的系统内可编程闪存 [8- BIT Microcontroller with 256K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 407 页 / 2985 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA2560的Datasheet PDF文件第297页浏览型号ATMEGA2560的Datasheet PDF文件第298页浏览型号ATMEGA2560的Datasheet PDF文件第299页浏览型号ATMEGA2560的Datasheet PDF文件第300页浏览型号ATMEGA2560的Datasheet PDF文件第302页浏览型号ATMEGA2560的Datasheet PDF文件第303页浏览型号ATMEGA2560的Datasheet PDF文件第304页浏览型号ATMEGA2560的Datasheet PDF文件第305页  
ATmega640/1280/1281/2560/2561  
IEEE 1149.1 (JTAG)  
Boundary-scan  
Features  
JTAG (IEEE std. 1149.1 compliant) Interface  
Boundary-scan Capabilities According to the JTAG Standard  
Full Scan of all Port Functions as well as Analog Circuitry having Off-chip Connections  
Supports the Optional IDCODE Instruction  
Additional Public AVR_RESET Instruction to Reset the AVR  
System Overview  
The Boundary-scan chain has the capability of driving and observing the logic levels on  
the digital I/O pins, as well as the boundary between digital and analog logic for analog  
circuitry having off-chip connections. At system level, all ICs having JTAG capabilities  
are connected serially by the TDI/TDO signals to form a long Shift Register. An external  
controller sets up the devices to drive values at their output pins, and observe the input  
values received from other devices. The controller compares the received data with the  
expected result. In this way, Boundary-scan provides a mechanism for testing intercon-  
nections and integrity of components on Printed Circuits Boards by using the four TAP  
signals only.  
The four IEEE 1149.1 defined mandatory JTAG instructions IDCODE, BYPASS, SAM-  
PLE/PRELOAD, and EXTEST, as well as the AVR specific public JTAG instruction  
AVR_RESET can be used for testing the Printed Circuit Board. Initial scanning of the  
Data Register path will show the ID-Code of the device, since IDCODE is the default  
JTAG instruction. It may be desirable to have the AVR device in reset during test mode.  
If not reset, inputs to the device may be determined by the scan operations, and the  
internal software may be in an undetermined state when exiting the test mode. Entering  
reset, the outputs of any port pin will instantly enter the high impedance state, making  
the HIGHZ instruction redundant. If needed, the BYPASS instruction can be issued to  
make the shortest possible scan chain through the device. The device can be set in the  
reset state either by pulling the external RESET pin low, or issuing the AVR_RESET  
instruction with appropriate setting of the Reset Data Register.  
The EXTEST instruction is used for sampling external pins and loading output pins with  
data. The data from the output latch will be driven out on the pins as soon as the  
EXTEST instruction is loaded into the JTAG IR-Register. Therefore, the SAMPLE/PRE-  
LOAD should also be used for setting initial values to the scan ring, to avoid damaging  
the board when issuing the EXTEST instruction for the first time. SAMPLE/PRELOAD  
can also be used for taking a snapshot of the external pins during normal operation of  
the part.  
The JTAGEN Fuse must be programmed and the JTD bit in the I/O Register MCUCR  
must be cleared to enable the JTAG Test Access Port.  
When using the JTAG interface for Boundary-scan, using a JTAG TCK clock frequency  
higher than the internal chip frequency is possible. The chip clock is not required to run.  
Data Registers  
The Data Registers relevant for Boundary-scan operations are:  
Bypass Register  
Device Identification Register  
Reset Register  
Boundary-scan Chain  
301  
2549A–AVR–03/05  
 复制成功!