openocd/src
Tomas Vanek 65de7c95f4 jtag/drivers/kitprog: workaround serious firmware problem
Since commit 88f429ead0
5321: target/cortex_m: faster reading of all CPU registers
debugging with a kitprog adapter freezes at debug entry.

How to replicate:
 openocd -f interface/kitprog.cfg -f target/psoc4.cfg

Connect to telnet server.
Make sure the target is running:
 resume

Halt the target:
 halt

Without this patch OpenOCD freezes in kitprog_hid_command()
in library call hid_write().

Reduce the number of SWD transactions sent in one USB bulk write
as a workaround, simply use shorter buffer.
For details see the comment in src/jtag/drivers/kitprog.c

Change-Id: I0116894d5ebf1655f6011f0d35acdbbc178cd48c
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/7107
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2022-08-27 16:15:01 +00:00
..
flash flash: nor: use binary prefixes consistently 2022-08-27 16:13:07 +00:00
helper target: add API to temporarily mask target polling 2022-08-15 13:22:06 +00:00
jtag jtag/drivers/kitprog: workaround serious firmware problem 2022-08-27 16:15:01 +00:00
pld openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
rtos rtos: Support for "none" rtos 2022-08-15 13:19:21 +00:00
rtt openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
server server/gdb_server: Add support for default thread, use by IDA debugger 2022-08-20 15:29:12 +00:00
svf openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
target target/xtensa: fix clang analyzer warnings and gcc12 build errors 2022-08-21 22:04:07 +00:00
transport openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
xsvf openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
Makefile.am openocd: build: add SPDX tag 2022-07-23 13:06:38 +00:00
hello.c openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
hello.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
main.c openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
openocd.c openocd: prevent target polling during 'init' 2022-08-15 13:22:18 +00:00
openocd.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00