diff options
author | Diego Herranz <diegoherranz@diegoherranz.com> | 2020-05-10 18:57:46 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-10-28 10:13:15 +0000 |
commit | 895d4a599585543155dd4a7559489cf126e02c4c (patch) | |
tree | ee1b6b1968d69cefbb89eb9e77a763c973061ae4 | |
parent | 9e2a0effb2b7b933db00543f1e6879541707a2f3 (diff) | |
download | riscv-openocd-895d4a599585543155dd4a7559489cf126e02c4c.zip riscv-openocd-895d4a599585543155dd4a7559489cf126e02c4c.tar.gz riscv-openocd-895d4a599585543155dd4a7559489cf126e02c4c.tar.bz2 |
tcl/interface/ftdi: Add Steppenprobe open hardware interface
https://github.com/diegoherranz/steppenprobe
Change-Id: Ief2c3f4a8707fa628650697d93893b2355015898
Signed-off-by: Diego Herranz <diegoherranz@diegoherranz.com>
Reviewed-on: http://openocd.zylin.com/5653
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rwxr-xr-x | tcl/interface/ftdi/steppenprobe.cfg | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tcl/interface/ftdi/steppenprobe.cfg b/tcl/interface/ftdi/steppenprobe.cfg new file mode 100755 index 0000000..7b5b9a0 --- /dev/null +++ b/tcl/interface/ftdi/steppenprobe.cfg @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +# +# Steppenprobe +# https://github.com/diegoherranz/steppenprobe +# + +adapter driver ftdi +ftdi_vid_pid 0x0403 0x6010 + +# Initial Layout +ftdi_layout_init 0x0058 0x99fb +# Signal Data Direction Notes +# TCK 0 1 (out) +# TDI 0 1 (out) +# TDO 0 0 (in) +# TMS 1 1 (out) JTAG IEEE std recommendation +# LED 1 1 (out) LED off +# SWD_EN 0 1 (out) OpenOCD sets this high for SWD +# SWDIO_OE 1 1 (out) Ext. buffer tristated +# SRST 0 1 (out) Translates to nSRST=Z + +# Unused 0 1 (out) +# GPIO_A 0 0 (in) +# GPIO_B 0 0 (in) +# Unused 0 1 (out) +# Unused 0 1 (out) +# GPIO_C 0 0 (in) +# GPIO_D 0 0 (in) +# Unused 0 1 (out) + +# Signals definition +ftdi_layout_signal LED -ndata 0x0010 +ftdi_layout_signal SWD_EN -data 0x0020 +ftdi_layout_signal SWDIO_OE -ndata 0x0040 +ftdi_layout_signal nSRST -oe 0x0080 + +ftdi_layout_signal GPIO_A -data 0x0200 -oe 0x0200 -input 0x0200 +ftdi_layout_signal GPIO_B -data 0x0400 -oe 0x0400 -input 0x0400 +ftdi_layout_signal GPIO_C -data 0x2000 -oe 0x2000 -input 0x2000 +ftdi_layout_signal GPIO_D -data 0x4000 -oe 0x4000 -input 0x4000 |