Microchip Technology Atmel-ICE Manual de usuario

Programmers and Debuggers
Atmel-ICE
The Atmel-ICE Debugger
Atmel-ICE is a powerful development tool for debugging and programming Arm® Cortex®-M based Microchip SAM
and AVR® microcontrollers with On-Chip Debug capability.
It supports:
• Programming and on-chip debugging of all Microchip AVR 32-bit microcontrollers on both JTAG and aWire
interfaces
• Programming and on-chip debugging of all Microchip AVR XMEGA® family devices on both JTAG and PDI two-
wire interfaces
• Programming (JTAG, SPI, UPDI) and debugging of all Microchip AVR 8-bit microcontrollers with OCD support
on either JTAG, debugWIRE or UPDI interfaces
• Programming and debugging of all Microchip SAM Arm Cortex-M based microcontrollers on both SWD and
JTAG interfaces
• Programming (TPI) of all Microchip tinyAVR® 8-bit microcontrollers with support for this interface
© 2020 Microchip Technology Inc. User Guide DS50002999A-page 1

Table of Contents
The Atmel-ICE Debugger............................................................................................................................... 1
1. Introduction............................................................................................................................................. 4
1.1. Introduction to the Atmel-ICE....................................................................................................... 4
1.2. Atmel-ICE Features......................................................................................................................4
1.3. System Requirements.................................................................................................................. 4
2. Getting Started with the Atmel-ICE......................................................................................................... 5
2.1. Full Kit Contents........................................................................................................................... 5
2.2. Basic Kit Contents........................................................................................................................ 5
2.3. PCBA Kit Contents....................................................................................................................... 6
2.4. Spare Parts Kits........................................................................................................................... 6
2.5. Kit Overview................................................................................................................................. 7
2.6. Assembling the Atmel-ICE........................................................................................................... 8
2.7. Opening the Atmel-ICE................................................................................................................ 9
2.8. Powering the Atmel-ICE............................................................................................................. 11
2.9. Connecting to the Host Computer.............................................................................................. 11
2.10. USB Driver Installation............................................................................................................... 11
3. Connecting the Atmel-ICE.....................................................................................................................12
3.1. Connecting to AVR® and SAM Target Devices...........................................................................12
3.2. Connecting to a JTAG Target..................................................................................................... 13
3.3. Connecting to an aWire Target...................................................................................................14
3.4. Connecting to a PDI Target........................................................................................................ 14
3.5. Connecting to a UPDI Target......................................................................................................15
3.6. Connecting to a debugWIRE Target...........................................................................................15
3.7. Connecting to an SPI Target...................................................................................................... 16
3.8. Connecting to a TPI Target.........................................................................................................17
3.9. Connecting to an SWD Target....................................................................................................18
3.10. Connecting to Data Gateway Interface...................................................................................... 19
4. On-Chip Debugging.............................................................................................................................. 20
4.1. Introduction.................................................................................................................................20
4.2. SAM Devices with JTAG/SWD................................................................................................... 20
4.3. AVR® UC3 Devices with JTAG/aWire........................................................................................ 25
4.4. tinyAVR®, megaAVR®, and XMEGA® Devices............................................................................30
5. Hardware Description............................................................................................................................44
5.1. LEDs...........................................................................................................................................44
5.2. Rear Panel................................................................................................................................. 44
5.3. Bottom Panel..............................................................................................................................44
5.4. Architecture Description............................................................................................................. 45
6. Software Integration.............................................................................................................................. 47
6.1. MPLAB® X IDE and Atmel Studio.............................................................................................. 47
6.2. Command-Line Utility................................................................................................................. 48
Programmers and Debuggers
© 2020 Microchip Technology Inc. User Guide DS50002999A-page 2

7. Advanced Debugging Techniques.........................................................................................................49
7.1. AVR® UC3 Targets..................................................................................................................... 49
7.2. debugWIRE Targets................................................................................................................... 49
8. Release History and Known issues.......................................................................................................50
8.1. Firmware Release History.......................................................................................................... 50
8.2. Known Issues Concerning the Atmel-ICE.................................................................................. 50
9. Product Compliance..............................................................................................................................51
9.1. RoHS and WEEE....................................................................................................................... 51
9.2. CE and FCC...............................................................................................................................51
10. Revision History.................................................................................................................................... 52
The Microchip Website.................................................................................................................................53
Product Change Notification Service............................................................................................................53
Customer Support........................................................................................................................................ 53
Microchip Devices Code Protection Feature................................................................................................ 53
Legal Notice................................................................................................................................................. 53
Trademarks.................................................................................................................................................. 54
Quality Management System....................................................................................................................... 54
Worldwide Sales and Service.......................................................................................................................55
Programmers and Debuggers
© 2020 Microchip Technology Inc. User Guide DS50002999A-page 3

1. Introduction
1.1 Introduction to the Atmel-ICE
Atmel-ICE is a powerful development tool for debugging and programming Arm Cortex-M based Microchip SAM and
Microchip AVR microcontrollers with On-Chip Debug capability.
It supports:
• Programming and on-chip debugging of all Microchip AVR UC3 microcontrollers on both JTAG and aWire
interfaces
• Programming and on-chip debugging of all AVR XMEGA family devices on both JTAG and PDI two-wire
interfaces
• Programming (JTAG and SPI) and debugging of all AVR 8-bit microcontrollers with OCD support on both JTAG
or debugWIRE interfaces
• Programming and debugging of all Microchip SAM Arm Cortex-M based microcontrollers on both SWD and
JTAG interfaces
• Programming (TPI) of all Microchip tinyAVR 8-bit microcontrollers with support for this interface
1.2 Atmel-ICE Features
• Fully compatible with MPLAB® X IDE and Atmel Studio
• Supports programming and debugging of all Microchip AVR UC3 32-bit microcontrollers
• Supports programming and debugging of all 8-bit AVR XMEGA devices
• Supports programming and debugging of all 8-bit Microchip megaAVR® and tinyAVR devices with OCD
• Supports programming and debugging of all SAM Arm Cortex-M based microcontrollers
• Target operating voltage range of 1.62V to 5.5V
• Draws less than 3 mA from target VTref when using debugWIRE interface and less than 1 mA for all other
interfaces
• Supports JTAG clock frequencies from 32 kHz to 7.5 MHz
• Supports PDI clock frequencies from 32 kHz to 7.5 MHz
• Supports debugWIRE baud rates from 4 kbit/s to 0.5 Mbit/s
• Supports aWire baud rates from 7.5 kbit/s to 7 Mbit/s
• Supports SPI clock frequencies from 8 kHz to 5 MHz
• Supports UPDI baud rates from up to 750 kbit/s
• Supports SWD clock frequencies from 32 kHz to 10 MHz
• USB 2.0 high-speed host interface
• ITM serial trace capture at up to 3 MB/s
• Supports DGI SPI and USART interfaces when not debugging or programming
• Supports 10-pin 50-mil JTAG connector with both AVR and Cortex pinouts. The standard probe cable supports
AVR 6-pin ISP/PDI/TPI 100-mil headers as well as 10-pin 50-mil. An adapter is available to support 6-pin 50-mil,
10-pin 100-mil, and 20-pin 100-mil headers. Several kit options are available with different cabling and adapters.
1.3 System Requirements
The Atmel-ICE unit requires that a front-end debugging environment MPLAB X IDE, or Atmel Studio is installed on
your computer.
The Atmel-ICE should be connected to the host computer using the USB cable provided, or a certified Micro-USB
cable.
Programmers and Debuggers
Introduction
© 2020 Microchip Technology Inc. User Guide DS50002999A-page 4

2. Getting Started with the Atmel-ICE
2.1 Full Kit Contents
The Atmel-ICE full kit contains these items:
• Atmel-ICE unit
• USB cable (1.8m, high-speed, Micro-B)
• Adapter board containing 50-mil AVR, 100-mil AVR/SAM, and 100-mil 20-pin SAM adapters
• IDC flat cable with 10-pin 50-mil connector and 6-pin 100-mil connector
• 50-mil 10-pin mini squid cable with 10 x 100-mil sockets
Figure 2-1. Atmel-ICE Full Kit Contents
2.2 Basic Kit Contents
The Atmel-ICE basic kit contains these items:
• Atmel-ICE unit
• USB cable (1.8m, high-speed, Micro-B)
• IDC flat cable with 10-pin 50-mil connector and 6-pin 100-mil connector
Programmers and Debuggers
Getting Started with the Atmel-ICE
© 2020 Microchip Technology Inc. User Guide DS50002999A-page 5

Figure 2-2. Atmel-ICE Basic Kit Contents
2.3 PCBA Kit Contents
The Atmel-ICE PCBA kit contains these items:
• Atmel-ICE unit without plastic encapsulation
Figure 2-3. Atmel-ICE PCBA Kit Contents
2.4 Spare Parts Kits
The following spare parts kits are available:
• Adapter kit
• Cable kit
Programmers and Debuggers
Getting Started with the Atmel-ICE
© 2020 Microchip Technology Inc. User Guide DS50002999A-page 6

Figure 2-4. Atmel-ICE Adapter Kit Contents
Figure 2-5. Atmel-ICE Cable Kit Contents
2.5 Kit Overview
The Atmel-ICE kit options are shown diagrammatically here:
Figure 2-6. Atmel-ICE Kit Overview
PCBA
PCBA kit
Basic kit
Adapter kit
Full kit
SAM AVR®
Cable kit
Programmers and Debuggers
Getting Started with the Atmel-ICE
© 2020 Microchip Technology Inc. User Guide DS50002999A-page 7

2.6 Assembling the Atmel-ICE
The Atmel-ICE unit is shipped with no cables attached. Two cable options are provided in the full kit:
• 50-mil 10-pin IDC flat cable with 6-pin ISP and 10-pin connectors
• 50-mil 10-pin mini-squid cable with 10 x 100-mil sockets
Figure 2-7. Atmel-ICE Cables
For most purposes, the 50-mil 10-pin IDC flat cable can be used, connecting either natively to its 10-pin or 6-pin
connectors, or connecting via the adapter board. Three adapters are provided on one small PCBA. The following
adapters are included:
• 100-mil 10-pin JTAG/SWD adapter
• 100-mil 20-pin SAM JTAG/SWD adapter
• 50-mil 6-pin SPI/debugWIRE/PDI/aWire adapter
Figure 2-8. Atmel-ICE Adapters
Note:
A 50-mil JTAG adapter has not been provided - this is because the 50-mil 10-pin IDC cable can be used to connect
directly to a 50-mil JTAG header. For the part number of the component used for the 50-mil 10-pin connector, see
5.4.3 Atmel-ICE Target Connectors Part Numbers.
The 6-pin ISP/PDI header is included as part of the 10-pin IDC cable. This termination can be cut off if it is not
required.
To assemble your Atmel-ICE into its default configuration, connect the 10-pin 50-mil IDC cable to the unit, as shown
below. Be sure to orient the cable so that the red wire (pin 1) on the cable aligns with the triangular indicator on the
blue belt of the enclosure. The cable should connect upwards from the unit. Be sure to connect to the port
corresponding to the pinout of your target - AVR or SAM.
Programmers and Debuggers
Getting Started with the Atmel-ICE
© 2020 Microchip Technology Inc. User Guide DS50002999A-page 8

Figure 2-9. Atmel-ICE Cable Connection
Figure 2-10. Atmel-ICE AVR® Probe Connection
Figure 2-11. Atmel-ICE SAM Probe Connection
2.7 Opening the Atmel-ICE
Note:
For normal operation, the Atmel-ICE unit must not be opened. Opening the unit is done at your own risk. Anti-static
precautions should be taken.
The Atmel-ICE enclosure consists of three separate plastic components - top cover, bottom cover, and blue belt -
which are snapped together during assembly. To open the unit, insert a large flat screwdriver into the openings in the
Programmers and Debuggers
Getting Started with the Atmel-ICE
© 2020 Microchip Technology Inc. User Guide DS50002999A-page 9

blue belt, apply some inward pressure, and twist gently. Repeat the process on the other snapper holes, and the top
cover will pop off.
Figure 2-12. Opening the Atmel-ICE (1)
Figure 2-13. Opening the Atmel-ICE (2)
Programmers and Debuggers
Getting Started with the Atmel-ICE
© 2020 Microchip Technology Inc. User Guide DS50002999A-page 10
Tabla de contenidos
Otros manuales de Accesorios de computadora de Microchip Technology

Microchip Technology
Microchip Technology MPLAB PICkit 4 Manual de usuario

Microchip Technology
Microchip Technology MPLAB ICD 3 Manual de usuario

Microchip Technology
Microchip Technology PICkit 3 Manual de usuario

Microchip Technology
Microchip Technology MPLAB ICD 4 Manual de usuario

Microchip Technology
Microchip Technology MPLAB Snap Manual

Microchip Technology
Microchip Technology MPLAB ICD 3 Manual de usuario

Microchip Technology
Microchip Technology MPLAB ICD 4 Manual de usuario

















