This patch adds support for the Luminary Micro LM3S9B90 target and
LM3S9B92 Evaluation Kit.  These kits include a new ft2232 adapter, the
Luminary In-Circuit Debug Interface (ICDI) Board, so this is added as a
new ft2232 layout called "luminary_icdi".


git-svn-id: svn://svn.berlios.de/openocd/trunk@2429 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
zwelch
2009-06-30 09:09:30 +00:00
parent 0894ae214a
commit f130f95d45
5 changed files with 82 additions and 0 deletions

View File

@@ -156,6 +156,7 @@ static const ft2232_layout_t ft2232_layouts[] =
{ "oocdlink", jtagkey_init, jtagkey_reset, NULL },
{ "signalyzer", usbjtag_init, usbjtag_reset, NULL },
{ "evb_lm3s811", usbjtag_init, usbjtag_reset, NULL },
{ "luminary_icdi", usbjtag_init, usbjtag_reset, NULL },
{ "olimex-jtag", olimex_jtag_init, olimex_jtag_reset, olimex_jtag_blink },
{ "flyswatter", flyswatter_init, flyswatter_reset, flyswatter_jtag_blink },
{ "turtelizer2", turtle_init, turtle_reset, turtle_jtag_blink },
@@ -2163,6 +2164,15 @@ static int usbjtag_init(void)
low_output = 0x88;
low_direction = 0x8b;
}
else if (strcmp(ft2232_layout, "luminary_icdi") == 0)
{
nTRST = 0x0;
nTRSTnOE = 0x00;
nSRST = 0x20;
nSRSTnOE = 0x20;
low_output = 0x88;
low_direction = 0xcb;
}
else
{
LOG_ERROR("BUG: usbjtag_init called for unknown layout '%s'", ft2232_layout);