From 6ae83f5cf8ddf505498b535cb167550a54271606 Mon Sep 17 00:00:00 2001 From: drath Date: Wed, 5 Sep 2007 06:22:37 +0000 Subject: Patch by Michael Schwingen that - adds support for the Altium universal JTAG cable - adds support for "wiggler2" cable (basically a wiggler with added LED, documentation coming soon) - adds LED support. The LED is turned on during data transfer - works fine on Altium and wiggler2. - adds PORT_EXIT pattern that is written to port when exiting, in order to turn off power on cables that get their power from parallel port data lines - move port writes (with the system-specific ifdefs) to one central function - increased image cache size to 2KB (might require more adaptive cache handling, e.g. LRU) git-svn-id: svn://svn.berlios.de/openocd/trunk@204 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/embeddedice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/embeddedice.c') diff --git a/src/target/embeddedice.c b/src/target/embeddedice.c index 4d76bcaf..11f2e6c2 100644 --- a/src/target/embeddedice.c +++ b/src/target/embeddedice.c @@ -506,7 +506,7 @@ int embeddedice_handshake(arm_jtag_t *jtag_info, int hsbit, u32 timeout) if (hsbit == EICE_COMM_CTRL_WBIT) hsact = 1; - else if (hsbit != EICE_COMM_CTRL_RBIT) + else if (hsbit == EICE_COMM_CTRL_RBIT) hsact = 0; else return ERROR_INVALID_ARGUMENTS; -- cgit v1.2.3