From: Mariano Alvira Date: Sun, 28 Feb 2010 18:33:46 +0000 (-0800) Subject: Add board/redbee-usb.cfg X-Git-Tag: v0.5.0-rc1~904 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0324eb24967088f753bc2fd997b4c18f4ea988c8;p=openocd 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 --- diff --git a/doc/openocd.texi b/doc/openocd.texi index c6113abd..9da2977f 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 d2e96d07..43e7b9fb 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 00000000..3aa68c10 --- /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