From 2b6a75538a10925a9c2fc01de469f81d00c91087 Mon Sep 17 00:00:00 2001 From: Freddie Chopin Date: Fri, 20 Jul 2012 10:19:51 +0200 Subject: [PATCH] cfg: Add config file variants using the ftdi driver instead of ft2232 part 3 - files that are currently untested but verified with schematics Change-Id: Ia00c3b6437bffcfa0d178e779926ad9309e289fe Signed-off-by: Andreas Fritiofson Signed-off-by: Freddie Chopin Reviewed-on: http://openocd.zylin.com/755 Tested-by: jenkins --- tcl/interface/ftdi/dlp-usb1232h.cfg | 21 +++++++++++++++++++++ tcl/interface/ftdi/flyswatter.cfg | 19 +++++++++++++++++++ tcl/interface/ftdi/lisa-l.cfg | 20 ++++++++++++++++++++ tcl/interface/ftdi/neodb.cfg | 19 +++++++++++++++++++ tcl/interface/ftdi/turtelizer2-revB.cfg | 18 ++++++++++++++++++ tcl/interface/ftdi/turtelizer2-revC.cfg | 19 +++++++++++++++++++ tcl/interface/ftdi/xds100v2.cfg | 23 +++++++++++++++++++++++ 7 files changed, 139 insertions(+) create mode 100644 tcl/interface/ftdi/dlp-usb1232h.cfg create mode 100644 tcl/interface/ftdi/flyswatter.cfg create mode 100644 tcl/interface/ftdi/lisa-l.cfg create mode 100644 tcl/interface/ftdi/neodb.cfg create mode 100644 tcl/interface/ftdi/turtelizer2-revB.cfg create mode 100644 tcl/interface/ftdi/turtelizer2-revC.cfg create mode 100644 tcl/interface/ftdi/xds100v2.cfg diff --git a/tcl/interface/ftdi/dlp-usb1232h.cfg b/tcl/interface/ftdi/dlp-usb1232h.cfg new file mode 100644 index 0000000000..f447771e37 --- /dev/null +++ b/tcl/interface/ftdi/dlp-usb1232h.cfg @@ -0,0 +1,21 @@ +# +# DLP Design DLP-USB1232H USB-to-UART/FIFO interface module +# +# http://www.dlpdesign.com/usb/usb1232h.shtml +# +# Schematics for OpenOCD usage: +# http://randomprojects.org/wiki/DLP-USB1232H_and_OpenOCD_based_JTAG_adapter +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on schematics and code" +echo "in ft2232.c. Please report your experience with this file to openocd-devel" +echo "mailing list, so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "Dual RS232-HS" +ftdi_vid_pid 0x0403 0x6010 + +ftdi_layout_init 0x0008 0x000b +ftdi_layout_signal nTRST -data 0x0010 -oe 0x0010 +ftdi_layout_signal nSRST -data 0x0040 -oe 0x0040 diff --git a/tcl/interface/ftdi/flyswatter.cfg b/tcl/interface/ftdi/flyswatter.cfg new file mode 100644 index 0000000000..202d210431 --- /dev/null +++ b/tcl/interface/ftdi/flyswatter.cfg @@ -0,0 +1,19 @@ +# +# TinCanTools Flyswatter +# +# http://www.tincantools.com/product.php?productid=16134 +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on schematics and code" +echo "in ft2232.c. Please report your experience with this file to openocd-devel" +echo "mailing list, so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "Flyswatter" +ftdi_vid_pid 0x0403 0x6010 + +ftdi_layout_init 0x0818 0x0cfb +ftdi_layout_signal nTRST -data 0x0010 +ftdi_layout_signal nSRST -oe 0x0020 +ftdi_layout_signal LED -data 0x0c00 diff --git a/tcl/interface/ftdi/lisa-l.cfg b/tcl/interface/ftdi/lisa-l.cfg new file mode 100644 index 0000000000..67002bb96d --- /dev/null +++ b/tcl/interface/ftdi/lisa-l.cfg @@ -0,0 +1,20 @@ +# +# Lisa/L +# +# http://paparazzi.enac.fr/wiki/Lisa +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on schematics and code" +echo "in ft2232.c. Please report your experience with this file to openocd-devel" +echo "mailing list, so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "Lisa/L" +ftdi_vid_pid 0x0403 0x6010 +ftdi_channel 1 + +ftdi_layout_init 0x0008 0x180b +ftdi_layout_signal nTRST -data 0x0010 -oe 0x0010 +ftdi_layout_signal nSRST -data 0x0040 -oe 0x0040 +ftdi_layout_signal LED -data 0x1800 diff --git a/tcl/interface/ftdi/neodb.cfg b/tcl/interface/ftdi/neodb.cfg new file mode 100644 index 0000000000..1f1c39d132 --- /dev/null +++ b/tcl/interface/ftdi/neodb.cfg @@ -0,0 +1,19 @@ +# +# Openmoko USB JTAG/RS232 adapter +# +# http://wiki.openmoko.org/wiki/Debug_Board_v3 +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on schematics and code" +echo "in ft2232.c. Please report your experience with this file to openocd-devel" +echo "mailing list, so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "Debug Board for Neo1973" +ftdi_vid_pid 0x1457 0x5118 + +ftdi_layout_init 0x0508 0x0f1b +ftdi_layout_signal nTRST -data 0x0200 -noe 0x0100 +ftdi_layout_signal nSRST -data 0x0800 -noe 0x0400 +ftdi_layout_signal nNOR_WP -data 0x0010 -oe 0x0010 diff --git a/tcl/interface/ftdi/turtelizer2-revB.cfg b/tcl/interface/ftdi/turtelizer2-revB.cfg new file mode 100644 index 0000000000..45840402ac --- /dev/null +++ b/tcl/interface/ftdi/turtelizer2-revB.cfg @@ -0,0 +1,18 @@ +# +# egnite Turtelizer 2 rev B (with SRST only) +# +# http://www.ethernut.de/en/hardware/turtelizer/index.html +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on schematics and code" +echo "in ft2232.c. Please report your experience with this file to openocd-devel" +echo "mailing list, so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "Turtelizer JTAG/RS232 Adapter" +ftdi_vid_pid 0x0403 0xbdc8 + +ftdi_layout_init 0x0008 0x0c5b +ftdi_layout_signal nSRST -oe 0x0040 +ftdi_layout_signal LED -data 0x0c00 diff --git a/tcl/interface/ftdi/turtelizer2-revC.cfg b/tcl/interface/ftdi/turtelizer2-revC.cfg new file mode 100644 index 0000000000..24f12671a2 --- /dev/null +++ b/tcl/interface/ftdi/turtelizer2-revC.cfg @@ -0,0 +1,19 @@ +# +# egnite Turtelizer 2 revC (with TRST and SRST) +# +# http://www.ethernut.de/en/hardware/turtelizer/index.html +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on schematics and code" +echo "in ft2232.c. Please report your experience with this file to openocd-devel" +echo "mailing list, so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "Turtelizer JTAG/RS232 Adapter" +ftdi_vid_pid 0x0403 0xbdc8 + +ftdi_layout_init 0x0008 0x0c7b +ftdi_layout_signal nTRST -oe 0x0020 +ftdi_layout_signal nSRST -oe 0x0040 +ftdi_layout_signal LED -ndata 0x0c00 diff --git a/tcl/interface/ftdi/xds100v2.cfg b/tcl/interface/ftdi/xds100v2.cfg new file mode 100644 index 0000000000..fcdce37cbe --- /dev/null +++ b/tcl/interface/ftdi/xds100v2.cfg @@ -0,0 +1,23 @@ +# +# Texas Instruments XDS100v2 +# +# http://processors.wiki.ti.com/index.php/XDS100#XDS100v2_Features +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on schematics and code" +echo "in ft2232.c. Please report your experience with this file to openocd-devel" +echo "mailing list, so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "Texas Instruments Inc.XDS100 Ver 2.0" +ftdi_vid_pid 0x0403 0xa6d0 + +ftdi_layout_init 0x0838 0x597b +ftdi_layout_signal nTRST -data 0x0010 +ftdi_layout_signal nSRST -oe 0x0100 +ftdi_layout_signal nEMU_EN -data 0x0020 +ftdi_layout_signal nEMU0 -data 0x0040 +ftdi_layout_signal nEMU1 -data 0x1000 +ftdi_layout_signal PWR_RST -data 0x0800 +ftdi_layout_signal LOOPBACK -data 0x4000 -- 2.30.2