From 0324eb24967088f753bc2fd997b4c18f4ea988c8 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Sun, 28 Feb 2010 10:33:46 -0800 Subject: 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 --- doc/openocd.texi | 1 + src/jtag/drivers/ft2232.c | 5 +++++ tcl/board/redbee-usb.cfg | 8 ++++++++ 3 files changed, 14 insertions(+) create mode 100644 tcl/board/redbee-usb.cfg 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 -- cgit v1.1