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.
Pin number | Pin/Net | Function | Shared functionality |
---|---|---|---|
1 [VTREF] | VCC_TARGET_P3V3 | ATSAME54P20A voltage | |
2 [TMS/SWDIO] | PA31 | SWDIO | Cortex DBG and EDBG SWD |
3 [GND] | GND | Ground | |
4 [TCK/SWCLK] | PA30 | SWCLK | Cortex DBG and EDBG SWD |
5 [GND] | GND | Ground | |
6 [TDO/SWO] | PB30 | SWO | Cortex DBG and EDBG SWD |
7 [KEY] | - | Not connected, the pin is removed. | |
8 [TDI] | - | - | |
9 [GND] | GND | Ground | |
10 [nSRST] | RESET_N | Reset | RST BTN, Cortex DBG, and EDBG SWD |
11 [NC] | - | - | |
12 [RTCK/TRACECLK] | PC27 | TRACECLK | |
13 [NC] | - | - | |
14 [SWO/D0] | PC28 | TRACEDATA[0] | |
15 [GND] | GND | Ground | |
16 [ntRST/D1] | PC26 | TRACEDATA[1] | |
17 [GND] | GND | Ground | |
18 [DBGRQ/D2] | PC25 | TRACEDATA[2] | |
19 [GND] | GND | Ground | |
20 [DBGACK/D3] | PC24 | TRACEDATA[3] |