aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariano Alvira <mar@devl.org>2010-02-28 10:33:46 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-02-28 10:33:46 -0800
commit0324eb24967088f753bc2fd997b4c18f4ea988c8 (patch)
treec18e711ba4df46a99211f5d1e63bc7f8bc3794a4
parent63763345d94b11f106c832c23e8ad730a4485723 (diff)
downloadriscv-openocd-0324eb24967088f753bc2fd997b4c18f4ea988c8.zip
riscv-openocd-0324eb24967088f753bc2fd997b4c18f4ea988c8.tar.gz
riscv-openocd-0324eb24967088f753bc2fd997b4c18f4ea988c8.tar.bz2
Add board/redbee-usb.cfg
The Redbee USB is a small form-factor usb stick from Redwire, LLC (www.redwirellc.com/store), built around a Freescale MC13224V ARM7TDMI + 802.15.4 radio (plus antenna). It includes an FT2232H for debugging, with Channel B connected to the mc13224v's JTAG interface (unusual) and Channel A connected to UART1. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-rw-r--r--doc/openocd.texi1
-rw-r--r--src/jtag/drivers/ft2232.c5
-rw-r--r--tcl/board/redbee-usb.cfg8
3 files changed, 14 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index c6113ab..9da2977 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -2131,6 +2131,7 @@ to debug some other target. It can support the SWO trace mechanism.
@item @b{oocdlink} OOCDLink
@c oocdlink ~= jtagkey_prototype_v1
@item @b{redbee-econotag} Integrated with a Redbee development board.
+@item @b{redbee-usb} Integrated with a Redbee USB-stick development board.
@item @b{sheevaplug} Marvell Sheevaplug development kit
@item @b{signalyzer} Xverve Signalyzer
@item @b{stm32stick} Hitex STM32 Performance Stick
diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c
index d2e96d0..43e7b9f 100644
--- a/src/jtag/drivers/ft2232.c
+++ b/src/jtag/drivers/ft2232.c
@@ -269,6 +269,11 @@ static const struct ft2232_layout ft2232_layouts[] =
.init = redbee_init,
.reset = redbee_reset,
},
+ { .name = "redbee-usb",
+ .init = redbee_init,
+ .reset = redbee_reset,
+ .channel = INTERFACE_B,
+ },
{ .name = NULL, /* END OF TABLE */ },
};
diff --git a/tcl/board/redbee-usb.cfg b/tcl/board/redbee-usb.cfg
new file mode 100644
index 0000000..3aa68c1
--- /dev/null
+++ b/tcl/board/redbee-usb.cfg
@@ -0,0 +1,8 @@
+source [find target/mc13224v.cfg]
+
+# The redbee-econotag has an onboard ft2232h with
+# channel B wired to the JTAG pins on the mc13224v
+# channel A is wired to UART1 on the mc13224v
+interface ft2232
+ft2232_layout redbee-usb
+ft2232_vid_pid 0x0403 0x6010