Marcel Jost <marcel.jost@bfh.ch>:
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user