riscv-openocd/tcl
Richard Pasek 83e0293f7b Add Linux SPI device SWD adapter support
To alleviate the need to bitbang SWD, I've written a SWD SPI
implementation. This code is inspired by the work of luppy@appkaki.com
as shown at github.com/lupyuen/openocd-spi but with the desire to be
more generic. This implementation makes use of the more common 4 wire
SPI port using full duplex transfers to be able to capture the SWD ACK
bits when a SWD TX operation is in progress.

TEST:
  Connects successfully with the following combinations:
  Hosts:
    Raspberry Pi 4B
    Unnamed Qualcomm SoC with QUPv3 based SPI port
  Targets:
    Raspberry Pi 2040
    Nordic nRF52840
    NXP RT500

Change-Id: Ic2f38a1806085d527e6f999a3d15aea6f32d1019
Signed-off-by: Richard Pasek <rpasek@google.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8645
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: zapb <dev@zapb.de>
Tested-by: jenkins
2025-01-22 15:21:10 +00:00
..
board flash/stm32l4x: add STM32C071xx support 2025-01-06 05:01:21 +00:00
chip tcl/chip/st/spear: fix syntax errors 2024-06-08 08:44:04 +00:00
cpld cpld: update warning to suggest virtex2 refresh 2024-09-07 11:39:22 +00:00
cpu tcl/arc: Fix ARC v2 registers r22/r23 2023-09-02 10:40:34 +00:00
fpga pld/intel: remove idcodes from intel.c 2024-06-15 14:25:05 +00:00
interface Add Linux SPI device SWD adapter support 2025-01-22 15:21:10 +00:00
target tcl/target: Add config for STM32U0x 2024-12-29 07:26:13 +00:00
test tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
tools tcl/tools/test_cpu_speed: Fix register name 2023-03-18 21:59:47 +00:00
bitsbytes.tcl tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
mem_helper.tcl tcl: add SPDX tag 2022-06-24 21:54:12 +00:00
memory.tcl tcl/memory: fix syntax errors 2024-06-08 08:42:34 +00:00
mmr_helpers.tcl tcl: add SPDX tag 2022-06-24 21:54:12 +00:00