Microchip Technology Power Debugger Manual page 57

Table of Contents

Advertisement

...........continued
Name
AVR
PORT
Pin
GND
2, 10
4.2.4
SWD Physical Interface
The ARM SWD interface is a subset of the JTAG interface, making use of TCK and TMS pins. The ARM JTAG and
AVR JTAG connectors are, however, not pin-compatible, so when designing an application PCB, which uses a SAM
device with SWD or JTAG interface, it is recommended to use the ARM pinout shown in the figure below. The SAM
connector port on the Power Debugger can connect directly to this pinout.
Figure 4-4. Recommended ARM SWD/JTAG Header Pinout
The Power Debugger is capable of streaming UART-format ITM trace to the host computer. Trace is captured on the
TRACE/SWO pin of the 10-pin header (JTAG TDO pin). Data is buffered internally on the Power Debugger and is
sent over the HID interface to the host computer. The maximum reliable data rate is about 3MB/s.
4.2.5
Connecting to an SWD Target
The ARM SWD interface is a subset of the JTAG interface, making use of the TCK and TMS pins, which means that
when connecting to an SWD device, the 10-pin JTAG connector can technically be used. The ARM JTAG and AVR
JTAG connectors are, however, not pin-compatible, so this depends upon the layout of the target board in use. When
using an STK600 or a board making use of the AVR JTAG pinout, the AVR connector port on the Power Debugger
must be used. When connecting to a board, which makes use of the ARM JTAG pinout, the SAM connector port on
the Power Debugger must be used.
The recommended pinout for the 10-pin Cortex Debug connector is shown in
Connection to a 10-pin 50-mil Cortex Header
Use the flat cable (included in some kits) to connect to a standard 50-mil Cortex header.
Connection to a 10-pin 100-mil Cortex-layout Header
Use the adapter board (included in some kits) to connect to a 100-mil Cortex-pinout header.
Connection to a 20-pin 100-mil SAM Header
Use the adapter board (included in some kits) to connect to a 20-pin 100-mil SAM header.
Connection to a Custom 100-mil Header
The 10-pin mini-squid cable should be used to connect between the Power Debugger AVR or SAM connector port
and the target board. Six connections are required, as described in the table below.
Table 4-4. Power Debugger SWD Pin Mapping
Name
AVR
PORT
Pin
SWDCLK
1
SWDIO
5
SWO
3
©
2020 Microchip Technology Inc.
SAM
PORT
Pin
3, 5, 9
Ground. All must be connected to ensure that the Power Debugger and the target
device share the same ground reference.
VCC
GND
GND
(KEY)
GND
SAM SWD
SAM
PORT
Pin
4
Serial Wire Debug Clock.
2
Serial Wire Debug Data Input/Output.
6
Serial Wire Output (optional- not implemented on all devices).
Description
1 2
SWDIO
SWDCLK
SWO
(NC)
nRESET
Figure
Description
User Guide
Power Debugger
On-chip Debugging
4-4.
DS40002201A-page 57

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents