2.5
Debugging and UART-to-USB communication
The XMC4300 Relax EtherCAT
®
Kit supports debugging via 2 different channels:
•
On-board debug probe
•
10-pin Cortex
®
Debug connector (not assembled)
2.5.1
On-board debug probe
The on-board debug probe supports Serial Wire Debug (SWD) and UART communication. Both require the
installation of Segger’s J-Link Driver which is part of the DAVE
™
installation. DAVE
™
is a highly efficient
development platform for the XMC
®
microcontroller families to simplify and shorten software development.
It can be downloaded at
. The latest Segger J-Link Driver can be downloaded
http://www.segger.com/jlink-software.html
.
shows the pin assignment of the XMC4300 used for
debugging and UART communication.
Table 4
XMC4300 pins mapping for debugging and UART-communication
Pin function
Input/Output
XMC
™
Pin
Data pin for debugging via SWD
I/O
TMS
Clock pin for debugging via SWD
O
TCK
Transmit pin for UART communication (PC_RXD)
O
P0.5 (U1C0.DOUT0)
Receive pin for UART communication (PC_TXD)
I
P0.4 (U1C0.DX0A)
2.5.2
Cortex
®
debug connector (10-pin)
The 10-pin Cortex
®
debug connector supports Serial Wire Debug (SWD) and Serial Wire Viewer (SWV). The pin
assignment of the Cortex
®
debug connector is shown in
.
Table 5
Pin assignment of the Cortex
®
Debug Connector (X102)
Pin No.
Signal name
Description
1
VCC
+3.3 V
2
TMS
Serial Wire Data I/O
3
GND
Ground
4
TCK
Serial Wire Clock
5
GND
Ground
6
SWV
Serial Wire Viewer (Trace Data Out
7
Key
Key
8
NC
Not connected
9
GND_Detect
Ground detect
10
RESET
Reset (active low)
restricted - NDA required!
XMC4300 Relax EtherCAT
®
Kit
For XMC4000 family
2 Hardware description
Board User Manual
9
Rev. 1.2
2022-06-20