openocd/src/jtag/drivers
Antonio Borneo ac05f929ed swim: fix adapter speed handling
SWIM transport only supports two adapter speeds:
- "low speed"  equal to 363 kHz (8 MHz / 22)
- "high speed" equal to 800 kHz (8 MHz / 10)

Replace the previous convention that use "0" or "1" for "low" or
"high" speed with the effective speed in kHz.
Rework the implementation of stlink_speed_swim().
Set low speed in the stm8 config files, because only low speed is
permitted at debug connection; the previous code ignores the
initial value.

Change-Id: I2484c9419a2c554c59eb6b9216339393ab0b54f3
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5529
Tested-by: jenkins
2020-05-24 21:31:21 +01:00
..
OpenULINK Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
libjaylink@f73ad5e667 libjaylink: Update to latest Git version 2019-10-19 13:27:29 +01:00
usb_blaster coding style: avoid unnecessary line continuations 2020-05-09 14:39:29 +01:00
versaloon coding style: avoid unnecessary line continuations 2020-05-09 14:39:29 +01:00
Makefile.am coding style: src: remove empty lines at end of text files 2020-05-02 15:40:21 +01:00
Makefile.rlink Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
amt_jtagaccel.c coding style: add parenthesis around the argument of sizeof 2020-05-09 14:39:19 +01:00
arm-jtag-ew.c coding style: prototype of functions with no parameters 2020-05-09 14:39:59 +01:00
at91rm9200.c adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
bcm2835gpio.c adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
bitbang.c bitbang: jtag-only drivers: switch to new reset API 2020-01-14 11:16:24 +00:00
bitbang.h bitbang: Fix FTBFS with GCC 10 2020-04-24 17:44:13 +01:00
bitq.c Convert DEBUG_JTAG_IO to LOG_DEBUG_IO 2019-06-04 21:48:39 +01:00
bitq.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
buspirate.c adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
cmsis_dap_usb.c coding style: remove useless return statement from void functions 2020-05-09 14:40:07 +01:00
driver.c jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
dummy.c adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
ep93xx.c adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
ft232r.c jtag/libusb_helper: permit adapters to compute their custom serials 2020-03-22 08:17:06 +00:00
ftdi.c ftdi: Report an error if no ftdi_vid_pid is specified 2020-04-24 17:40:07 +01:00
gw16012.c coding style: add parenthesis around the argument of sizeof 2020-05-09 14:39:19 +01:00
imx_gpio.c adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
jlink.c coding style: avoid unnecessary line continuations 2020-05-09 14:39:29 +01:00
jtag_usb_common.c jtag/drivers/jtag_usb_common: fix typo 2019-06-13 12:39:09 +01:00
jtag_usb_common.h jtag: drivers: provide initial support for usb path filtering 2019-02-07 07:51:30 +00:00
jtag_vpi.c jtag_vpi: added an option to stop simulation on exit 2020-02-15 15:32:53 +00:00
kitprog.c coding style: add parenthesis around the argument of sizeof 2020-05-09 14:39:19 +01:00
libusb_helper.c jtag/libusb_helper: permit adapters to compute their custom serials 2020-03-22 08:17:06 +00:00
libusb_helper.h jtag/libusb_helper: permit adapters to compute their custom serials 2020-03-22 08:17:06 +00:00
minidriver_imp.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
mpsse.c Add wall clock timeout warning to mpsse_flush() 2019-10-15 08:58:56 +01:00
mpsse.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
opendous.c coding style: avoid unnecessary line continuations 2020-05-09 14:39:29 +01:00
openjtag.c jtag/libusb_helper: permit adapters to compute their custom serials 2020-03-22 08:17:06 +00:00
osbdm.c jtag/libusb_helper: permit adapters to compute their custom serials 2020-03-22 08:17:06 +00:00
parport.c coding style: add parenthesis around the argument of sizeof 2020-05-09 14:39:19 +01:00
presto.c adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
remote_bitbang.c adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
rlink.c adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
rlink.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rlink_call.m4 coding style: src: remove empty lines at end of text files 2020-05-02 15:40:21 +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 coding style: src: remove empty lines at end of text files 2020-05-02 15:40:21 +01:00
rlink_st7.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rshim.c jtag/drivers: add debugging support for Mellanox BlueField SoC 2020-04-21 11:18:11 +01:00
stlink_usb.c swim: fix adapter speed handling 2020-05-24 21:31:21 +01:00
sysfsgpio.c coding style: remove useless return statement from void functions 2020-05-09 14:40:07 +01:00
ti_icdi_usb.c jtag: drivers: stlink: handle all versions with single config 2017-12-12 21:13:55 +00:00
ulink.c coding style: remove useless break after a goto or return 2020-05-09 14:39:05 +01:00
usb_common.c jtag/drivers/usb_common: return oocd error values 2019-01-08 10:02:43 +00:00
usb_common.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
usbprog.c coding style: avoid unnecessary line continuations 2020-05-09 14:39:29 +01:00
vsllink.c coding style: avoid unnecessary line continuations 2020-05-09 14:39:29 +01:00
xds110.c coding style: remove useless return statement from void functions 2020-05-09 14:40:07 +01:00
xlnx-pcie-xvc.c jtag: drivers: xlnx-pcie-xvc: fix build on Linux pre v4.10 2020-02-06 20:22:49 +00:00