openocd/src/jtag/drivers
Bas Vermeulen 06aebfacda Only call cmsis_dap_cmd_DAP_SWD_Configure when swd_mode is enabled
The CMSIS-DAP used by NXP's LS1012ARDB board only supports JTAG,
and not SWD. Calling cmsis_dap_cmd_DAP_SWD_Configure returns with an
error (and doesn't actually do anything in the debugger).

Wrap the call to cmsis_dap_cmd_DAP_SWD_Configure in a check for
swd_mode, to make sure initialisation doesn't fail needlessly.

Change-Id: Id7e568cb6e36886bd7c5b3699d198a77a51c28c9
Signed-off-by: Bas Vermeulen <bas@daedalean.ai>
Reviewed-on: http://openocd.zylin.com/4294
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
2017-12-06 21:07:10 +00:00
..
libjaylink@8645845c1a libjaylink: Update to latest Git version 2017-10-03 11:18:26 +01:00
OpenULINK Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
usb_blaster Convert to non-recursive make 2016-12-08 16:23:10 +00:00
versaloon Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
amt_jtagaccel.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
arm-jtag-ew.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
at91rm9200.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
bcm2835gpio.c jtag: drivers: bcm2835gpio: set 4ma drive, slow slew rate 2016-12-08 12:34:09 +00:00
bitbang.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
bitbang.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
bitq.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
bitq.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
buspirate.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
cmsis_dap_usb.c Only call cmsis_dap_cmd_DAP_SWD_Configure when swd_mode is enabled 2017-12-06 21:07:10 +00:00
driver.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
dummy.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
ep93xx.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
ftdi.c ftdi: Enable SWDIO output before sending data on it 2017-10-27 11:48:36 +01:00
gw16012.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
imx_gpio.c imx_gpio: add mmap based jtag interface for IMX processors 2017-05-31 08:16:17 +01:00
jlink.c jlink: Disable TCP/IP discovery 2017-10-03 11:19:10 +01:00
jtag_vpi.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
kitprog.c Fix GCC7 warnings about switch-case fallthroughs 2017-10-23 10:54:16 +01:00
libusb_common.h Convert to non-recursive make 2016-12-08 16:23:10 +00:00
libusb1_common.c libusb: Add transfer type filter to get correct ep 2017-04-24 22:31:41 +01:00
libusb1_common.h libusb: Add transfer type filter to get correct ep 2017-04-24 22:31:41 +01:00
libusb0_common.c libusb: Add transfer type filter to get correct ep 2017-04-24 22:31:41 +01:00
libusb0_common.h libusb: Add transfer type filter to get correct ep 2017-04-24 22:31:41 +01:00
Makefile.am imx_gpio: add mmap based jtag interface for IMX processors 2017-05-31 08:16:17 +01:00
Makefile.rlink Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
minidriver_imp.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
mpsse.c jtag: drivers: mpsse: ignore error to detach kernel driver 2016-10-17 09:20:22 +01:00
mpsse.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
opendous.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openjtag.c libusb: Add transfer type filter to get correct ep 2017-04-24 22:31:41 +01:00
osbdm.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
parport.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
presto.c Remove support for the GPL incompatible FTDI D2XX library 2016-11-06 09:47:12 +00:00
remote_bitbang.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
rlink_call.m4 Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
rlink_dtc_cmd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rlink_ep1_cmd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rlink_init.m4 Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
rlink_speed_table.c build: cleanup src/jtag/drivers directory 2012-02-06 10:59:07 +00:00
rlink_st7.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rlink.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
rlink.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
stlink_usb.c stlink: increase trace buffer size to maximum allowed on st-link v2 firmware 2017-04-23 20:46:32 +01:00
sysfsgpio.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
ti_icdi_usb.c helper: Code cleanup for hexify() 2016-12-08 12:34:53 +00:00
ulink.c jtag: drivers: ulink: fix uninitialised variable warning 2016-12-25 09:17:30 +00:00
usb_common.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
usb_common.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
usbprog.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
vsllink.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00