swd-resistor-hack.cfg 854 B

1234567891011121314151617181920212223242526
  1. #
  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.
  5. #
  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 (preferably connect it to Vcc). You can also
  9. # optionally connect nSRST. Leave everything else unconnected.
  10. #
  11. # FTDI Target
  12. # ---- ------
  13. # 1 - Vref ----------------- Vcc
  14. # 3 - nTRST -
  15. # 4 - GND ----------------- GND
  16. # 5 - TDI ---/\470 Ohm/\--- SWDIO
  17. # 7 - TMS -
  18. # 9 - TCK ----------------- SWCLK
  19. # 11 - RTCK -
  20. # 13 - TDO ----------------- SWDIO
  21. # 15 - nSRST - - - - - - - - - nRESET
  22. #
  23. transport select swd
  24. ftdi layout_signal SWD_EN -data 0