2014-06-20 05:48:05 -05:00
|
|
|
#
|
|
|
|
# Connect TDI to SWDIO via a suitable series resistor (220-470 Ohm or
|
|
|
|
# so depending on the drive capability of the target and adapter);
|
|
|
|
# connect TDO directly to SWDIO.
|
|
|
|
#
|
2014-10-26 05:49:51 -05:00
|
|
|
# You also need to have reliable GND connection between the target and
|
|
|
|
# adapter. Vref of the adapter should be supplied with a voltage equal
|
2021-01-28 05:27:53 -06:00
|
|
|
# to the target's (preferably connect it to Vcc). You can also
|
2014-10-26 05:49:51 -05:00
|
|
|
# optionally connect nSRST. Leave everything else unconnected.
|
|
|
|
#
|
|
|
|
# FTDI Target
|
|
|
|
# ---- ------
|
|
|
|
# 1 - Vref ----------------- Vcc
|
|
|
|
# 3 - nTRST -
|
|
|
|
# 4 - GND ----------------- GND
|
|
|
|
# 5 - TDI ---/\470 Ohm/\--- SWDIO
|
|
|
|
# 7 - TMS -
|
|
|
|
# 9 - TCK ----------------- SWCLK
|
|
|
|
# 11 - RTCK -
|
|
|
|
# 13 - TDO ----------------- SWDIO
|
|
|
|
# 15 - nSRST - - - - - - - - - nRESET
|
|
|
|
#
|
2014-06-20 05:48:05 -05:00
|
|
|
|
2014-08-14 11:12:01 -05:00
|
|
|
transport select swd
|
|
|
|
|
2021-06-23 13:54:49 -05:00
|
|
|
ftdi layout_signal SWD_EN -data 0
|