openocd/src/jtag/drivers
Spencer Oliver 145f8ed817 stlink: add reconfigurable speed support
The ability to change the speed has been added to firmware versions J22 and
above. Any attempt to change on earlier versions will be ignored without error,
as the existing code does.

For supported firmware versions the driver will attempt to get as close as
possible to supported speeds (never higher).

The default stlink speed on power up is 1.8MHz.
The driver will now also print supported clocl speeds during init.

Change-Id: Iee9bd018bb8b6f94672a12538912d41c23d48a7e
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/2335
Tested-by: jenkins
2015-01-15 23:21:18 +00:00
..
OpenULINK OpenULINK firmware: update firmware hex image 2013-07-17 14:31:19 +00:00
usb_blaster Support hla_serial command for ST-LINK adapters. 2014-09-22 19:36:05 +00:00
versaloon vsllink: Port to libusb-1.0 API 2014-07-03 19:43:16 +00:00
amt_jtagaccel.c jtag: constify driver arrays 2014-10-06 11:57:36 +00:00
arm-jtag-ew.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
at91rm9200.c jtag: constify driver arrays 2014-10-06 11:57:36 +00:00
bcm2835gpio.c bcm2835gpio: use maximum drive strength 2013-10-15 20:38:21 +00:00
bitbang.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
bitbang.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
bitq.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
bitq.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
buspirate.c Bus Pirate driver: Small assorted fixes. 2013-06-21 11:25:26 +00:00
cmsis_dap_usb.c cmsis-dap: add serial number support 2014-10-16 12:30:50 +00:00
driver.c Retire jtag_add_dr_out 2014-01-20 13:28:26 +00:00
dummy.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
ep93xx.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
ft2232.c jtag: constify driver arrays 2014-10-06 11:57:36 +00:00
ftd2xx_common.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
ftdi.c swd: handle various failure conditions 2015-01-09 08:36:52 +00:00
gw16012.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
jlink.c swd: handle various failure conditions 2015-01-09 08:36:52 +00:00
jtag_vpi.c jtag_vpi: make the server address configurable 2013-12-31 12:00:49 +00:00
libusb_common.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
libusb1_common.c libusb: introduce jtag_libusb_choose_interface() and use it for JLink 2014-10-06 18:40:39 +00:00
libusb1_common.h libusb: introduce jtag_libusb_choose_interface() and use it for JLink 2014-10-06 18:40:39 +00:00
libusb0_common.c libusb: introduce jtag_libusb_choose_interface() and use it for JLink 2014-10-06 18:40:39 +00:00
libusb0_common.h libusb: introduce jtag_libusb_choose_interface() and use it for JLink 2014-10-06 18:40:39 +00:00
Makefile.am Makefile.am: fix build for libftdi1, pass CFLAGS where appropriate 2014-04-14 18:09:40 +00:00
Makefile.rlink update files to correct FSF address 2013-06-05 19:52:42 +00:00
minidriver_imp.h Retire jtag_add_dr_out 2014-01-20 13:28:26 +00:00
mpsse.c mpsse: Display libusb error names instead of numbers 2014-09-22 19:39:09 +00:00
mpsse.h mpsse: Defer errors until flush 2013-08-01 10:31:08 +00:00
opendous.c jtag: constify driver arrays 2014-10-06 11:57:36 +00:00
openjtag.c Added OpenJTAG Driver 2013-06-05 19:52:15 +00:00
osbdm.c Support hla_serial command for ST-LINK adapters. 2014-09-22 19:36:05 +00:00
parport.c jtag: constify driver arrays 2014-10-06 11:57:36 +00:00
presto.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
remote_bitbang.c jtag/drivers/remote_bitbang: use sizeof to determine maximum unix socket path length 2014-04-14 18:16:52 +00:00
rlink_call.m4 update files to correct FSF address 2013-06-05 19:52:42 +00:00
rlink_dtc_cmd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
rlink_ep1_cmd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
rlink_init.m4 update files to correct FSF address 2013-06-05 19:52:42 +00:00
rlink_speed_table.c build: cleanup src/jtag/drivers directory 2012-02-06 10:59:07 +00:00
rlink_st7.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
rlink.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
rlink.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
stlink_usb.c stlink: add reconfigurable speed support 2015-01-15 23:21:18 +00:00
sysfsgpio.c sysfsgpio: fix a typo in the informational output 2013-09-10 22:08:22 +00:00
ti_icdi_usb.c hla: add a way to pass arbitrary commands from user to layout and use for ICDI 2014-10-06 12:03:30 +00:00
ulink.c ulink: Fix libusb include changed since pkg-config merge 2013-11-06 13:10:16 +00:00
usb_common.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
usb_common.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
usbprog.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
vsllink.c vsllink: improve the performance when using swd 2014-09-29 20:06:20 +00:00