From b8862229d01c803142388d8456473b908fee22ea Mon Sep 17 00:00:00 2001 From: Freddie Chopin Date: Thu, 19 Jul 2012 09:32:04 +0200 Subject: [PATCH] cfg: Add config file variants using the ftdi driver instead of ft2232 part 4 - files that are currently untested Change-Id: Ic4a08fdefc99e7a9d50885c888c3fca60ffa39bd Signed-off-by: Andreas Fritiofson Signed-off-by: Freddie Chopin Reviewed-on: http://openocd.zylin.com/750 Tested-by: jenkins --- tcl/interface/ftdi/axm0432.cfg | 18 +++++++++++++ tcl/interface/ftdi/cortino.cfg | 18 +++++++++++++ tcl/interface/ftdi/flossjtag-noeeprom.cfg | 26 ++++++++++++++++++ tcl/interface/ftdi/flossjtag.cfg | 29 +++++++++++++++++++++ tcl/interface/ftdi/flyswatter2.cfg | 18 +++++++++++++ tcl/interface/ftdi/hilscher_nxhx10_etm.cfg | 18 +++++++++++++ tcl/interface/ftdi/hilscher_nxhx500_etm.cfg | 18 +++++++++++++ tcl/interface/ftdi/hilscher_nxhx500_re.cfg | 18 +++++++++++++ tcl/interface/ftdi/hilscher_nxhx50_etm.cfg | 18 +++++++++++++ tcl/interface/ftdi/hilscher_nxhx50_re.cfg | 18 +++++++++++++ tcl/interface/ftdi/hitex_str9-comstick.cfg | 18 +++++++++++++ tcl/interface/ftdi/icebear.cfg | 18 +++++++++++++ tcl/interface/ftdi/luminary-lm3s811.cfg | 24 +++++++++++++++++ tcl/interface/ftdi/minimodule.cfg | 17 ++++++++++++ tcl/interface/ftdi/openrd.cfg | 19 ++++++++++++++ tcl/interface/ftdi/redbee-econotag.cfg | 21 +++++++++++++++ tcl/interface/ftdi/redbee-usb.cfg | 22 ++++++++++++++++ tcl/interface/ftdi/sheevaplug.cfg | 19 ++++++++++++++ tcl/interface/ftdi/signalyzer-lite.cfg | 18 +++++++++++++ tcl/interface/ftdi/signalyzer.cfg | 18 +++++++++++++ tcl/interface/ftdi/stm32-stick.cfg | 18 +++++++++++++ 21 files changed, 411 insertions(+) create mode 100644 tcl/interface/ftdi/axm0432.cfg create mode 100644 tcl/interface/ftdi/cortino.cfg create mode 100644 tcl/interface/ftdi/flossjtag-noeeprom.cfg create mode 100644 tcl/interface/ftdi/flossjtag.cfg create mode 100644 tcl/interface/ftdi/flyswatter2.cfg create mode 100644 tcl/interface/ftdi/hilscher_nxhx10_etm.cfg create mode 100644 tcl/interface/ftdi/hilscher_nxhx500_etm.cfg create mode 100644 tcl/interface/ftdi/hilscher_nxhx500_re.cfg create mode 100644 tcl/interface/ftdi/hilscher_nxhx50_etm.cfg create mode 100644 tcl/interface/ftdi/hilscher_nxhx50_re.cfg create mode 100644 tcl/interface/ftdi/hitex_str9-comstick.cfg create mode 100644 tcl/interface/ftdi/icebear.cfg create mode 100644 tcl/interface/ftdi/luminary-lm3s811.cfg create mode 100644 tcl/interface/ftdi/minimodule.cfg create mode 100644 tcl/interface/ftdi/openrd.cfg create mode 100644 tcl/interface/ftdi/redbee-econotag.cfg create mode 100644 tcl/interface/ftdi/redbee-usb.cfg create mode 100644 tcl/interface/ftdi/sheevaplug.cfg create mode 100644 tcl/interface/ftdi/signalyzer-lite.cfg create mode 100644 tcl/interface/ftdi/signalyzer.cfg create mode 100644 tcl/interface/ftdi/stm32-stick.cfg diff --git a/tcl/interface/ftdi/axm0432.cfg b/tcl/interface/ftdi/axm0432.cfg new file mode 100644 index 00000000..0c24a333 --- /dev/null +++ b/tcl/interface/ftdi/axm0432.cfg @@ -0,0 +1,18 @@ +# +# Axiom axm0432 +# +# http://www.axman.com +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "Symphony SoundBite" +ftdi_vid_pid 0x0403 0x6010 + +ftdi_layout_init 0x0c08 0x0c2b +ftdi_layout_signal nTRST -data 0x0800 +ftdi_layout_signal nSRST -data 0x0400 diff --git a/tcl/interface/ftdi/cortino.cfg b/tcl/interface/ftdi/cortino.cfg new file mode 100644 index 00000000..d4f83f1f --- /dev/null +++ b/tcl/interface/ftdi/cortino.cfg @@ -0,0 +1,18 @@ +# +# Hitex Cortino +# +# http://www.hitex.com/index.php?id=cortino +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "Cortino" +ftdi_vid_pid 0x0640 0x0032 + +ftdi_layout_init 0x0308 0x031b +ftdi_layout_signal nTRST -data 0x0100 +ftdi_layout_signal nSRST -data 0x0200 diff --git a/tcl/interface/ftdi/flossjtag-noeeprom.cfg b/tcl/interface/ftdi/flossjtag-noeeprom.cfg new file mode 100644 index 00000000..18046e74 --- /dev/null +++ b/tcl/interface/ftdi/flossjtag-noeeprom.cfg @@ -0,0 +1,26 @@ +# +# FlossJTAG +# +# http://github.com/esden/floss-jtag +# +# This is the pre v0.3 Floss-JTAG compatible config file. It can also be used +# for newer versions of Floss-JTAG with empty or not populated EEPROM. If you +# have several Floss-JTAG connected you have to use the USB ID to select a +# specific one. +# +# If you have a Floss-JTAG WITH EEPROM that is programmed, use the +# flossjtag.cfg file. +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "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/flossjtag.cfg b/tcl/interface/ftdi/flossjtag.cfg new file mode 100644 index 00000000..13e1f0bb --- /dev/null +++ b/tcl/interface/ftdi/flossjtag.cfg @@ -0,0 +1,29 @@ +# +# FlossJTAG +# +# http://github.com/esden/floss-jtag +# +# This is the v0.3 and v1.0 Floss-JTAG compatible config file. It relies on the +# existence of an EEPROM on Floss-JTAG containing a name. If you have several +# Floss-JTAG adapters connected you can use the serial number to select a +# specific device. +# +# If your Floss-JTAG does not have an EEPROM, or the EEPROM is empty, use the +# flossjtag-noeeprom.cfg file. +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_vid_pid 0x0403 0x6010 +ftdi_device_desc "FLOSS-JTAG" +#ftdi_serial "FJ000001" + +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 0x0800 +ftdi_layout_signal LED2 -data 0x1000 diff --git a/tcl/interface/ftdi/flyswatter2.cfg b/tcl/interface/ftdi/flyswatter2.cfg new file mode 100644 index 00000000..7d57e436 --- /dev/null +++ b/tcl/interface/ftdi/flyswatter2.cfg @@ -0,0 +1,18 @@ +# +# TinCanTools Flyswatter 2 +# +# http://www.tincantools.com/product.php?productid=16134 +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "Flyswatter2" +ftdi_vid_pid 0x0403 0x6010 + +ftdi_layout_init 0x0818 0x017b +ftdi_layout_signal nTRST -data 0x0010 +ftdi_layout_signal nSRST -noe 0x0020 diff --git a/tcl/interface/ftdi/hilscher_nxhx10_etm.cfg b/tcl/interface/ftdi/hilscher_nxhx10_etm.cfg new file mode 100644 index 00000000..b682333e --- /dev/null +++ b/tcl/interface/ftdi/hilscher_nxhx10_etm.cfg @@ -0,0 +1,18 @@ +# +# Hilscher NXHX 10-ETM +# +# http://de.hilscher.com/products_details_hardware.html?p_id=P_4ce145a5983e6 +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "NXHX 10-ETM" +ftdi_vid_pid 0x0640 0x0028 + +ftdi_layout_init 0x0308 0x030b +ftdi_layout_signal nTRST -data 0x0100 +ftdi_layout_signal nSRST -data 0x0200 diff --git a/tcl/interface/ftdi/hilscher_nxhx500_etm.cfg b/tcl/interface/ftdi/hilscher_nxhx500_etm.cfg new file mode 100644 index 00000000..3483030c --- /dev/null +++ b/tcl/interface/ftdi/hilscher_nxhx500_etm.cfg @@ -0,0 +1,18 @@ +# +# Hilscher NXHX 500-ETM +# +# http://de.hilscher.com/files_design/8/NXHX500-ETM_description_Rev01_EN.pdf +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "NXHX 500-ETM" +ftdi_vid_pid 0x0640 0x0028 + +ftdi_layout_init 0x0308 0x030b +ftdi_layout_signal nTRST -data 0x0100 +ftdi_layout_signal nSRST -data 0x0200 diff --git a/tcl/interface/ftdi/hilscher_nxhx500_re.cfg b/tcl/interface/ftdi/hilscher_nxhx500_re.cfg new file mode 100644 index 00000000..b4cada05 --- /dev/null +++ b/tcl/interface/ftdi/hilscher_nxhx500_re.cfg @@ -0,0 +1,18 @@ +# +# Hilscher NXHX 500-RE +# +# http://de.hilscher.com/products_details_hardware.html?p_id=P_461ff2053bad1&bs=20 +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "NXHX 500-RE" +ftdi_vid_pid 0x0640 0x0028 + +ftdi_layout_init 0x0308 0x030b +ftdi_layout_signal nTRST -data 0x0100 +ftdi_layout_signal nSRST -data 0x0200 diff --git a/tcl/interface/ftdi/hilscher_nxhx50_etm.cfg b/tcl/interface/ftdi/hilscher_nxhx50_etm.cfg new file mode 100644 index 00000000..67074a26 --- /dev/null +++ b/tcl/interface/ftdi/hilscher_nxhx50_etm.cfg @@ -0,0 +1,18 @@ +# +# Hilscher NXHX 50-ETM +# +# http://de.hilscher.com/files_design/8/NXHX50-ETM_description_Rev01_EN.pdf +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "NXHX 50-ETM" +ftdi_vid_pid 0x0640 0x0028 + +ftdi_layout_init 0x0308 0x030b +ftdi_layout_signal nTRST -data 0x0100 +ftdi_layout_signal nSRST -data 0x0200 diff --git a/tcl/interface/ftdi/hilscher_nxhx50_re.cfg b/tcl/interface/ftdi/hilscher_nxhx50_re.cfg new file mode 100644 index 00000000..966dcd81 --- /dev/null +++ b/tcl/interface/ftdi/hilscher_nxhx50_re.cfg @@ -0,0 +1,18 @@ +# +# Hilscher NXHX 50-RE +# +# http://de.hilscher.com/products_details_hardware.html?p_id=P_483c0f582ad36&bs=20 +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "NXHX50-RE" +ftdi_vid_pid 0x0640 0x0028 + +ftdi_layout_init 0x0308 0x030b +ftdi_layout_signal nTRST -data 0x0100 +ftdi_layout_signal nSRST -data 0x0200 diff --git a/tcl/interface/ftdi/hitex_str9-comstick.cfg b/tcl/interface/ftdi/hitex_str9-comstick.cfg new file mode 100644 index 00000000..f5893817 --- /dev/null +++ b/tcl/interface/ftdi/hitex_str9-comstick.cfg @@ -0,0 +1,18 @@ +# +# Hitex STR9-comStick +# +# http://www.hitex.com/index.php?id=383 +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "STR9-comStick" +ftdi_vid_pid 0x0640 0x002c + +ftdi_layout_init 0x0308 0x030b +ftdi_layout_signal nTRST -data 0x0100 +ftdi_layout_signal nSRST -data 0x0200 diff --git a/tcl/interface/ftdi/icebear.cfg b/tcl/interface/ftdi/icebear.cfg new file mode 100644 index 00000000..2c03d417 --- /dev/null +++ b/tcl/interface/ftdi/icebear.cfg @@ -0,0 +1,18 @@ +# +# Section5 ICEBear +# +# http://section5.ch/icebear +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "ICEbear JTAG adapter" +ftdi_vid_pid 0x0403 0xc140 + +ftdi_layout_init 0x0028 0x002b +ftdi_layout_signal nTRST -data 0x0010 -oe 0x0010 +ftdi_layout_signal nSRST -data 0x0020 diff --git a/tcl/interface/ftdi/luminary-lm3s811.cfg b/tcl/interface/ftdi/luminary-lm3s811.cfg new file mode 100644 index 00000000..232ba034 --- /dev/null +++ b/tcl/interface/ftdi/luminary-lm3s811.cfg @@ -0,0 +1,24 @@ +# +# Luminary Micro Stellaris LM3S811 Evaluation Kit +# +# http://www.luminarymicro.com/products/stellaris_811_evaluation_kits.html +# +# NOTE: this is only for boards *before* Rev C, which adds support +# for SWO tracing with ADBUS_6 DBG_ENn and BDBUS_4 SWO_EN signals. +# The "evb_lm3s811" layout doesn't set up those signals. +# +# Rev C boards work more like the other Stellaris eval boards. They +# need to use the "luminary_icdi" layout to work correctly. +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "LM3S811 Evaluation Board" +ftdi_vid_pid 0x0403 0xbcd9 + +ftdi_layout_init 0x0088 0x008b +ftdi_layout_signal nSRST -data 0x0020 -oe 0x0020 diff --git a/tcl/interface/ftdi/minimodule.cfg b/tcl/interface/ftdi/minimodule.cfg new file mode 100644 index 00000000..57249dfc --- /dev/null +++ b/tcl/interface/ftdi/minimodule.cfg @@ -0,0 +1,17 @@ +# +# FTDI MiniModule +# +# http://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_FT2232H_Mini_Module.pdf +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "FT2232H MiniModule" +ftdi_vid_pid 0x0403 0x6010 + +ftdi_layout_init 0x0018 0x05fb +ftdi_layout_signal nSRST -data 0x0020 diff --git a/tcl/interface/ftdi/openrd.cfg b/tcl/interface/ftdi/openrd.cfg new file mode 100644 index 00000000..8c1a8059 --- /dev/null +++ b/tcl/interface/ftdi/openrd.cfg @@ -0,0 +1,19 @@ +# +# Marvell OpenRD +# +# http://www.marvell.com/products/embedded_processors/developer/kirkwood/openrd.jsp +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "OpenRD JTAGKey FT2232D" +ftdi_vid_pid 0x0403 0x9e90 +ftdi_channel 1 + +ftdi_layout_init 0x0608 0x0f1b +ftdi_layout_signal nTRST -data 0x0200 +ftdi_layout_signal nSRST -noe 0x0400 diff --git a/tcl/interface/ftdi/redbee-econotag.cfg b/tcl/interface/ftdi/redbee-econotag.cfg new file mode 100644 index 00000000..70c30d65 --- /dev/null +++ b/tcl/interface/ftdi/redbee-econotag.cfg @@ -0,0 +1,21 @@ +# +# Redwire Redbee-Econotag +# +# http://www.redwirellc.com/store/node/1 +# +# The Redbee-Econotag has an onboard FT2232H with: +# - FT2232H channel A wired to mc13224v JTAG +# - FT2232H channel B wired to mc13224v UART1 +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_vid_pid 0x0403 0x6010 + +ftdi_layout_init 0x0c08 0x0c2b +ftdi_layout_signal nTRST -data 0x0800 +ftdi_layout_signal nSRST -data 0x0400 diff --git a/tcl/interface/ftdi/redbee-usb.cfg b/tcl/interface/ftdi/redbee-usb.cfg new file mode 100644 index 00000000..b79300d5 --- /dev/null +++ b/tcl/interface/ftdi/redbee-usb.cfg @@ -0,0 +1,22 @@ +# +# Redwire Redbee-USB +# +# http://www.redwirellc.com +# +# The Redbee-USB has an onboard FT2232H with: +# - FT2232H channel B wired to mc13224v JTAG +# - FT2232H channel A wired to mc13224v UART1 +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_vid_pid 0x0403 0x6010 +ftdi_channel 1 + +ftdi_layout_init 0x0c08 0x0c2b +ftdi_layout_signal nTRST -data 0x0800 +ftdi_layout_signal nSRST -data 0x0400 diff --git a/tcl/interface/ftdi/sheevaplug.cfg b/tcl/interface/ftdi/sheevaplug.cfg new file mode 100644 index 00000000..e3afab32 --- /dev/null +++ b/tcl/interface/ftdi/sheevaplug.cfg @@ -0,0 +1,19 @@ +# +# Marvel SheevaPlug Development Kit +# +# http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "SheevaPlug JTAGKey FT2232D" +ftdi_vid_pid 0x9e88 0x9e8f +ftdi_channel 1 + +ftdi_layout_init 0x0608 0x0f1b +ftdi_layout_signal nTRST -data 0x0200 +ftdi_layout_signal nSRST -noe 0x0400 diff --git a/tcl/interface/ftdi/signalyzer-lite.cfg b/tcl/interface/ftdi/signalyzer-lite.cfg new file mode 100644 index 00000000..4988a3bf --- /dev/null +++ b/tcl/interface/ftdi/signalyzer-lite.cfg @@ -0,0 +1,18 @@ +# +# Xverve Signalyzer LITE (DT-USB-SLITE) +# +# http://www.signalyzer.com +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "Signalyzer LITE" +ftdi_vid_pid 0x0403 0xbca1 + +ftdi_layout_init 0x0008 0x000b +ftdi_layout_signal nTRST -data 0x0010 -oe 0x0010 +ftdi_layout_signal nSRST -data 0x0020 -oe 0x0020 diff --git a/tcl/interface/ftdi/signalyzer.cfg b/tcl/interface/ftdi/signalyzer.cfg new file mode 100644 index 00000000..e2629bee --- /dev/null +++ b/tcl/interface/ftdi/signalyzer.cfg @@ -0,0 +1,18 @@ +# +# Xverve Signalyzer Tool (DT-USB-ST) +# +# http://www.signalyzer.com +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "Signalyzer" +ftdi_vid_pid 0x0403 0xbca0 + +ftdi_layout_init 0x0008 0x000b +ftdi_layout_signal nTRST -data 0x0010 -oe 0x0010 +ftdi_layout_signal nSRST -data 0x0020 -oe 0x0020 diff --git a/tcl/interface/ftdi/stm32-stick.cfg b/tcl/interface/ftdi/stm32-stick.cfg new file mode 100644 index 00000000..86280a8e --- /dev/null +++ b/tcl/interface/ftdi/stm32-stick.cfg @@ -0,0 +1,18 @@ +# +# Hitex STM32-PerformanceStick +# +# http://www.hitex.com/index.php?id=340 +# + +echo "WARNING!" +echo "This file was not tested with real interface, it is based on code in ft2232.c." +echo "Please report your experience with this file to openocd-devel mailing list," +echo "so it could be marked as working or fixed." + +interface ftdi +ftdi_device_desc "STM32-PerformanceStick" +ftdi_vid_pid 0x0640 0x002d + +ftdi_layout_init 0x0188 0x038b +ftdi_layout_signal nTRST -data 0x0100 +ftdi_layout_signal nSRST -data 0x0080 -- 2.39.5