]> git.sur5r.net Git - openocd/commit
ftdi swd: disable SWD output pin during input
authorPatrick Stewart <patstew@gmail.com>
Wed, 27 Aug 2014 16:17:27 +0000 (17:17 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Sat, 13 Jan 2018 11:37:13 +0000 (11:37 +0000)
commit1003bc7be7c471d28794280be69632c5f074789f
treed0a1fcb0e107eceda5fdbb77d420d30d95705550
parentab25205bbfaa73b33d3510086c44cfe06c1ca006
ftdi swd: disable SWD output pin during input

 * Disables the data output pin while SWD is reading, so that a simple FTDI
   SWD interface can be made by connecting TCK to SWD_CLK and TDI+TDO directly
   to SWDIO. Enabled by setting SWDIO_OE to 0.

Change-Id: I7d3b71cf3f4eea163cb320aff69ed95d219190bd
Signed-off-by: Patrick Stewart <patstew@gmail.com>
Signed-off-by: Roger Lendenmann <roger.lendenmann@intel.com>
Reviewed-on: http://openocd.zylin.com/2274
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
src/jtag/drivers/ftdi.c
tcl/board/nordic_nrf52_ftx232.cfg [new file with mode: 0644]
tcl/interface/ftdi/ft232h-module-swd.cfg [new file with mode: 0644]
tcl/interface/ftdi/minimodule-swd.cfg [new file with mode: 0644]