Xplained Pro; Embedded Debugger; Hardware Identification System - Atmel SAM4N Xplained Pro User Manual

Hide thumbs Also See for SAM4N Xplained Pro:
Table of Contents

Advertisement

3.

Xplained Pro

Xplained Pro is an evaluation platform that provides the full Atmel microcontroller experience. The platform
consists of a series of Microcontroller (MCU) boards and extension boards that are integrated with Atmel
Studio, have Atmel Software Framework (ASF) drivers and demo code, support data streaming and more.
Xplained Pro MCU boards support a wide range of Xplained Pro extension boards that are connected through
a set of standardized headers and connectors. Each extension board has an identification (ID) chip to uniquely
identify which boards are mounted on a Xplained Pro MCU board. This information is used to present relevant
user guides, application notes, datasheets and example code through Atmel Studio. Available Xplained Pro
MCU and extension boards can be purchased in the
3.1

Embedded Debugger

The SAM4N Xplained Pro contains the Atmel® Embedded Debugger (EDBG) for on-board debugging. The
EDBG is a composite USB device of 3 interfaces; a debugger, Virtual COM Port and Data Gateway Interface
(DGI).
In conjunction with Atmel Studio, the EDBG debugger interface can program and debug the ATSAM4N16C. On
the SAM4N Xplained Pro, the SWD interface is connected between the EDBG and the ATSAM4N16C.
The Virtual COM Port is connected to a UART port on the ATSAM4N16C (see section
implementation" on page 12
application through a simple terminal software. It offers variable baud rate, parity and stop bit settings. Note
that the settings on the target device UART must match the settings given in the terminal software.
The DGI consists of several physical data interfaces for communication with the host computer. Please,
see section
"Embedded Debugger implementation" on page 12
Communication over the interfaces are bidirectional. It can be used to send events and values from the
ATSAM4N16C, or as a generic printf-style data channel. Traffic over the interfaces can be timestamped on the
EDBG for more accurate tracing of events. Note that timestamping imposes an overhead that reduces maximal
throughput. The DGI uses a proprietary protocol, and is thus only compatible with Atmel Studio.
The EDBG controls two LEDs on SAM4N Xplained Pro, a power LED and a status LED.
control"
shows how the LEDs are controlled in different operation modes.
Table 3-1. EDBG LED control
Operation mode
Normal operation
Bootloader mode (idle)
Bootloader mode (firmware
upgrade)
For further documentation on the EDBG, see the
3.2

Hardware identification system

All Xplained Pro compatible extension boards have an Atmel ATSHA204 crypto authentication chip mounted.
This chip contains information that identifies the extension with its name and some extra data. When an
Xplained Pro extension board is connected to an Xplained Pro MCU board the information is read and sent
to Atmel Studio. The Atmel Kits extension, installed with Atmel Studio, will give relevant information, code
examples and links to relevant documents.
stored in the ID chip with example content.
Table 3-2. Xplained Pro ID chip content
Data Field
Manufacturer
Product Name
Product Revision
Product Serial Number
1
http://store.atmel.com/CBC.aspx?q=c:100113
2
http://www.atmel.com/Images/Atmel-42096-Microcontrollers-Embedded-Debugger_User-Guide.pdf
Atmel Web Store
for pinout), and provides an easy way to communicate with the target
Power LED
Power LED is lit when power is
applied to the board.
The power LED and the status LED blinks simultaneously.
The power LED and the status LED blinks in an alternating pattern.
EDBG User Guide
Table 3-2, "Xplained Pro ID chip content"
Data Type
ASCII string
ASCII string
ASCII string
ASCII string
1
.
for available interfaces and pinout.
Status LED
Activity indicator, LED flashes
every time something happens on
the EDBG.
2
.
shows the data fields
Example Content
Atmel'\0'
Segment LCD1 Xplained Pro'\0'
02'\0'
1774020200000010'\0'
Atmel SAM4N Xplained Pro [USER GUIDE]
"Embedded Debugger
Table 3-1, "EDBG LED
6
42104A-MCU-06/2013

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SAM4N Xplained Pro and is the answer not in the manual?

Questions and answers

Table of Contents