- several small fixes (thanks to Magnus Lundin and Spencer Oliver)

- added support for using Luminary Micro development board 'evb_lm3s811' as a JTAG interface (thanks to Magnus Lundin)


git-svn-id: svn://svn.berlios.de/openocd/trunk@106 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
drath
2006-10-23 14:02:34 +00:00
parent e8ead33804
commit 456737b08b
5 changed files with 18 additions and 9 deletions

View File

@@ -109,6 +109,7 @@ ft2232_layout_t ft2232_layouts[] =
{"jtagkey", jtagkey_init, jtagkey_reset, NULL},
{"jtagkey_prototype_v1", jtagkey_init, jtagkey_reset, NULL},
{"signalyzer", usbjtag_init, usbjtag_reset, NULL},
{"evb_lm3s811", usbjtag_init, usbjtag_reset, NULL},
{"olimex-jtag", olimex_jtag_init, olimex_jtag_reset, olimex_jtag_blink},
{"m5960", m5960_init, m5960_reset, NULL},
{NULL, NULL, NULL},
@@ -1169,6 +1170,15 @@ int usbjtag_init(void)
nSRST = 0x20;
nSRSTnOE = 0x20;
}
else if (strcmp(ft2232_layout, "evb_lm3s811") == 0)
{
nTRST = 0x0;
nTRSTnOE = 0x00;
nSRST = 0x20;
nSRSTnOE = 0x20;
low_output = 0x88;
low_direction = 0x8b;
}
else
{
ERROR("BUG: usbjtag_init called for unknown layout '%s'", ft2232_layout);