Atmel EDBG User Manual

Atmel EDBG User Manual

Programmers and debuggers

Advertisement

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EDBG and is the answer not in the manual?

Questions and answers

Summary of Contents for Atmel EDBG

  • Page 1: Description

    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...
  • Page 2: Table Of Contents

    C 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...
  • Page 3: Overview

    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.
  • Page 4: Programming And Debugging

    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 –...
  • Page 5: Virtual Com Port

    Virtual COM Port. Note that the UART pins of the EDBG are tri-stated when no terminal program is connected to the Virtual COM Port on the computer. This mechanism relies on the terminal program sending a DTR signal.
  • Page 6: Data Gateway Interface

    Data Gateway Interface The Atmel EDBG features an interface for streaming data from the target device to a computer, called the Data Gateway Interface (DGI). This is meant as an aid in debugging and demonstration of features in the application running on the target device.
  • Page 7: Information Interface

    0x28) with the RW bit cleared. Then a request token identifying the requested information is sent. Normally, a received byte would be put into the DGI buffer, but a repeated start will trigger the EDBG to parse the received token. Then an address with the RW bit set. The EDBG will then start to push the requested data onto the TWI-bus.
  • Page 8: Gpio Interface

    Kit Data Token: 0xD2 The EDBG has 256 bytes for storing kit-specific data such as MAC address, calibration values, etc. See the kit documentation for details on how the data is organized. The information can be retrieved by using the Kit Data token. Note that not all kits have kit-specific data, and the entire section will read as 0.
  • Page 9: Technical Overview

    5.1. Pin Usage All pins that are not in use on the EDBG, will be tri-stated. This is done to avoid signal contention. Note that the tri-stating of serial communication lines and external interference could lead to unintended data to be received by the target MCU.
  • Page 10: Document Revision History

    Document Revision History Doc. Rev. Date Comments 42096C 10/2016 Updated Firmware Release History 42096B 02/2014 Added details about TWI info interface 42096A 02/2013 Initial document release Atmel EDBG [USER GUIDE] Atmel-42096C-EDBG_User Guide-10/2016...
  • Page 11: Firmware Release History

    2.01 27.01.2015 Improved DGI buffering 1.33 17.12.2015 Improved unlocking of SAM L21 Block illegal characters in USB serial number 1.27 06.04.2014 Variant without DGI 1.24 21.01.2014 Added SWO trace support 1.15 17.04.2013 Initial release Atmel EDBG [USER GUIDE] Atmel-42096C-EDBG_User Guide-10/2016...
  • Page 12 DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND...
  • Page 13 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Microchip ATSAM4L8-XSTK...

Table of Contents