openocd/src/jtag/drivers
Antonio Borneo fd0b4dd15f stlink: check buffer size on 16 and 32 bit memory transfer
Both HLA and ADIv5 layers limit the memory transfer within blocks
whose boundaries are aligned at 1024 or 4096 bytes.
New stlink firmware handle the ADIv5 TAR autoincrement, making
possible to send memory transfers across the boundary of 1024 or
4096 byte. OpenOCD doesn't use this feature yet.

Use the correct buffer size in the code, even if it is not used.
While there, split SWIM buffer size from JTAG/SWD case; stlink has
a dedicated command to retrieve SWIM buffer size, but currently
not implemented in OpenOCD.

Change-Id: Id46c0356ef21cead08726c044a1cd9725fd4f923
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6600
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
2021-11-05 22:40:54 +00:00
..
libjaylink@9aa7a5957c libjaylink: Update to 0.2.0 release 2020-07-26 20:11:11 +01:00
OpenULINK openocd: fix doxygen parameters of functions 2021-01-13 11:33:53 +00:00
usb_blaster drivers/usb_blaster: Group adapter commands 2021-08-14 13:37:19 +01:00
versaloon openocd: fix Yoda conditions with checkpatch 2021-07-24 10:38:31 +01:00
amt_jtagaccel.c jtag: avoid checking for non NULL pointer to free it 2020-09-05 18:42:20 +01:00
arm-jtag-ew.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
at91rm9200.c openocd: remove NULL comparisons with checkpatch [1/2] 2021-07-24 10:38:00 +01:00
bcm2835gpio.c drivers/bcm2835gpio: Group adapter commands 2021-08-14 13:35:11 +01:00
bitbang.c jtag/swd: rename CamelCase macros 2021-07-02 17:10:31 +01:00
bitbang.h bitbang: split jtag and swd operations 2020-07-14 00:38:21 +01:00
bitq.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
bitq.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
buspirate.c drivers/buspirate: Group adapter commands 2021-08-14 13:36:47 +01:00
cmsis_dap_usb_bulk.c jtag/cmcis_dap: use COMMAND_PARSE_NUMBER in command handlers 2021-08-22 11:10:26 +00:00
cmsis_dap_usb_hid.c openocd: fix Yoda conditions with checkpatch 2021-07-24 10:38:31 +01:00
cmsis_dap.c jtag/cmcis_dap: use COMMAND_PARSE_NUMBER in command handlers 2021-08-22 11:10:26 +00:00
cmsis_dap.h drivers/cmsis-dap: update for newest protocol version 2021-07-31 10:08:24 +01:00
driver.c openocd: remove NULL comparisons with checkpatch [1/2] 2021-07-24 10:38:00 +01:00
dummy.c adapter: switch from struct jtag_interface to adapter_driver 2020-01-14 11:39:37 +00:00
ep93xx.c jtag/drivers: replace perror() with LOG_ERROR() 2020-07-14 00:39:39 +01:00
ft232r.c drivers/ft232r: Group adapter commands 2021-08-14 13:37:36 +01:00
ftdi.c openocd: remove NULL comparisons with checkpatch [1/2] 2021-07-24 10:38:00 +01:00
gw16012.c jtag: declare local symbols as static 2020-11-04 17:39:22 +00:00
imx_gpio.c jtag/drivers: replace perror() with LOG_ERROR() 2020-07-14 00:39:39 +01:00
jlink.c openocd: remove 'src' prefix from #include path 2021-10-25 16:12:42 +00:00
jtag_dpi.c drivers/jtag_dpi: Group adapter commands 2021-08-14 13:34:49 +01:00
jtag_usb_common.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
jtag_usb_common.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
jtag_vpi.c drivers/jtag_vpi: Group adapter commands 2021-08-14 13:35:37 +01:00
kitprog.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
libftdi_helper.h openocd: add support for libftdi 1.5 2020-11-04 17:38:45 +00:00
libusb_helper.c helper: Remove src/helper from include dirs 2021-10-02 13:18:15 +00:00
libusb_helper.h jtag: rename CamelCase symbols 2021-07-02 17:10:15 +01:00
linuxgpiod.c driver/linuxgpiod: add support for opendrain srst 2021-09-25 13:15:05 +00:00
Makefile.am openocd: drop dependency from libusb0 2021-04-05 23:25:34 +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/mpsse: fix SIGSEGV for use after free 2021-08-14 13:31:27 +01:00
mpsse.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nulink_usb.c jtag: fix some minor typo 2021-05-22 10:06:38 +01:00
opendous.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
openjtag.c drivers/openjtag: Group adapter commands 2021-08-14 13:33:07 +01:00
osbdm.c jtag: fix minor typos 2020-07-26 20:14:37 +01:00
parport.c drivers/parport: Group adapter commands 2021-08-14 13:32:41 +01:00
presto.c drivers/presto: Group adapter commands 2021-08-14 13:33:42 +01:00
remote_bitbang.c Speed up remote bitbang. 2021-09-25 13:13:59 +00: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
rlink.c openocd: manually remove NULL comparisons 2021-07-24 10:38:19 +01:00
rlink.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
rshim.c jtag: fix minor typos 2020-07-26 20:14:37 +01:00
stlink_usb.c stlink: check buffer size on 16 and 32 bit memory transfer 2021-11-05 22:40:54 +00:00
sysfsgpio.c drivers/sysfsgpio: Group adapter commands 2021-08-14 13:36:27 +01:00
ti_icdi_usb.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
ulink.c drivers/ulink: Group adapter commands 2021-08-14 13:34:05 +01:00
usbprog.c drivers/usbprog: switch to libusb1 2021-04-05 23:25:02 +01:00
vsllink.c drivers/vsllink: Group adapter commands 2021-08-14 13:34:33 +01:00
xds110.c openocd: fix Yoda conditions with checkpatch 2021-07-24 10:38:31 +01:00
xlnx-pcie-xvc.c drivers/xlnx-pcie-xvc: Group adapter commands 2021-08-14 13:33:55 +01:00