Atmel EDBG User Manual

Programmers and Debuggers
EDBG
USER GUIDE

Description

The Atmel® Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel Studio, the EDBG offers data streaming capabilities between the host computer and the target MCU.
Atmel-42096C-EDBG_User Guide-10/2016

Table of Contents

Description.......................................................................................................................1
1. Overview....................................................................................................................3
1.1. Features....................................................................................................................................... 3
2. Programming and Debugging....................................................................................4
3. Virtual COM Port........................................................................................................5
4. Data Gateway Interface.............................................................................................6
4.1. SPI Interface.................................................................................................................................6
4.2. USART Interface.......................................................................................................................... 6
4.3. I2C Interface................................................................................................................................. 6
4.3.1. Information Interface......................................................................................................7
4.4. GPIO Interface..............................................................................................................................8
4.5. Timestamp Module.......................................................................................................................8
5. Technical Overview....................................................................................................9
5.1. Pin Usage.....................................................................................................................................9
5.2. Power Consumption..................................................................................................................... 9
5.3. LED Control..................................................................................................................................9
6. Document Revision History..................................................................................... 10
7. Firmware Release History........................................................................................11
Atmel EDBG [USER GUIDE]
Atmel-42096C-EDBG_User Guide-10/2016
2

1. Overview

The Atmel Embedded Debugger (EDBG) is an onboard debugger for kits with Atmel devices.
EDBG enables the user to debug the target device without an external debugger. EDBG also brings additional features with a Data Gateway Interface and a Virtual COM Port for streaming of data to a host PC. The Atmel EDBG will enumerate as a composite USB device with separate interfaces for each function.
The Atmel EDBG is embedded on all Xplained Pro evaluation kits. All functionality of the Atmel EDBG is not necessarily available on all kits - the EDBG is factory configured depending on the specific kit capabilities. The configuration is read by Atmel Studio to present the correct capabilities and simplify the user interface. Supported extension boards connected to the kit will be detected by the EDBG and their features are reported to Atmel Studio.

1.1. Features

On-board programming and debugging through SWD, JTAG, and PDI
Virtual COM Port interface to target via UART
Data Gateway Interface (DGI) for data streaming between target MCU and PC
SPI, USART, and I2C interfaces available
GPIOs for accurate status indication
Extension board identification
Indication of power and status through LEDs
Sleep mode to minimize power consumption
Atmel EDBG [USER GUIDE]
Atmel-42096C-EDBG_User Guide-10/2016
3

2. Programming and Debugging

The Atmel EDBG has the ability to program and debug Atmel AVR® and Atmel ARM® Cortex®-M core based microcontrollers. The following interfaces are supported:
Atmel ARM Cortex-M programming and debug interfaces
Serial Wire Debug (SWD)
Atmel megaAVR® programming and debug interfaces
JTAG
Atmel AVR XMEGA® programming and debug interfaces
Program and Debug Interface (PDI)
Refer to the specific kit's user guide for details on connecting the interface.
Atmel EDBG [USER GUIDE]
Atmel-42096C-EDBG_User Guide-10/2016
4
Loading...
+ 9 hidden pages