mirror of
https://git.code.sf.net/p/openocd/code
synced 2025-09-19 22:09:56 +00:00
Create a new backend for cmsis_dap driver that allows CMSIS-DAP protocol to run over TCP/IP instead of USB. An example implementation of the firmware for an SWD programmer that uses this cmsis_dap_tcp protocol can be found at the link below. https://github.com/bkuschak/cmsis_dap_tcp_esp32 Using this cmsis_dap_tcp backend with the firmware above on an ESP32-C6 programmer and STM32F401RE target shows the following performance: - loading 96KB image to RAM: 80 KB/sec - dumping 96KB image from RAM: 72 KB/sec - flashing 512KB image completes in about 13.5 seconds (including erase, program, and verify). Change-Id: I6e3e45016bd16ef2259561b1046788f5536b0687 Signed-off-by: Brian Kuschak <bkuschak@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8973 Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
19 lines
449 B
INI
19 lines
449 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#
|
|
# cmsis-dap-tcp - CMSIS-DAP protocol over TCP/IP.
|
|
#
|
|
|
|
adapter driver cmsis-dap
|
|
cmsis-dap backend tcp
|
|
|
|
# Specify the hostname or IP address of your programmer.
|
|
# cmsis-dap tcp host 192.168.1.4
|
|
|
|
# Optionally specify a port number. Default port is 4441.
|
|
# cmsis-dap tcp port 4441
|
|
|
|
# Optionally set a lower bound on packet timeouts (milliseconds), if using a
|
|
# slow network.
|
|
# cmsis-dap tcp min_timeout 300
|