openocd/src
Ake Rehnman 3de6b5f6e5 jtag/drivers/stlink_usb : implemented and repaired SWIM support
Fixed a bug in stlink_usb_read_mem/write_mem preventing large data transfers

The SWIM support in stlink_usb was basically non existent so I have
implemented the missing parts. The bCBWCBLength and dCBWDataTransferLength
for STLINK-V1 protocol was not correct so that was fixed. The reason for
adding SWIM support is to add STM8 support for OpenOCD.

I have tested the driver on:
STM8 discovery board with the built-in STLINK-V1
STM8 discovery board with STLINK-V2 dongle
STM32 vldiscovery board with the built-in STLINK-V1
STM32F1xxx processor with STLINK-V2 dongle

Change-Id: I4aa80a92fb0226174356adaf2f8ff949920a621f
Signed-off-by: Ake Rehnman <ake.rehnman@gmail.com>
Reviewed-on: http://openocd.zylin.com/3952
Tested-by: jenkins
Reviewed-by: Philipp Klaus Krause
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2018-01-12 20:17:55 +00:00
..
flash flash/nor/stm32f2x: fix erase on STM32F413/423 2017-12-12 21:16:24 +00:00
helper Fix GCC7 warnings about switch-case fallthroughs 2017-10-23 10:54:16 +01:00
jtag jtag/drivers/stlink_usb : implemented and repaired SWIM support 2018-01-12 20:17:55 +00:00
pld Convert to non-recursive make 2016-12-08 16:23:10 +00:00
rtos rtos: Use 'bool' as return type for detect_rtos() 2017-12-06 21:01:12 +00:00
server server/gdb: Use 'bool' instead of 'int' for boolean values 2017-12-06 21:01:39 +00:00
svf Fix GCC7 warnings about switch-case fallthroughs 2017-10-23 10:54:16 +01:00
target arm_adi_v5: fix regression from 4553abf906 2018-01-11 08:28:29 +00:00
transport Convert to non-recursive make 2016-12-08 16:23:10 +00:00
xsvf Convert to non-recursive make 2016-12-08 16:23:10 +00:00
hello.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
openocd.c server/server: Remove all exit() calls 2017-04-25 16:56:35 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00