]> git.sur5r.net Git - openocd/commitdiff
Add board/redbee-usb.cfg
authorMariano Alvira <mar@devl.org>
Sun, 28 Feb 2010 18:33:46 +0000 (10:33 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 28 Feb 2010 18:33:46 +0000 (10:33 -0800)
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>
doc/openocd.texi
src/jtag/drivers/ft2232.c
tcl/board/redbee-usb.cfg [new file with mode: 0644]

index c6113abdb340e14e545b036bf1e291b028e7d17e..9da2977f7ebbc120d0c81d1903fbc5841c443e5a 100644 (file)
@@ -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
index d2e96d0791af7fee6d6ffc0d109e6ffa46f073a1..43e7b9fbe148ac655ab747748718bfbecc4d548f 100644 (file)
@@ -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 (file)
index 0000000..3aa68c1
--- /dev/null
@@ -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