Led; Embedded Debugger Implementation; Serial Wire Debug; Virtual Com Port - Atmel SAM4L Xplained Pro User Manual

Smart arm-based mcus
Hide thumbs Also See for SAM4L Xplained Pro:
Table of Contents

Advertisement

Table 4-9 Mechanical Buttons
Pin on SAM4L
RESET_N
PC24
4.2.4.

LED

There is one yellow LED available on the SAM4L Xplained Pro board that can be turned ON and OFF.
The LED can be activated by driving the connected I/O line to GND.
Table 4-10 LED Connections
Pin on SAM4L
PC07
4.3.

Embedded Debugger Implementation

The SAM4L Xplained Pro contains an Embedded Debugger (EDBG) that can be used to program and
debug the ATSAM4LC4C using Serial Wire Debug (SWD). The Embedded debugger also include a
Virtual Com port interface over UART, an Atmel Data Gateway Interface over synchronous UART, and
TWI and it monitors four of the SAM4L GPIOs. Atmel Studio can be used as a front end for the
Embedded Debugger.
4.3.1.

Serial Wire Debug

The Serial Wire Debug (SWD) use two pins to communicate with the target. For further information on
how to use the programming and debugging capabilities of the EDBG, see the EDBG user guide.
Table 4-11 SWD Connections
Pin on SAM4L
TCK
PA03
PA23
4.3.2.

Virtual COM Port

The Embedded Debugger act as a Virtual Com Port gateway by using one of the ATSAM4LC4C UARTs.
For further information on how to use the Virtual COM port, see the EDBG user guide.
Table 4-12 Virtual COM Port Connections
Pin on SAM4L
PC27
PC26
4.3.3.

Atmel Data Gateway Interface

The Embedded Debugger features an Atmel Data Gateway Interface (DGI) by using either a synchronous
USART or TWI port. The DGI can be used to send a variety of data from the SAM4L to the host PC. For
further information on how to use the DGI interface, see the EDBG user guide.
Silkscreen text
RESET
SW0
LED
Yellow LED0
Function
SWD clock
SWD data
SWD trace data
Function
UART TXD (SAM4L TX line)
UART RXD (SAM4L RX line)
Atmel SAM4L Xplained Pro [USER GUIDE]
Atmel-42074C-SAM4L-Xplained-Pro_User Guide-11/2015
20

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents