2 # Connect TDI to SWDIO via a suitable series resistor (220-470 Ohm or
3 # so depending on the drive capability of the target and adapter);
4 # connect TDO directly to SWDIO.
6 # You also need to have reliable GND connection between the target and
7 # adapter. Vref of the adapter should be supplied with a voltage equal
8 # to the target's (preferrably connect it to Vcc). You can also
9 # optionally connect nSRST. Leave everything else unconnected.
13 # 1 - Vref ----------------- Vcc
15 # 4 - GND ----------------- GND
16 # 5 - TDI ---/\470 Ohm/\--- SWDIO
18 # 9 - TCK ----------------- SWCLK
20 # 13 - TDO ----------------- SWDIO
21 # 15 - nSRST - - - - - - - - - nRESET
26 ftdi_layout_signal SWD_EN -data 0