5.2.9 Cortex Debug Connector with Trace

ATSAME54P20A supports 4-bit parallel trace. SAM E54 Xplained Pro implements a 20-pin, 50-mil Cortex Debug + ETM Connector with SWD and 4-bit parallel trace. The connector is keyed (pin 7 is removed).

To use the parallel trace functionality an external debugger with trace support and 20-pin Cortex Debug + ETM Connector pin-out has to be used. The table below shows the connections on the kit.

Table 5-11. Cortex Debug + ETM Connector
Pin numberPin/NetFunctionShared functionality
1 [VTREF]VCC_TARGET_P3V3ATSAME54P20A voltage
2 [TMS/SWDIO]PA31SWDIOCortex DBG and EDBG SWD
3 [GND]GNDGround
4 [TCK/SWCLK]PA30SWCLKCortex DBG and EDBG SWD
5 [GND]GNDGround
6 [TDO/SWO]PB30SWOCortex DBG and EDBG SWD
7 [KEY]-Not connected, the pin is removed.
8 [TDI]--
9 [GND]GNDGround
10 [nSRST]RESET_NResetRST BTN, Cortex DBG, and EDBG SWD
11 [NC]--
12 [RTCK/TRACECLK]PC27TRACECLK
13 [NC]--
14 [SWO/D0]PC28TRACEDATA[0]
15 [GND]GNDGround
16 [ntRST/D1]PC26TRACEDATA[1]
17 [GND]GNDGround
18 [DBGRQ/D2]PC25TRACEDATA[2]
19 [GND]GNDGround
20 [DBGACK/D3]PC24TRACEDATA[3]