swd-resistor-hack.cfg 899 B

12345678910111213141516171819202122232425262728
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. #
  3. # Connect TDI to SWDIO via a suitable series resistor (220-470 Ohm or
  4. # so depending on the drive capability of the target and adapter);
  5. # connect TDO directly to SWDIO.
  6. #
  7. # You also need to have reliable GND connection between the target and
  8. # adapter. Vref of the adapter should be supplied with a voltage equal
  9. # to the target's (preferably connect it to Vcc). You can also
  10. # optionally connect nSRST. Leave everything else unconnected.
  11. #
  12. # FTDI Target
  13. # ---- ------
  14. # 1 - Vref ----------------- Vcc
  15. # 3 - nTRST -
  16. # 4 - GND ----------------- GND
  17. # 5 - TDI ---/\470 Ohm/\--- SWDIO
  18. # 7 - TMS -
  19. # 9 - TCK ----------------- SWCLK
  20. # 11 - RTCK -
  21. # 13 - TDO ----------------- SWDIO
  22. # 15 - nSRST - - - - - - - - - nRESET
  23. #
  24. transport select swd
  25. ftdi layout_signal SWD_EN -data 0